Hi,<br><br>first of all, 2.2 releases are too old. If possible, try to
update to a more recent version.<br>that being said, the calibration code was already present in 2.2.0<br><br><div class="gmail_quote">2010/7/2 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Thu, Jul 1, 2010 at 10:17 AM, Henk van Lingen <<a href="mailto:henk@vanlingen.net">henk@vanlingen.net</a>> wrote:<br>
> On Wed, Jun 30, 2010 at 08:30:38PM -0400, Charles Lepple wrote:<br>
>> On Jun 25, 2010, at 8:56 AM, Henk van Lingen wrote:<br>
>><br>
>> >in ups.conf. I can read the variables using upsc. However it seems,<br>
>> >I can't actually execute commands on the UPSses this way.<br>
>> >( upscmd some-ups calibrate.start )<br>
>><br>
>> Some things I probably should have asked earlier:<br>
>><br>
>> 1) Is this command actually listed in the output of "upscmd -l"?<br>
><br>
> No, it lists no commands at all:<br>
><br>
> henk@swizzy:~-$ upscmd -l snmp<br>
> Instant commands supported on UPS [snmp]:<br>
><br>
> henk@swizzy:~-$<br>
><br>
> Hence my initial question about any commands being available by the<br>
> way of the snmp driver.<br>
<br>
</div>Ah, OK. I wasn't sure if it was being listed as supported but not executing.<br>
<br>
There is definitely code in the apc-mib.c file that appears to support<br>
it, via the OID I mentioned:<br>
<br>
'4) Does the calibration work if you manually run something like:<br>
<div class="im"> "snmpset <host-and-community><br>
PowerNet-MIB::upsAdvTestRuntimeCalibration.0 i 2" ?<br>
</div>(if it does, you should be able to stop it by changing the "2" to a "3").'<br>
<br>
Again, Arnaud or someone else with more experience with that driver<br>
might be able to help troubleshoot this better.<br></blockquote></div><br clear="all">I came to the same conclusion: the matching code is present.<br>so I need the answer to the above #4, along with an upsc
output and the driver's debug output:<br>/path/to/snmp-ups -?? -a
<upsname><br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>