Quick Report question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Quick Report question

Post 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.
Everybody is somebody else’s weirdo
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Quick Report question

Post 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".
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Quick Report question

Post 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
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Quick Report question

Post by JohnFLi »

I will give that a try on Monday.....
Everybody is somebody else’s weirdo
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Quick Report question

Post by tmcdonald »

We'll keep this open for you.
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Quick Report question

Post 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.
Everybody is somebody else’s weirdo
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Quick Report question

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked