SNMPTT

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

SNMPTT

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMPTT

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: SNMPTT

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMPTT

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked