Go to All Forums

Retrieve monitoring details from Clients side

Hello,

Is it possible to retrieve the monitor id from using the agent id on client?

If not, am I able to retrieve the Monitor ID client side?

Like (1) Reply
Replies (3)

You can get monitor id from the url while visiting monitor details page.

https://www.site24x7.com/app/client#/home/monitors/<monitor_id>/Summary

 

Using the following api, you can get all configuration information of all the monitors in your account

https://www.site24x7.com/help/api/#list-monitor

 

Like (0) Reply

So just to clarify, at the present moment I am unable to receive the monitor_id from the client agent_key.

 

My end goal is to potentially create a script that will use the API to mark a monitor as maintenance when it restarts.

Like (0) Reply

No, you can not get monitor_id using device key, which is meant for registering Site24x7 server agents. 

You can get the monitor id of the particular server by passing its FQDN to this api. If you have modified its display name, pass the new name.

https://www.site24x7.com/help/api/#retrieve-monitor-by-name

 

 

Like (0) Reply

Was this post helpful?