Thanks to Olli, I can now talk to my PW9125 via SNMP: > upsc cscfups001@localhost ambient.temperature: 031.0 battery.charge: 090.0 battery.runtime: 2640.0 battery.voltage: 055.5 driver.name: snmp-ups driver.parameter.mibs: pw driver.parameter.port: cscfups001.cs.uwaterloo.ca driver.version: 2.1.0 driver.version.internal: 0.41 input.frequency: 060.0 input.voltage: 120.0 output.current: 020.0 output.frequency: 060.0 output.voltage: 120.0 ups.firmware: INV: 1.02 ups.firmware.aux: ConnectUPS Web/SNMP Card V3.16 ups.load: 018.0 ups.mfr: Powerware Corporation ups.model: POWERWARE UPS ups.power: 192.0 ups.status: OL > and it goes to OB (with appropriate broadcast actions) when I get my boss to run into my office and pull the plug. (Working from home today.) Thanks Olli, and everybody else. I'll post again once I have a chance to try the 9150s we *really* want working, but since it's the same SNMP card, it should Just Work. For the curious, it was pwmib.h, Olli sent me a new one and it built just fine. Thanks, all. Mike
On Mon, Feb 06, 2006 at 01:22:14PM -0500, Mike Patterson wrote:> For the curious, it was pwmib.h, Olli sent me a new one and it built > just fine.Care to shre it, Ollie, so that I dont duplicate your work? My first impression of the PowerWare with Connect card is that it is better supported by the IETF mib driver variant than by the PW mib. /Niels -- Niels Baggesen - @home - ?rhus - Denmark - nba@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming
2006/2/7, Niels Baggesen <nba@users.sourceforge.net>:> > On Mon, Feb 06, 2006 at 01:22:14PM -0500, Mike Patterson wrote: > > For the curious, it was pwmib.h, Olli sent me a new one and it built > > just fine. > > Care to shre it, Ollie, so that I dont duplicate your work?@Olli : thanks to send back (need upsdev subscription) your latest work for reviewal and integration My first impression of the PowerWare with Connect card is that it is> better supported by the IETF mib driver variant than by the PW mib.IIRC, Olli made pw support with a mix of IETF + PW OIDs Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060207/6f1a5edb/attachment.htm
Hi Patch attached. Currently, PW driver is not much different from IETF driver. My original intention was to add more OIDs from PW MIB but I never had time to do that. It would be great if somebody (Niels?) could finish it. Thanks, Olli Arnaud Quette wrote:> > > 2006/2/7, Niels Baggesen <nba@users.sourceforge.net > <mailto:nba@users.sourceforge.net>>: > > On Mon, Feb 06, 2006 at 01:22:14PM -0500, Mike Patterson wrote: > > For the curious, it was pwmib.h, Olli sent me a new one and it built > > just fine. > > Care to shre it, Ollie, so that I dont duplicate your work? > > > @Olli : thanks to send back (need upsdev subscription) your latest work > for reviewal and integration > > My first impression of the PowerWare with Connect card is that it is > better supported by the IETF mib driver variant than by the PW mib. > > > IIRC, Olli made pw support with a mix of IETF + PW OIDs > > Arnaud > -- > Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt > Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ > Debian Developer - http://people.debian.org/~aquette/ > OpenSource Developer - http://arnaud.quette.free.fr/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nut-upsdev mailing list > Nut-upsdev@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev-------------- next part -------------- A non-text attachment was scrubbed... Name: pwmib-patch.diff Type: text/x-patch Size: 4935 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060207/b040ff14/pwmib-patch.bin
Mike Patterson wrote on 2/6/06 1:22 PM:> Thanks to Olli, I can now talk to my PW9125 via SNMP:I have a PW9170 as well - no joy, despite the fact that it has the exact same SNMP module in it (ConnectUPS Web/SNMP Card V3.16). It looks like some MIBs aren't implemented? I get this at startup: detected Powerware 9170 on host goober.cs.uwaterloo.ca [goober] nut_snmp_get: .1.3.6.1.2.1.33.1.2.4.0: Error in packet: (noSuchName) There is no such variable name in this MIB. [goober] nut_snmp_get: .1.3.6.1.4.1.534.1.6.1.0: Error in packet: (noSuchName) There is no such variable name in this MIB. I'm using code checked out from 2.1 in early Feb, so maybe the MIBs have since been added. Or maybe I've made some other mistake. I can investigate the MIBs if need be; I just want to make sure it's the former and not the latter. :-) Mike