Page 1 of 1
Quick Report question
Posted: Thu Aug 18, 2016 11:14 am
by JohnFLi
Is it possible, and if so how, to create a report that lists all the machines and how long it has been since they have been restarted. Basicly a report of all the UPTIME checks.
Re: Quick Report question
Posted: Thu Aug 18, 2016 4:06 pm
by ssax
Not currently, I've created a feature request for you here:
Code: Select all
NEW TASK ID 9347 created - Nagios XI Feature Request: Add a report to show all hosts with current uptime (uptime checks)
The only method to view them now would be to go to the services page and search for the word "uptime".
Re: Quick Report question
Posted: Thu Aug 18, 2016 4:11 pm
by lmiltchev
Currently this type of report doesn't exist in XI. You are welcome to post a feature request on our public tracker here:
http://tracker.nagios.com/.
Probably you can create a "custom" report by using check_multi:
https://exchange.nagios.org/directory/P ... ti/details
Here's what I tried:
1. I installed check_multi
2. Created a config named check_multi_config with 3 checks, following this format: <command[tag]=plugin command line>
3. Created a new command in Nagios XI called "check_multi"
Code: Select all
define command {
command_name check_multi
command_line $USER1$/check_multi -f $USER1$/check_multi_config
}
4. Created a new service called "Uptime Multi"
Code: Select all
define service {
host_name localhost
service_description Uptime Multi
use xiwizard_generic_service
check_command check_multi!!!!!!!!
...
register 1
}
5. Click on the "Uptime Multi" service under the web UI, and schedule the page by clicking "Schedule Page" icon in the upper right corner (available in Nagios XI Enterprise Edition).
6. The report (PDF) will look something like this:
example01.PNG
Re: Quick Report question
Posted: Fri Aug 19, 2016 1:34 pm
by JohnFLi
I will give that a try on Monday.....
Re: Quick Report question
Posted: Fri Aug 19, 2016 1:42 pm
by tmcdonald
We'll keep this open for you.
Re: Quick Report question
Posted: Mon Aug 22, 2016 4:46 pm
by JohnFLi
I'm getting way to many errors on the multi check....... missing files etc.... I will figure somethign else out.
feel free to close this ticket.
Re: Quick Report question
Posted: Tue Aug 23, 2016 9:17 am
by bwallace
Thanks for that update. I'll go ahead and close this one out now, but feel free to open a new thread for any other issues.