This is a discussion on Extending the agent within the SNMP Coders forums, part of the Networking and Network Related category; ------=_Part_39187_22249622.1131360379160 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
------=_Part_39187_22249622.1131360379160
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I have defined a new enterprise mib. I used mib2c tool to generate some c code files. I have used the new net-snmp style option. How can I hook the new code to the tree? I mean I don't see code generated that will allow the agent to call the functions when the request will be made. For example I see that for hooking the system group, the REGISTER_MIB macro with system_variables was used. Here I don't see any structures hooking the OIDs to the functions. ------=_Part_39187_22249622.1131360379160 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>Hello,</div> <div> </div> <div>I have defined a new enterprise mib.</div> <div>I used mib2c tool to generate some c code files.</div> <div>I have used the new net-snmp style option.</div> <div> </div> <div>How can I hook the new code to the tree? I mean I don't see code gener= ated that will allow the agent to call the functions when the request will = be made. For example I see that for hooking the system group, the REGISTER_= MIB macro with system_variables was used. Here I don't see any structures h= ooking the OIDs to the functions.=20 </div> <div> </div> <div> </div> ------=_Part_39187_22249622.1131360379160-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |