Hi, I'm new to nut. I have some 100 APC Smart-UPS 2200 & 3000's and I'm trying to do some calibration test on them. I've installed nut, with driver = snmp-ups mibs = apcc 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 ) Do I miss something, or are those commands only available using a serial connection driver? I use nut 2.2, but don't see anything relevant in later release notes. Regards, -- +----------------------------------------------------------------------+ | (o- Henk van Lingen Utrecht, The Netherlands | | /\ http://henk.vanlingen.net/ | | v_/_ http://www.tuxtown.net/netiquette/ | + Using Outlook ? -> http://home.in.tum.de/~jain/software/oe-quotefix/ +
On Fri, Jun 25, 2010 at 02:56:28PM +0200, Henk van Lingen wrote:> > I'm new to nut. I have some 100 APC Smart-UPS 2200 & 3000's and > I'm trying to do some calibration test on them. I've installed nut,Really no one with a suggestion how to schedule calibration tests over the network?> driver = snmp-ups > mibs = apcc > > 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 ) > > Do I miss something, or are those commands only available using a > serial connection driver? > I use nut 2.2, but don't see anything relevant in later release notes.Cheers, -- +----------------------------------------------------------------------+ | (o- Henk van Lingen Utrecht, The Netherlands | | /\ http://henk.vanlingen.net/ | | v_/_ http://www.tuxtown.net/netiquette/ | + Using Outlook ? -> http://home.in.tum.de/~jain/software/oe-quotefix/ +
On Jun 25, 2010, at 8:56 AM, Henk van Lingen wrote:> I'm new to nut. I have some 100 APC Smart-UPS 2200 & 3000's and > I'm trying to do some calibration test on them. I've installed nut, > with > > driver = snmp-ups > mibs = apcc > > 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 )I don't think we have many developers using APC equipment, so I guess I was hoping one of the snmp-ups driver users would be able to help. I'll take a stab, though. What does your UPS return when you run snmpwalk on .1.3.6.1.4.1.318.1.1.1.7.2 ?
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"? 2) Are you including the appropriate username/password parameters to upscmd? (I see two spaces after upscmd, as though you removed your username and password, but I figure it can't hurt to ask.) 3) Are there any log messages from upsd? 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"). I am CC'ing Arnaud in case he has additional debugging tips.