Page 1 of 1

need help removing old / hidden commands

Posted: Thu Oct 31, 2013 4:08 am
by stebbo
Hi All,

I've just discovered that my nagios machine root account is receiving emails from the CRON service every 5 minutes about snmp failures for an old machine which hasn't been around for ages and I can't find in the configuration anywhere.

The mail message, addressed to root, is from Cron <root@nagios>. It states there has been an SNMP error in /usr/bin/mrtg /etc/mrtg/mrtg.cfg <etc> and talks about an ip address x.x.x.44 which no longer exists, and hasn't for a while. (these error messages have been coming for a while too).

How do I find where these are in the configuration and remove them?

Thanks in advance.

Cheers,
Chris.

Re: need help removing old / hidden commands

Posted: Thu Oct 31, 2013 9:47 am
by slansing
You will want to follow this guide to remove your old configurations in mrtg:

http://assets.nagios.com/downloads/nagi ... Router.pdf

Re: need help removing old / hidden commands

Posted: Sat Nov 02, 2013 5:43 pm
by stebbo
Thanks slansing,

removing the offending lines has worked a treat.

Cheers,
Crhis.