AW: [Nut-upsuser] not all Variables are supported

Thomas Böhme T.Boehme at mc-wetter.de
Fri Sep 30 11:41:31 UTC 2005


Hello Arnaud,

yes I use the standard sarge packages nut and nut-cgi, both installed on the same host (neckarsulm).

#### hosts.conf ####
MONITOR comet at mastermind "Mastermind UPS"

#### ups.conf ####
[comet]
        driver = mge-utalk
        port = /dev/ttyS0

#### upsd.conf ####
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACL lan 172.18.2.0/24
ACCEPT localhost lan
REJECT all

#### upsd.users ####
[admin]
        password = adminpass
        allowfrom = all lan localhosts
        actions = SET
        instcmds = ALL
[monuser]
        password  = monuser
        allowfrom = all lan localhost
        upsmon master

#### upsmon.conf ####
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
MONITOR comet at mastermind 1 monuser monuser master



The upsc output:

neckarsulm:/etc/nut# upsc comet at mastermind
battery.charge: 000.0
battery.charge.low: 00
battery.runtime: 00000
battery.voltage: 000.0
driver.name: mge-utalk
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.1
driver.version.internal: 0.81.0
input.frequency: 2000.00
input.voltage: 273.0
output.current: 2700.0
ups.delay.start: 000
ups.firmware: unknown
ups.id: 20
ups.mfr: MGE UPS SYSTEMS
ups.model: 20
ups.status: OL
ups.temperature: 000.0
ups.test.interval: 100


mastermind is a CNAME for neckarsulm. The output of `upsc comet at neckarsulm` is the same.


Regards,
Thomas



More information about the Nut-upsuser mailing list