Hey,

Can you show the contents of your snmptt.conf file?


>From my experience I have found that anything the snmptt can't understand
(eg doesn't have a definition for it will log as unknown).
For that reason I have a catch all in my config as the very bottom of that
config file. (see below)

Example of a catchall in mine


EVENT CatchAll .1.* "snmptt catchall" Critical
FORMAT $D
EXEC /usr/lib64/nagios/plugins/eventhandlers/submit_check_result "$r"
"TRAP" 2 "$O: $1 $2 $3 $4 $5"
SDESC
This is the catch all snmptt MIB definition.  This means that this trap
does not have a MIB definition in snmptt.conf on the server.
EDESC


Aly

On Mon, Jan 26, 2015 at 2:57 PM, Brian Kejser <br...@kaiserdigital.com>
wrote:

>  Hi
>
>
>
> I’ve done the following.
>
>
>
> -          Ubuntu Server 14.04.1
>
> -          Installed snmp, snmpd and snmp-mibs-downloader
>
> -          Downloaded and unpacked Dell MIBS to the folder
> /usr/share/snmp/mibs
>
> -          Deleted the file /usr/share/mibs/ietf/IPSEC-SPD-MIB
>
> -          Deleted the file /usr/share/mibs/ietf/IPATM-IPMC-MIB
>
> -          Deleted the file
> /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
>
> -          Deleted the file /usr/share/mibs/ietf/SNMPv2-PDU
>
>
>
> Edited the file /etc/default/snmp.conf
>
>
>
> mibs +ALL
>
>
>
> Edited the file /etc/default/snmpd
>
>
>
> TRAPDRUN=yes
>
>
>
> Edited the file /etc/snmp/snmptrapd.conf
>
>
>
> authCommunity log,execute,net public
>
> traphandle default /usr/sbin/snmptt
>
> ignoreauthfailure 1
>
> disableAuthorization yes
>
>
>
> Edited the file /etc/snmp/snmptt.ini
>
>
>
> date_time_format = %H:%M:%S %Y/%m/%d
>
> log_system_enable = 1
>
> unknown_trap_log_enable = 1
>
>
>
> *When a trap is received, it ends up in the unknown trap log file. I am
> able to use snmptranslate to translate the MIBs in the unknown trap log
> file. Why are all SNMP traps being treated as unknown when snmptranslate
> can translate them?*
>
>
>
> Thanks
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to