Page 1 of 1

SNMPTT

Posted: Thu Jun 09, 2016 3:04 am
by peter19x
Hello,

In our nagios/snmptt deployment we have SNMPTT v1.4 running. The snmptrapd.conf files contains two statements:

1)traphandle default /usr/sbin/snmptthandler

2)perl do "/usr/sbin/snmptthandler-embedded"

Question 1: are these two statements redundant ? (i.e. will the received trap be processed twice by SNMPTT ?)

Question 2: if they are redundant, what is the recommended configuration (if any) in snmptrapd.conf for SNMPTT v1.4 ? (snmptthandler or snmptthandler-embedded)

Best Regards,
Peter

Re: SNMPTT

Posted: Thu Jun 09, 2016 12:42 pm
by tgriep
Yes, it looks like those statement are redundant and could cause 2 traps to be processed for one received.

When an XI server is setup to receive traps, these are the settings that are added to the snmptrapd.conf file. You can change yours to match.

Code: Select all

disableAuthorization yes
traphandle default /usr/sbin/snmptthandler

Re: SNMPTT

Posted: Fri Jun 17, 2016 9:04 am
by peter19x
Hello,

Many thanks for the response..

One more question, what the difference is between the two statements and which would be preferred?

Best Regards,
Peter

Re: SNMPTT

Posted: Fri Jun 17, 2016 11:02 am
by tgriep
The main difference is this for the embedded version.
The handler is loaded and initialized when snmptrapd is started, so there is less overhead as a new process does not need to be created and initialization is done only once (loading of snmptt.ini).
SNMPv3 EngineID and names variables are available in snmptt (B* variables)
You can look at this site for more details.
http://snmptt.sourceforge.net/docs/snmptt.shtml