Davin wrote:
> I'd like to be able to have snmpd register itself under a different
> context when operating in AgentX subagent mode. I've scoured the
> documentation and Google for a few hours but haven't had much luck
> finding information on how to accomplish this.
>
> From what I know of AgentX, it would make *sense* for this option to
> exist somewhere, I just can't find it. Help? :)
apps/snmptrapd.c can run as an AgentX subagent and registers its *MIBs*
under the "snmptrapd" context like this:
register_snmpEngine_scalars_context("snmptrapd");
[...]
init_register_usmUser_context("snmptrapd");
[...]
init_register_nsVacm_context("snmptrapd");
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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