snmptrapd -F options

Queenie de Melo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I was tring to get the traps in the a particualar format like
TIME, AgentIP, TRAP-STRING
I use the -F option and in quotes "" i specify the option as shown in the
man pages
 for Time ----- the %h:%j:%k option
 for AgentIP --- the %B option
 for TRAP-STRING what option should i use. If i use %v, i get the full
line.... ie as below

 iso.3.6.1.4.1.7777.1.2.3.1.0 = STRING: "Hello World"
iso.3.6.1.4.1.7777.1.2.1.4.0 = INTEGER: 5

I want only the STRING: "Hello World" to be displayed. What option can I
use.

Please help

------------------------------------------------------------------------------

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.