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
Nagios XI export Host and Service checks
-
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
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
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-
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
No problemAstergiou wrote:thank you
Locking thread