I have net-snmp 5.3 on Linux and I've been able to use the "exec" and
"extend" config statements with great success.
"pass" on the other hand is driving me crazy... I can't get snmpwalk to walk
the OID I specify at all...
But, back to "extend"... I'd like to have an OID that I may both query and
set, and when I look at NET-SNMP-EXTEND-MIB it appears I can have a
"run-on-set" (2) value for nsExtendRunType...
How do I configure an extend config statement to support both snmpget and
snmpset?
Or, the man page says "extend" items can be added dynamically.... that would
be great... I can have a system start up script dynamically add the
run-on-get and the run-on-set scripts. (Actually the same script, args would
determine action taken)
When the script is run due to run-on-set, is the new value simply passed as
the args or is it more structured than that? Similar to "pass" which passes
-s OID TYPE VALUE
Thanks
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders