how to write a handler reacting on requests under the registered mib?
Torben Surmer <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi to all,
I have generated some example code with mib2c -c mib2c.create-dataset.conf NET-SNMP-EXAMPLES-MIB::netSnmpIETFWGTable
After compiling a subagent with the code generated by mib2c I assumed that the handler-function would be called when I run a snmpget on a MIB under the registerd OID {1,3,6,1,4,1,8072,2,2,1}, thus something like %snmpget localhost .1.3.6.1.4.1.8072.2.2.1.4711 ... I was mistaken, but to my surprise the handler IS called when I do %snmpget localhost .1.3.6.1.4.1.8072.2.2.1.1.3.1 !
Mysterious. Do anybody know why?
Thanx
Torben
_________________________________________________________________
Make every IM count. Download Windows Live Messenger and join the i’m Initiative now. It’s free.
http://im.live.com/messenger/im/home/?source=TAGWL_June07
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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