Hi,

 

 

Please provide inputs to resolve this 

 

I'm able to capture snmp trap using snmptrapd at the console with proper
payload (varbind). But now my requirement is to pass this varbind at the
traphandle directive in snmptrapd.conf file.

e.g. traphandle <oid> c:\handle.bat 

Here, how to pass variable list binding as arguments to traphandle
directive? As from the batch file (handle.bat) I'm interested in
printing the varbind (payload) or passing it to other applications.

I'm issuing following snmptrapd command.

 

Prompt>snmptrapd -f -Le -F "%02.2h:%02.2j:%02.2k %A %v \n" -Lf
TrapLog.txt

 

 

Regards,

Sri.

 

************************************************************************
************************************************************************
************************************************************************
*****

This e-mail, and any attachments thereto, are intended only for use by
the addressee(s) named herein and may contain privileged and/or
confidential information. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is illegal and
strictly prohibited. If you have received this e-mail in error, please
immediately notify me by telephone and permanently delete the original
and any copy of any e-mail and any printout thereof.

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to