Re: pass to type of the OID values ?

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> On Fri, 2006-01-20 at 11:19 +0100, ange terrien wrote:
>>Is there a way to pass to type of the OID values in
>>the traphandle directive so I do not have to parse the
>>MIB file to get it ?
> 
> Unfortunately not.
> The format of varbinds passed to trap handlers has been
> consistent for several years, and changing it now would
> break numerous existing trap handlers.
> 
> But it's certainly an idea for future development of
> the trap handler application.

It may be worth adding that using *embedded perl* to handle 
notifications will already give you access to this type of information 
today, provided you've built with "--enable-embedded-perl". See the 
NetSNMP::TrapReceiver(3pm) manual page for details.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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.