Trap description
Nicholas Satterly <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CALNW-xT-SOzWa=VUMJY3p_HgBghTfQwiUV99KHY_7ss1VAFP4w@mail.gmail.com> |
Hi I'm using snmptrapd to call a trap handler and assumed that defining an execute format with "%W" in it would give me the trap description because that is how the man page describes it [1]. However, it seems this only gives me "Enterprise Specific" which is not very useful. Can snmptrapd be configured to supply the description for a trap that is contained in the MIB to a trap handler? If not, can anyone suggest other ways that this description could be obtained when a trap is received? One possibility would be to execute "snmptranslate -Td" for every trap received but this might not scale for systems receiving 100's or 1000's of traps a second. Any help would be appreciated. Thanks, Nick [1] /etc/snmp/snmptrapd.conf authCommunity log,execute,net public format execute $a %a\n$A %A\n$b %b\n$B %B\n$x %#y-%#02m-%#02l\n$X %#02.2h:%#02.2j:%#02.2k\n$N %N\n$q %q\n$P %P\n$t %t\n$T %T\n$w %w\n$W %W\n%V~\%~%v\n traphandle default /tmp/traphandler.sh ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users