system uptime report
system uptime report
is it possible to get a simple list of hosts and the system uptime of that host?
Everybody is somebody else’s weirdo
Re: system uptime report
From the XI gui, this can be viewed in the "Host Detail" page under the "Details" section of the left-hand menu. You could also look under the "Reports" section from the top menu followed by "Availability" from the left-hand menu for some pretty graphs!
If you were wanting to get the uptime for each host programatically, this json query is helpful (where xxx.xxx.xxx.xxx is your Nagios XI installation):
http://xxx.xxx.xxx.xxx/nagios/cgi-bin/s ... tails=true
With this JSON object, the uptime (in miliseconds) can be calculated with (last_time_up - last_time_down) for a given host.
If you were wanting to get the uptime for each host programatically, this json query is helpful (where xxx.xxx.xxx.xxx is your Nagios XI installation):
http://xxx.xxx.xxx.xxx/nagios/cgi-bin/s ... tails=true
With this JSON object, the uptime (in miliseconds) can be calculated with (last_time_up - last_time_down) for a given host.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: system uptime report
reports/availability doesnt have anything about 'uptime'
The second option does dump out a lot of information might need to see how much effort it will take to make it useable.
thank you for your ideas
The second option does dump out a lot of information might need to see how much effort it will take to make it useable.
thank you for your ideas
Everybody is somebody else’s weirdo
Re: system uptime report
I figured how to do it.
From the XI home page, I clicked on 'Service detail' then in the search box, i entered "Uptime"
Then I used the mouse to select the entire table, and pasted it into Excel.
worked great for what I was wanting.
From the XI home page, I clicked on 'Service detail' then in the search box, i entered "Uptime"
Then I used the mouse to select the entire table, and pasted it into Excel.
worked great for what I was wanting.
Everybody is somebody else’s weirdo
Re: system uptime report
Glad you were able to find a solution! Is it alright if I lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/