salt.modules.apcups

Module for apcupsd

salt.modules.apcups.status()

Return apcaccess output

CLI Example:

salt '*' apcups.status
salt.modules.apcups.status_battery()

Return true if running on battery power

CLI Example:

salt '*' apcups.status_battery
salt.modules.apcups.status_charge()

Return battery charge

CLI Example:

salt '*' apcups.status_charge
salt.modules.apcups.status_load()

Return load

CLI Example:

salt '*' apcups.status_load