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

