John @ BER Ltd
2009-Aug-28 10:54 UTC
[Nut-upsuser] I Need help configuring my UPS- Newbie!!
Hi,> I'm at my wits end and need help regarding my UPS. I am a newbie to Linux> (10 months) and need help with trying to configure my UPS to my Linux SME> server.> I have little or no experience with Bash and am finding it overwhelming> when it comes to trying to configure my UPS.> I have installed my UPS to my Linux SME server and have installed my> driver for it. At best I think its running but not configured properly.> The UPS is connected via USB and am using the megatec-usb driver.> I am able to run the upsmon command and it gives me all the relevant info> about the UPS-charge voltage/input/output etc...>>> Broadcast message from nut (Sun Nov 16 23:05:08 2008):>> Communications with UPS<http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> UPS at localhost established>> Broadcast message from nut (Sun Nov 16 23:05:08 2008):>> Communications with UPS<http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> UPS at localhost established>> [ <http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> root atserver etc]# upsc <http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> UPS at localhost> battery.charge: 95.0> battery.voltage: 13.50> battery.voltage.nominal: 12.0> driver.name: megatec_usb> driver.parameter.pollinterval: 2> driver.parameter.port: /dev/ttyS0> driver.version: 2.2.0-> driver.version.internal: 1.5.4> input.frequency: 50.0> input.voltage: 235.0> input.voltage.fault: 165.0> input.voltage.maximum: 244.0> input.voltage.minimum: 218.0> output.voltage: 235.0> output.voltage.nominal: 225.0> ups.beeper.status: enabled> ups.delay.shutdown: 0> ups.delay.start: 2> ups.load: 20.0> ups.mfr: KEBO> ups.model: UPS-650VA VER7.03> ups.serial: unknown> ups.status: OL> ups.temperature: 0.0> [ <http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> root atserver etc]#>>> I keep getting errors from the server regarding loosing and reconnecting> with the UPS appx every 10 mins.>> here's the email my server generates...>> Communications with UPS<http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> UPS at localhost> < <https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&index=56795#>https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&index=56795#>> established>> Communications with UPS<http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser> UPS at localhost> < <https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&index=56792#>https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&index=56792#>> lost> every 10 minutes...>Heres some additional information. [root at server ~]# [root at server ~]# upsmon Network UPS Tools upsmon 2.2.0- UPS: UPS at localhost (master) (power value 1) Using power down flag file /etc/killpower [root at server ~]# lsusb Bus 003 Device 002: ID 0001:0000 Fry's Electronics Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive Bus 001 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter Bus 001 Device 001: ID 0000:0000> Can anyone help regarding how to properly configure nut and to edit the> config file. I'm at a lost how to do this within bash- I'm very new tobash> and am only able to use cd,ls, and other very basic command. I run the vi> command to edit the nut config file but just get some kind of weird> display??. Am I beyond help? I'm keen to learn and get all the backup> systems properly sorted on my server. UPS is one and a fail-safe clone> server is another.Can anyone help?>> Hope I've made sense, the terminology may not be accurate, please excuse> me.Kind Regards John john at ber.net.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090828/28517fa6/attachment-0001.htm>
Arjen de Korte
2009-Aug-28 12:27 UTC
[Nut-upsuser] I Need help configuring my UPS- Newbie!!
Citeren "John @ BER Ltd" <john op ber.net.nz>:> I keep getting errors from the server regarding loosing and reconnecting > with the UPS appx every 10 mins.[...]> Can anyone help regarding how to properly configure nut and to edit the > config file.The problem is not in the configuration file, it's the version of NUT you're using. Before nut-2.2.2, the megatec/megatec_usb driver would declare a UPS stale on the first error. Especially for USB, an occasional error is normal (which may be due to EMI or plugging another USB device) so the driver shouldn't warn about that if it can reconnect immediately. There is nothing you can do about this in the configuration file, you need to upgrade NUT to version 2.2.2 or newer to fix this. Best regards, Arjen PS Please note that this is a members-only mailing list. In order to post messages, you need to be subscribed. I have already subscribed you now. See for instructions on how to unsubscribe, the welcome message or the bottom of every message send by the mailing list.