Page 1 of 1

Stop certain traps from alerting?

Posted: Wed Sep 12, 2012 9:29 am
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)?

Re: Stop certain traps from alerting?

Posted: Wed Sep 12, 2012 9:41 am
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.

Re: Stop certain traps from alerting?

Posted: Wed Sep 12, 2012 9:45 am
by jbennett
Many thanks