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:
Quote
    -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 the On-Premise Poller handles data during an internet outage

      When the On-Premise Poller loses internet connectivity, it continues to monitor your infrastructure and holds the collected data locally until the connection is restored. This article explains how the On-Premise Poller stores data during an outage, ...
    • How many API calls does Site24x7 GCP monitor make

      Site24x7 Google Cloud monitoring (GCP) fetches the health and performance metrics and your Google Cloud resources' data via APIs. Here is an illustrative calculation on how many API calls will be made by Site24x7 for monitoring your Google Cloud ...
    • How to download the saved search data using the 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 ...
    • Costing for API Calls in Oracle Cloud Monitoring (OCI)

      When integrating Site24x7 with Oracle Cloud Infrastructure (OCI), metric data is retrieved using the SummarizeMetricsData API. This API is part of OCI monitoring and is used to fetch time series metric data for resources. Understanding how OCI ...