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
SNMPTT
Re: SNMPTT
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.
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMPTT
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
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
The main difference is this for the embedded version.
http://snmptt.sourceforge.net/docs/snmptt.shtml
You can look at this site for more details.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)
http://snmptt.sourceforge.net/docs/snmptt.shtml
Be sure to check out our Knowledgebase for helpful articles and solutions!