Just to be clear, the only way to programmatically extract the same results as the XI availability report is to use the curl and chrome developer approach to identify the exact parameters?
Thanks.
Obtaining Availability Report Data Via API
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Obtaining Availability Report Data Via API
@awilson, From the API reports you can get the availability data for a host, service, hostgroup or a servicegroup and in the output you'll see total_time_down and time_down_scheduled. If you deduct total_time_down - time_down_scheduled you'll get the availability time without scheduled downtime.
That's the only way I could think of.
That's the only way I could think of.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Obtaining Availability Report Data Via API
Thank you. Do you know which release added the hostavailability and serviceavailability endpoints?
Thanks!
Thanks!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Obtaining Availability Report Data Via API
@awilson, We added these API endpoints in XI 5.5.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Obtaining Availability Report Data Via API
Thanks. You can close this. I appreciate the help.