<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Ok, and here comes the tcp dump:</div>

<div> </div>

<div>snmpset -c private -v 1 10.100.200.30 1.3.6.1.4.1.318.1.1.1.5.2.6.0 i 90  makes this:</div>

<div>
<div>14:01:02.725830 IP 10.100.200.1.40893 > 10.100.200.30.161:  C=private SetRequest(35)  .1.3.6.1.4.1.318.1.1.1.5.2.6.0=90<br/>
14:01:02.759972 IP 10.100.200.30.161 > 10.100.200.1.40893:  C=private GetResponse(35)  .1.3.6.1.4.1.318.1.1.1.5.2.6.0=90</div>

<div> </div>

<div>and the same with upsset.cgi makes this:</div>

<div>
<div>
<div>13:58:40.196924 IP 10.100.200.1.38704 > 10.100.200.30.161:  C=private SetRequest(36)  .1.3.6.1.4.1.318.1.1.1.5.2.6.0="90"</div>

<div>13:58:40.223239 IP 10.100.200.30.161 > 10.100.200.1.38704:  C=private GetResponse(36)  badValue@1 .1.3.6.1.4.1.318.1.1.1.5.2.6.0="90"</div>
</div>

<div> </div>

<div>So maybe a problem with "90" vs 90 ?</div>

<div> </div>
</div>
</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On May 15, 2013, at 4:16 AM, lutz.niederer@gmx.net wrote:
<div name="quoted-content"><br/>
> root@abex:/etc/nut# upsdrvctl -DDDD shutdown apc10001<br/>
> Network UPS Tools - UPS driver controller 2.6.4<br/>
> 0.000000<br/>
> If you're not a NUT core developer, chances are that you're told to enable debugging [...]<br/>
> 0.000280 Shutdown UPS: apc10001<br/>
> 0.000304 exec: /lib/nut/snmp-ups -a apc10001 -k<br/>
<br/>
The message that you trimmed was intended to explain that if you want more debug messages, you need to call the driver directly with the -D flags, e.g. "/lib/nut/snmp-ups -DDDD -a apc10001 -k".<br/>
<br/>
Unfortunately, I am not familiar with the inner workings of the SNMP driver.<br/>
<br/>
--<br/>
Charles Lepple<br/>
clepple@gmail<br/>
<br/>
<br/>
 </div>
</div>
</div>
</div></div></body></html>