API to recreate an outage

API to recreate an outage

In cases where an outage is not reported or it has been accidentally deleted, you can recreate it using the following API:
    -X PUT \
    -H "Content-Type: application/json;charset=UTF-8" \
    -H "Accept: application/json; version=2.0" \
    -H "Authorization: Zoho-authtoken <authtoken>" \
    -d '{
          "start_time": "2017-10-04T14:48:36+0530",
          "end_time": "2017-03-24T14:55:47+0530",
          "reason": "Unable to connect to http://mpeproc.gov.in.%26quot%3B/
        }'
Note:
  • To generate the <authtoken>, log in to Site24x7 and go to Admin > Developer > API > access the URL given.
  • Copy the <monitor_ID> from the Site24x7 web client page URL. Eg: https://www.site24x7.com/app/demo#/server/SERVER/15698000078729003/Device
  • Ensure the time entered is in the ISO format.


    • Related Articles

    • API exceeded error

      Why do I get an API exceeded error after a few attempts? Every API has a certain limit to the number of requests a user can hit within a period of time, called the rate limit. An error message is triggered when a user does one of the following ...
    • How to download the saved search data using API

      Use the below API to download saved search data in CSV or JSON format: https://www.site24x7.com/api/applog/saved_searches/download/<search_id>/<from_date>/<to_date>?data_format=json&range=1-100&order=desc The following are the field values passed to ...
    • How do I generate the Meraki REST API key?

      To discover and monitor Meraki organizations and devices in Site24x7, obtain an API key by following the steps below: Open your Cisco Meraki dashboard. Once logged in, navigate to Organizations > Settings. Ensure the option Enable access to the Cisco ...
    • Site24x7's intelligent polling logic during Monitor outage

      For Internet service monitors, all paid plans, excluding the Enterprise plans allows you to monitor your websites from 8 test locations (1 primary and 7 secondary locations). For Enterprise plans, monitoring can be performed from up to 16 locations. ...
    • Troubleshooting instructions for Windows server monitor being reported down after Windows BSOD (CrowdStrike)

      Issue The server monitor is down on the devices affected by the recent Windows-CrowdStrike BSOD issue. Cause After the BSOD, the affected devices are unable to start the Site24x7 Windows Agent service. When the customer tries to start the agent, it ...