User Tools

Site Tools


doc:appunti:hardware:ups_apc_nut

Using an APC UPS with the Nut software

Configuration

Configuration files into /etc/nut/ directory:

  • nut.conf
  • ups.conf
  • upsd.conf
  • upsd.users
  • upsmon.conf

Usage

List the UPS configured with nut:

upsc -l
apc-bx2200

Display the status of the named UPS:

upsc apc-bx2200

Display the value of one variable only.

upsc apc-bx2200 ups.status
upsc apc-bx2200 battery.charge
upsc apc-bx2200 battery.runtime
upsc apc-bx2200 ups.alarm
upsc apc-bx2200 ups.load

Show the list of supported instant commands on that UPS.

upscmd -l apc-bx2200

Inizia un test rapido della batteria (richiede autenticazione):

upscmd apc-bx2200 test.battery.start.quick
upscmd apc-bx2200 beeper.mute
upscmd apc-bx2200 beeper.disable
upscmd apc-bx2200 beeper.enable
upsc apc-bx2200 ups.beeper.status
doc/appunti/hardware/ups_apc_nut.txt · Last modified: by niccolo · Currently locked by: niccolo