I followed all the steps in this documentation with me local parameters and when I try upscmd command with the following parameters is gives the error
Code:[root@proxy /]# upscmd -u root -p xxxxxx MGE test.battery.start.quick
Unexpected response from upsd: ERR ACCESS-DENIED
my NUT setup supports only the following UPS commands
Code:[root@proxy /]# upscmd -l MGE@localhost
Instant commands supported on UPS [MGE]:
beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
outlet.1.load.off - Turn off the load on outlet 1 immediately
outlet.1.load.on - Turn on the load on outlet 1 immediately
outlet.2.load.off - Turn off the load on outlet 2 immediately
outlet.2.load.on - Turn on the load on outlet 2 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.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
and the command /etc/init.d/ups start has the following result:cool:
Code:[root@proxy /]# /etc/init.d/ups start
Starting UPS driver controller: [ OK ]
Starting upsd: [ OK ]
Starting UPS monitor (master): [ OK ]

