We wish to dynamically load a module using the dlmod option in
snmpd.conf.  We launch the agent with the following command from
/our/directoryStructure/for10012005dailyBuild/usr/bin :

/usr/sbin/snmpd -c
/our/directoryStructure/for10012005dailyBuild/etc/snmpd.conf -C

Our shared module resides in
/our/directoryStructure/for10012005dailyBuild/usr/bin/ourSnmp.so.

We try to do this with the following line in snmpd.conf:

Dlmod ourSnmp ../usr/bin/ourSnmp.so

But the module does not load.  We have also tried:

Dlmod ourSnmp ./ourSnmp.so

When we use the full path it does load:

Dlmod ourSnmp
/our/directoryStructure/for10012005dailyBuild/usr/bin/ourSnmp.so

Since the directory location changes everyday for each daily build we
really want to use the relative path, is this possible?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to