MRTG system reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

MRTG system reporting

Post 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?
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: MRTG system reporting

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
sathevaner
Posts: 62
Joined: Wed Nov 29, 2017 11:00 am

Re: MRTG system reporting

Post by sathevaner »

This thread may now be locked. The problem is now gone.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MRTG system reporting

Post by scottwilkerson »

sathevaner wrote:This thread may now be locked. The problem is now gone.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked