OK! I'll try the version 5.2.1 beginning of March, because I am out of
office next week. I'll let you know how it worked out.

Thanks a lot,
Thomas

-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 12:37 PM
To: Thomas Markus Stephan
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Problem calling a shellscript via the pass command

On Thu, 24 Feb 2005 15:21:14 -0300 Thomas wrote:
TMS> What surprises me that nearly the same script worked already with
net-snmp
TMS> version 5.0.7.

Well, I'm pretty sure the exec code changed in 5.1, so that's the likely
cause.
Unfortunately, as I said, I can't help much more for binary packages of
older
releases. If you could try 5.2.1, that would help. There are some tips
on
testing w/out having to install here:

        http://www.freesnmp.com/net-snmp/faqs/#localtest

TMS> The only thing I had to change in the script when I
TMS> migrated to version 5.1.1, was to treat the snmpset request. At the
older
TMS> version the OID and type argument where passed to the script as one
TMS> argument.-s MiboidType Value (OID clued together with Type)
TMS> -s Miboid Type Value (would be the correct form)

Yes, that was a bug in 5.0.7 and 5.0.8.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to