This is relevant to Dave's question about the path in the dlmod statement.
try running snmpd -fLo
that will write errors to stdout. see if there is a complaint w.r.t. loading the
module.
something like this
dlopen failed: /dir/AODV.so: cannot open shared object file: No such file or
directory
or some other complaint.
--john
On Thu, 09 Sep 2004 12:35:55 +0100
Dave Shield <[EMAIL PROTECTED]> wrote:
>
> > "gcc -g -fPIC -shared -o AODV.so AODV.o"
> > "vi /etc/snmp/snmpd.conf"
> > "dlmod AODV /dir/AODV.so"
>
>
> I presume this line refers to the correct directory
> for the AODV.so file?
>
> >
> > restart snmpd
> > But
> > snmpget -v 2c -c public 192.168.200.109 1.3.6.1.4.1.2345.1.2
> > AODV-MIB::RREQ = No Such Object available on this agent at this OID
>
> What does the initialisation routine from AODV.c look like?
> (i.e. the routine "init_AODV") Unfortunately you didn't
> include that code in your posting.
>
> What do you see when you walk the dlmodTable ?
>
> Dave
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> Net-snmp-coders mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders