Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How man make snmptrapd print more detailed message info, like msgID, msgAuthoritativeEngineBoots etc. ?

2 views
Skip to first unread message

Andy

unread,
Dec 9, 2009, 7:53:57 AM12/9/09
to
Hi, dear list,

How can I let snmptrapd print more detailed message info than
snmptrapd default print, do I have to write a script by myself to
interpret the message? If so, what should I pass into the script ?

Currently, I run:
snmptrapd -c ./snmptrapd.conf -f -Le -Dusm -Dvacm -Dparse-mibs

snmptrapd.conf :

createUser -e aabbccddee68 v3-68 MD5 v3-68-auth
authUser log,execute,net v3-68

It only print PDU info by default, I want to know the detailed message
head info, what should I do ?


Thanks in advance.

-Andy

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Mike Ayers

unread,
Dec 9, 2009, 3:56:47 PM12/9/09
to
> From: Andy [mailto:hewan...@gmail.com]
> Sent: Wednesday, December 09, 2009 4:54 AM

> How can I let snmptrapd print more detailed message info than
> snmptrapd default print, do I have to write a script by myself to
> interpret the message? If so, what should I pass into the script ?

From the snmptrapd.conf manual page, use:

format [format string]

The formats are explained in the snmptrapd manual page.


HTH,

Mike

0 new messages