Projects / SNMP Trap Translator

SNMP Trap Translator

SNMPTT is an SNMP trap handler written in Perl for use with the NET-SNMP/UCD-SNMP snmptrapd program. Received traps are translated into friendly messages using variable substitution. Output can be to STDOUT, text log file, syslog, NT Event Log, MySQL (Linux/Windows), PostgreSQL, or an ODBC database. User defined programs can also be executed.

Operating Systems

Recent releases

  •  16 Jun 2007 19:40

    Release Notes: Various database improvements have been added such as support for proper date/time data types, statistics logging, and custom columns. The formatting for unknown_trap_exec can now be changed. Support has been added to MATCH for bitwise AND. A new log file has been added for logging system messages to a text file for users without access to syslog. Various bugs have been fixed, including support for Net-SNMP 5.4 traphandle, a daemon mode PID file, REGEX captures, MATCH modifiers, and others.

    •  18 Jan 2006 06:08

      Release Notes: A PREEXEC snmptt.conf file option was added to allow an external program to be run before processing the FORMAT and EXEC lines. The NODES statement now allows for both positive and negative matches and the MATCH statement will now accept any variable name instead of only enterprise variables. A default EXEC command can be set for unknown traps and various bugs were fixed.

      •  01 Sep 2004 15:27

        Release Notes: Various improvments were added for SQL database connections, including database auto-reconnect and logging of unknown traps. New variable substitutions were added for the trap description and formatting, such as newline and form feed. Statistical info on the number of traps received or processed is now logged. Various bugs were fixed, including issues with symbolic traps, MIB conversion, and FORMAT/EXEC line parsing.

        •  03 Nov 2003 21:19

          Release Notes: The process name for syslog output has been changed to 'snmptt[PID]' for traps and 'snmptt-sys[PID]' for system messages. The UID used by snmptt can now be changed after startup, and some bugs have been fixed.

          •  17 Sep 2003 02:41

            Release Notes: New features have been added such as the MATCH keyword to match events based on enterprise variables, the REGEX keyword now supports captures and the i, g, and e modifiers for complex regular expressions, improved PostgreSQL support, DNS lookups, and remote MySQL and PostgreSQL support. Some variable substitutions have been added or changed, and Nagios/ Netsaint integration documentation has been added along with various bugfixes.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.