snmptt.conf question

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

snmptt.conf question

Post by jbennett »

I noticed that I have a number of duplicate, and even triplicate, trap entries in my snmptt.conf file.

An example:

Starting at line 1077:

Code: Select all

#
EVENT ushaUpsFailed .1.3.6.1.4.1.2468.1.2.1.2.0.6 "Status Events" Critical
FORMAT SEVERE: The ups is not working fine. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "SEVERE: The ups is not working fine. $*"
SDESC
SEVERE: The ups is not working fine.
Variables:
EDESC
#
Then agian at line 2274:

Code: Select all

#
EVENT ushaUpsFailed .1.3.6.1.4.1.2468.1.2.1.2.0.6 "Status Events" Critical
FORMAT SEVERE: The ups is not working fine. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "SEVERE: The ups is not working fine. $*"
SDESC
SEVERE: The ups is not working fine.
Variables:
EDESC
#
Is this the result of importing the same MIB multiple times? Am I safe to remove the duplicates?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: snmptt.conf question

Post by scottwilkerson »

Yes. and Yes, as long as they are exact.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: snmptt.conf question

Post by jbennett »

Thank you!
Locked