On 1 July 2011 17:07, George <ai...@yahoo.com> wrote:
> Here are the results:

Hmmm.. I'm really not convinced by these results.

Breaking down an example log entry gives

> Jul  1 12:03:41 freebsd snmptrapd[7647]:
>     <UNKNOWN> [UDP: [10.1.1.228]:35113->[0.0.0.0]]:
>     Trap , DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (180095462) ...,
>         SNMPv2-MIB::snmpTrapOID.0 = OID: UCD-DEMO-MIB::ucdDemoPublic,
>         SNMPv2-MIB::sysLocation.0 = STRING: yahoo

which shows a single "name [address]" pair
  (albeit with a somewhat complex "address" string!)


However the format string that you claim to be using

> format2  '%B [%b]:  %A [%a]:  Trap %#v\n'

should have *TWO*  such pairs.

I strongly suspect that the snmptrapd that you are running is
not using this particular config file.

Try copying the same config file to /etc/snmp/snmptrapd.conf
and restart the snmptrapd process.

Dave

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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