Steps to partially update monitor settings in bulk using API
Monitor details like notification profiles, threshold and availability can be changed/updated in bulk using API without affecting the existing configuration settings.
Use Case:
A user wants to change only the notification profile of a monitor without affecting other configurations. The steps listed below need to be followed:
- Get the monitor details using GET /monitors/{monitor_id} api
- Replace the notification_profile_id in the data received from GET API and do PUT /monitors/{monitor_id} api call
For bulk action, please use the following API commands:
PUT /monitors/bulk_action {
"monitors”:[“ReplaceMonitorIDHere”],
”bulk_action_type":2,
"notification_profile_id”:”ReplaceNotificationProfileIDHere”
}
Note: Multiple monitor ids can be passed separated by a comma in the “monitors” array attribute.
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 ...
Monitor types that can be cloned using Site24x7 Clone option
To create an exact copy of your existing monitor with the same configuration settings, you've to access the "Clone" functionality in the client. Most of the internet-facing services that Site24x7 supports can be cloned. Please find below the list of ...
What are the major differences between Monitor Groups and Tags
Monitor Groups A Monitor Group helps in logically grouping resources, and provides a business perspective of the resources. It can be used for: Filtering monitors in the Home tab - Monitor Status Page. Filtering monitors in Configuration Rules and ...
Monitor and validate DNS IP changes using regex
DNS administrators often monitor their DNS servers to detect changes in domain resolution and ensure IP mappings remain secure and accurate. Problem When your organization adds or modifies an IP address for your domain name, it’s critical to: Be ...
Amendments to Site24x7 Monitor Names
We've recently renamed a few of our Monitors to help keep in sync with the current IT and DevOps trends. The new monitor names are designed to correctly resonate with the IT & DevOps crowd. We've made necessary changes in the Web client, Help ...