Nagios XI export Host and Service checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Astergiou
Posts: 15
Joined: Tue Apr 30, 2019 1:34 pm

Nagios XI export Host and Service checks

Post by Astergiou »

Hello

is there a way to export all host and service checks in an excel?
I need sysadmin team to check for missing service checks

thnak you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI export Host and Service checks

Post by scottwilkerson »

We don't have an excell way of doing it, you can either get the JSON from the API

Or you can get it via a mysql command like the following

Code: Select all

echo "select name1 as host, name2 as service from nagios_objects where is_active=1 and objecttype_id IN (1,2) ORDER BY host,service;"|mysql -pnagiosxi nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Astergiou
Posts: 15
Joined: Tue Apr 30, 2019 1:34 pm

Re: Nagios XI export Host and Service checks

Post by Astergiou »

thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI export Host and Service checks

Post by scottwilkerson »

Astergiou wrote:thank you
No problem

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked