Re: About how to get the value type in traphandle

Kaiwang Chen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKSQQ5Pyf5nsmXaZzrB8=RSKAqwLqefqipaA-FOGLX3_HcD+Zw@mail.gmail.com>
It's outputOption, maybe.  By default the value is type-prefixed, for
example, INTEGER: 123. See also OUTPUT OPTIONS from snmpcmd(1). To get a
full list of supported options, try snmptrapd -H.

Thanks,
Kc

在 2011年10月13日星期四,Lv, Mike (NSN - CN/Cheng Du) <[email protected]> 写道:
> Hi,
>
> I am writing here for consult a problem.
>
> When I use traphandle to  do something in snmptrapd, I found that, in the
output of snmptrapd to the specific script, each varbinding  has only  OID
and value, no value type.
>
> How could I get the value type? Does it support in the traphandle feature?
>
> Thanks.
>
> BR.
>
> Mike

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct

_______________________________________________
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.