Go to All Forums

Obtaining Montior name based on status of the monitor using REST API 2.0

Hi All,

I am currently getting data regarding all monitors from Site 24X7 into SPLUNK using Site24X7 exposed REST API .But I would like to get all the monitors based on the status .In particular I am interested in 


status down(i.e., status constant 0)

status up(i.e., status constant 1)

status trouble(i.e., status constant 2)


like I am exactly look for an API end point which can pull me only  monitors that are up, down and trouble. I could not find the this in API 2.0 documentation. Please advise me how I can achieve this? Thanks



Like (1) Reply
Replies (2)

Re: Obtaining Montior name based on status of the monitor using REST API 2.0

Hi Santhosh,

You can use the current status api for your requirement. 


Thanks,
Yamini
Like (0) Reply

Re: Obtaining Montior name based on status of the monitor using REST API 2.0

Hi Santosh,

 

I'd like to do the same and get Site24x7 data into Splunk. Is there any way you could share with me some of the work you've already accomplished?

That would be of great help and truly appreciated!

 

Thank you,

 

 

Romain

Like (0) Reply

Was this post helpful?