Hi
I'm in the process of bulk uploaded a few thousand new clients into our NagiosXI servers.
I'm expecteding some of these to fail due to firewall rules etc. It's would be easier and quicker for me to upload all of these to Nagios, and then look at the ones that are not connecting.
Is there a way to export a list of working/or non working clients from NagiosXI? Or even a command I can run/file I can grep?
Thanks
Pete
Export list of working hosts
Re: Export list of working hosts
Sure, you can use the 'original' backend API or the REST API (as of Nagios XI 5) to obtain these details
https://support.nagios.com/kb/article.php?id=176
You can also refer to nagios.log:
/usr/local/nagios/var/nagios.log
The Nagios Core log, includes checks, notifications, external commands, and events. This file is rotated daily into the
/usr/local/nagios/var/archives folder (default setting in nagios.cfg) by rsyslog
https://assets.nagios.com/downloads/nag ... ptions.pdf
https://support.nagios.com/kb/article.php?id=176
You can also refer to nagios.log:
/usr/local/nagios/var/nagios.log
The Nagios Core log, includes checks, notifications, external commands, and events. This file is rotated daily into the
/usr/local/nagios/var/archives folder (default setting in nagios.cfg) by rsyslog
https://assets.nagios.com/downloads/nag ... ptions.pdf
Be sure to check out the Knowledgebase for helpful articles and solutions!