On Wed, 2006-01-18 at 12:02 +0000, Dave Shield wrote:
> DP> I'm sorry to bother you on this, but after I cleanup my snmpd.conf,
> DP> .... snmpd stops responding at all.
> 
> CP> I can confirm this behavior. The snmpd crashes without comment
> CP> after the snmpset with this oid.

Right - I've had a look at this problem, and I've got some bad news
and some good news.

The bad news is that it appears I never implemented SET support for
the nsExtendStorage object, so the command I suggested would fail.
Try:

     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

instead.
This should set up a "volatile" entry (which will disappear
when the agent restarts, which is the other bad news).


But the good news (for me at least) is that the agent seems to
works properly.  Either the SET request is rejected, or the
extension row is created, as expected.
   In neither case does the agent crash.

If you're still having problems, then we'll need to do a
bit more investigation to pinpoint the problem.  Which
version of the code are you using, what does your snmpd.conf
setup look like, and what is the exact command(s) you are
trying?
  Oh, and what O/S - just in case that makes a difference
(though I can't see why it would).

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

Reply via email to