> Is the order of the calls that I am making in the init routine are correct?
> Am I making necessary and sufficient calls to initialize the subagent?
I haven't looked into this very deeply, but it doesn't look right.
The 'init_agent' call invokes 'init_subagent',
so having this the other way round feels unlikely.
Checking the main agent code, a more natural initialisation
approach would be simply:
> netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID,
> NETSNMP_DS_AGENT_ROLE, 1);
> init_agent("SnmpSubagt");
> init_snmp("SnmpSubagt");
That should also take care of registering the 'agentXPingInterval'
directive as well.
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=4721&alloc_id=10040&op=click
_______________________________________________
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