On Wed, 2006-01-18 at 09:54 +0200, David Peer wrote: > But when I run the set command I get: > Error in packet. > Reason: notWritable (That object does not support modification) > Failed object: NET-SNMP-EXTEND-MIB::nsExtendArgs."PS"
Ah - yes, of course. I'd forgotten exactly how I'd implemented these tables. If they're set up via the config table, then they're marked as "permanent", and cannot be changed. If they're set up via SNMP itself, then they're marked as "volatile" and can. Try starting with an empty snmpd.conf file (at least as far as "extend"/"exec" is concerned), and run the following: snmpset ... hostname .1.3.6.1.4.1.8072.1.3.2.2.1.2.2.80.83 s "/bin/ps" .1.3.6.1.4.1.8072.1.3.2.2.1.21.2.80.83 i 4 .1.3.6.1.4.1.8072.1.3.2.2.1.22.2.80.83 i 3 That will create the same entry dymanically, and you should then be able to manipulate it as suggested yesterday. We really need to redesign the config mechanism to support a distinction between fixed entries, and ones that can be changed. But that's not going to be a quick fix, so don't hold your breath :-) Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users