Page 1 of 1

Nagios Reporting

Posted: Fri Jan 23, 2015 3:35 pm
by emartine
Is there a way to generate a report based on the number of servers/services that have been added?

I'm looking to gather metrics for environment growth based on the items listed in Nagios Xi.

Re: Nagios Reporting

Posted: Fri Jan 23, 2015 7:55 pm
by Box293
The Nagiostats Wizard will generate services for you which will collect this data over time.

http://exchange.nagios.org/directory/Ad ... rd/details

Then you will be able to run reports against that performance data.

Re: Nagios Reporting

Posted: Mon Jan 26, 2015 2:19 pm
by abrist
You could also create an sql check.
Hosts:

Code: Select all

./check_mysql_query -H localhost -d nagios -u ndoutils -p "n@gweb" -q "select count(*) from nagios_hosts;"
Services:

Code: Select all

./check_mysql_query -H localhost -d nagios -u ndoutils -p "n@gweb" -q "select count(*) from nagios_services;"