Page 1 of 1
MRTG system reporting
Posted: Wed Aug 26, 2020 9:42 am
by sathevaner
With the mrtg Cron job on our Nagios server: any time we have scheduled downtime for services, or entire hosts, we get every single SNMPGET Problem reported to us via e-mail every 5 minutes. How do we turn off specific errors, like this one, altogether?
Re: MRTG system reporting
Posted: Wed Aug 26, 2020 4:14 pm
by jdunitz
Are you talking about receiving the cron job emails for the failures?
If so, this may help:
https://www.cyberciti.biz/faq/disable-t ... b-command/
like so:
Code: Select all
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios >/dev/null 2>&1
Hope that helps!
--Jeffrey
Re: MRTG system reporting
Posted: Thu Aug 27, 2020 4:40 pm
by sathevaner
This thread may now be locked. The problem is now gone.
Re: MRTG system reporting
Posted: Fri Aug 28, 2020 9:07 am
by scottwilkerson
sathevaner wrote:This thread may now be locked. The problem is now gone.
Great!
Locking thread