[Nut-upsuser] upsd: ERR ACCESS-DENIED with PowerWalker UPS

Sami Mäntysaari sm at sami-mantysaari.com
Fri Jul 3 12:45:21 UTC 2015


Hello,

I'm having problems when trying to execute an deep battery test.

UPS Model: PowerWalker VI 1000.

root at HP-Opreon:/# upscmd PowerWalker at localhost test.battery.start.deep
Username (root): admin
Password:
Unexpected response from upsd: ERR ACCESS-DENIED

/etc/hosts.allow:
<code>
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5) and
hosts_options(5).
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "rpcbind" for the
# daemon name. See rpcbind(8) and rpc.mountd(8) for further information.
#

upsd : admin at localhost : ALLOW
</code>

/etc/nut/upsd.users:
<code>
[ups_admin]
password = mypass1
upsmon master

[admin]
        password = mypass2
        actions = set
        actions = fsd
        instcmds = all
</code>

upscmd -l PowerWalker at localhost:
<code>
Instant commands supported on UPS [PowerWalker]:

beeper.toggle - Toggle the UPS beeper
load.off - Turn off the load immediately
load.on - Turn on the load immediately
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start - Start a battery test
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
</code>


Best Regards,
Sami Mäntysaari





More information about the Nut-upsuser mailing list