[Nut-upsuser] Re: Help with nut 2.0.4, MGE Ellipse 1000 and FreeBSD

Miwa Forever miwaonline at gmail.com
Wed Dec 27 21:12:41 CET 2006


2006/12/27, Miwa Forever <miwaonline at gmail.com>:
>
>
> miwa at zork3$ uname -mrs
> FreeBSD 5.5-STABLE i386
> miwa at zork3$ su
> root at zork3# cd /usr/ports/sysutils/nat
> root at zork3 # make && make install
> root at zork3# cd ../nut-usb
> root at zork3# make && make install
> root at zork3# cd /usr/local/etc/nut
> root at zork3# cat ups.conf
> user=root
> [MGE-Ellipse]
> driver=newhidups
> port=auto
> desc="MGE Ellipse 1000"
>
> root at zork3# cat upsd.conf
> ACL world 0.0.0.0/0
> ACL zork 192.168.100.0/24
> ACL servers 192.168.1.0/24
> ACL local 127.0.0.1/32
> ACCEPT local
> ACCEPT servers
> ACCEPT zork
> REJECT world
>
> root at zork3# cat upsd.users
> [admin]
> password = admin
> allowfrom = local
> actions = set
> instcmds = all
>
> [monitor]
> password = monitor
> allowfrom = local
> upsmon master
>
> root at zork3# /usr/local/libexec/nut/upsdrvctl -u root start
> Network UPS Tools - UPS driver controller 2.0.4
> Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4)
>
> Detected a UPS: MGE UPS SYSTEMS/ELLIPSE
> Using subdriver: MGE HID 0.9
>
> root at zork3# upsd -u root
> Network UPS Tools upsd 2.0.4
> /usr/local/etc/nut/upsd.conf is world readable
> Connected to UPS [MGE-Ellipse]: newhidups-auto
> Synchronizing........ giving up
>
> # Looks like everything is ok, but
> root at zork3# upsc MGE-Ellipse at localhost
> Error: Data stale
>
> # Ooooops.... :o(
> # I tryed (maybe tried? mean "try" in the
> pust indefenite) to change usb pork, checked cable, but "Data stale" did not disapeared.
>
>
>
> root at zork3# killall newhidups
> root at zork3# killall upsd
> root at zork3# ps ax | grep ups
> root at zork3# /usr/local/libexec/nut/newhidups -DDDDD -a MGE-Ellipse -u root
>
>
>
Oh. And something else:

miwa at zork3$ tail /var/log/messages
Dec 27 22:12:27 zork3 upsd[898]: Data for UPS [MGE-Ellipse] is stale - check
driver
Dec 27 22:12:30 zork3 upsd[898]: UPS [MGE-Ellipse] data is no longer stale
Dec 27 22:12:46 zork3 upsd[898]: Data for UPS [MGE-Ellipse] is stale - check
driver
Dec 27 22:12:53 zork3 upsd[898]: UPS [MGE-Ellipse] data is no longer stale
Dec 27 22:13:26 zork3 upsd[898]: Data for UPS [MGE-Ellipse] is stale - check
driver
Dec 27 22:13:37 zork3 upsd[898]: UPS [MGE-Ellipse] data is no longer stale
Dec 27 22:14:09 zork3 upsd[898]: Data for UPS [MGE-Ellipse] is stale - check
driver
Dec 27 22:14:11 zork3 upsd[898]: UPS [MGE-Ellipse] data is no longer stale
Dec 27 22:14:29 zork3 upsd[898]: Data for UPS [MGE-Ellipse] is stale - check
driver

It means, that sometimes I really can see output from upsc:

root at zork3# upsc MGE-Ellipse at localhost
battery.charge: 91
battery.charge.low: 30
battery.runtime: 1421
driver.name: newhidups
driver.parameter.port: auto
driver.version: 2.0.4
driver.version.data: MGE HID 0.9
driver.version.internal: 0.28
input.transfer.high: 264.0
input.transfer.low: 161.0
outlet.0.desc: Main Outlet
outlet.0.id: 1
outlet.0.switchable: 0
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 2
outlet.1.switch: 1
outlet.1.switchable: 0
output.voltage: 230.0
ups.delay.shutdown: -1
ups.delay.start: -10
ups.load: 22
ups.mfr: MGE UPS SYSTEMS
ups.model: Ellipse 1000
ups.power.nominal: 1000
ups.serial: 1H7G4103F
ups.status: OL CHRG


but I'd like do see it always :o)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20061227/c09f9ba4/attachment-0001.html


More information about the Nut-upsuser mailing list