On 28 July 2011 06:03, Nisha P K <[email protected]> wrote:
> You can compile your mib implementation as a subagent and run it as a
> separate process. Check whether that works.
If you are having problems getting a MIB module to work correctly,
I wouldn't normally recommend pulling it out as a subagent.
That just introduces more complexity, and more things to go wrong.
> On 7/27/2011 6:26 PM, Juri Glaß wrote:
> I definitely use the compiled version.
>
> My compiled version is in /usr/local/sbin and "which snmpd" points to this
> location.
> To be absolutely sure I moved my default snmpd (which was in /usr/sbin).
It's possible that the standard snmpd is already running throughout your
testing (which wouldn't be affected by moving the /usr/sbin binary)
Try running your test agent on a non-standard port, and querying this
explicitly:
$ /usr/local/sbin/snmpd -f -Lo -D<mymodule> 99161
$ snmpgetnext .... localhost:99161 myTable
> Are there any configuration options available to explicitly load a module?
No.
As long as there is an entry 'init_mymodule' in the file mymodule.c,
then this should be invoked automatically.
What does the code of your module look like?
Dave
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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