Stop certain traps from alerting?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Stop certain traps from alerting?

Post by jbennett »

As I have posted about recently, I am working on SNMP traps from some UPSs that we have.

We have these UPSs self test every night. Currently, when the test completes, a trap notification is sent to Nagios, which in turn sends an alert email.

If I wanted to prevent any notifications about the testing completing successfully, can I just remove that section from the SNMPTT.conf file (or comment it out)?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Stop certain traps from alerting?

Post by lmiltchev »

It's safer to just comment it out. After you made the change, restart the snmptt service:

Code: Select all

service snmptt restart
and see if this is going to solve your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Stop certain traps from alerting?

Post by jbennett »

Many thanks
Locked