Page 1 of 1

Can't find a check in Nagios XI Interface

Posted: Fri May 03, 2019 2:43 pm
by vmesquita
We identified the Nagios XI Server making snmp checks to a server which has been deactivated:
firewall.png
172.27.5.37 is the Nagios Server and 172.27.16.122 is the server.

However, I can't find a host with this IP at Nagios XI interface. I have no idea where this service or host check is located. I also tried checking DNS entries for this IP but there are none.

How can I find it?

Re: Can't find a check in Nagios XI Interface

Posted: Fri May 03, 2019 2:52 pm
by ssax
You can try:

Code: Select all

grep -R '172.27.16.122' /usr/local/nagios/etc/*
grep -R 'somednsname' /usr/local/nagios/etc/*
More than likely though, you'll find the config here:

Code: Select all

/etc/mrtg/conf.d
The switch/router wizard uses MRTG (which use SNMP, please look there as well) and let us know the results.

Re: Can't find a check in Nagios XI Interface

Posted: Mon May 06, 2019 10:08 am
by vmesquita
I was able to find it here:
ssax wrote:

Code: Select all

/etc/mrtg/conf.d
Thanks!

As a suggestion, wouldn't be better if the file was removed when the check is removed? Maybe it could be an improvement for future versions.

Re: Can't find a check in Nagios XI Interface

Posted: Mon May 06, 2019 4:41 pm
by ssax
They initially did add it in there but they removed it (after about 2 weeks) because it had/caused issues.