Extending the agent

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


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-07-2005
Michael G
 
Posts: n/a
Default Extending the agent

------=_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>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div>&nbsp;</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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0