Page 1 of 1

SNMP Queries Deleted Object

Posted: Wed Sep 19, 2018 4:59 pm
by jameyw
I had a service check that was querying a router via SNMP. The route was in a non-critical role and was re-purposed so I deleted the configured services and host entries for it. This week, I put a new router in and used the same IP address the old router had. While logged into the CLI, I keep seeing message for Authentication Failure - Incorrect SNMP Community Name and it gives the IP address of my NagiosXI server. I searched all through the configs to make sure I had not missed anything related to it and I can't find anything with that IP address. Obviously, there is something somewhere but I'm not sure where to look now.

Thanks

Re: SNMP Queries Deleted Object

Posted: Thu Sep 20, 2018 1:10 pm
by scottwilkerson
It is possible that there is a mrtg file that still exists that could be polling the server.

run the following

Code: Select all

ls -al /etc/mrtg/conf.d/<IP>.cfg
If it exists, you can delete the file and it will stop polling

Code: Select all

rm -f /etc/mrtg/conf.d/<IP>.cfg

Re: SNMP Queries Deleted Object

Posted: Thu Sep 20, 2018 3:35 pm
by jameyw
That got it.

Thanks

Re: SNMP Queries Deleted Object

Posted: Thu Sep 20, 2018 3:39 pm
by scottwilkerson
jameyw wrote:That got it.

Thanks
May we lock the thread?

Re: SNMP Queries Deleted Object

Posted: Fri Sep 21, 2018 4:29 pm
by jameyw
yes