Poll on demand

To perform a monitoring check on demand, do the following actions:

  1. Open the object, where the monitoring process is set up in the End view.

  2. Go to the Monitoring section.

  3. Press the Poll now button.

After these actions, the Data will contain updated data.

REST API

You can perform monitoring check via the REST API with Perform Object’s Monitoring Check and Perform Link’s Monitoring Check requests.

This request requires object or link ID.

Request example via curl
login=<...>
password=<...>
saymon_hostname=<...>
link_id=<...>
url=https://$saymon_hostname/node/api/links/$link_id/monitoring/now

curl -X POST $url -u $login:$password \
    -H "Content-Type: application/json" \
    -d @- <<EOF
[
    {
        "name": "AgentId",
        "value": "66f14e6a55f73e02aa881125"
    },
    {
        "name": "TaskPeriodValue",
        "destroy": true
    },
    {
        "name": "TaskPeriodUnit",
        "value": "seconds"
    },
    {
        "name": "TaskType",
        "value": "ping"
    },
    {
        "name": "PingHost",
        "value": "example.com"
    },
    {
        "name": "PingPacketsCount",
        "value": "10"
    },
    {
        "name": "PingTimeout",
        "value": "50"
    },
    {
        "name": "PingSrcInterface",
        "destroy": true
    }
]
EOF