Nagios: SNMPTT debugging

SNMPTT with snmptrapd is a powerful tool to integrate traps within Nagios.

What you need to remember is, that snmptt is waiting for its configuration file (snmptt.ini) in /etc/ by default.

The normal procedure to use snmptrapd with snmptt is to use a traphandle within /etc/snmptrapd.conf:

disableAuthorization yes
traphandle default /usr/sbin/snmptt --ini=/etc/snmptt/snmptt.ini

If you have your snmptt.ini somewhere else than /etc/, use the format above.

snmptrapd will then forward all its messages to snmptt, which will do whatever you want with the traps.

Advertisements
This entry was posted in Linux, Nagios and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.