ApcUpsBatteryNearlyEmpty #
Battery is almost empty (< 10% left)
Alert Rule
alert: ApcUpsBatteryNearlyEmpty
annotations:
description: |-
Battery is almost empty (< 10% left)
VALUE = {{ $value }}
LABELS = {{ $labels }}
runbook: https://srerun.github.io/prometheus-alerts/runbooks/apcupsd_exporter/apcupsbatterynearlyempty/
summary: APC UPS Battery nearly empty (instance {{ $labels.instance }})
expr: apcupsd_battery_charge_percent < 10
for: 0m
labels:
severity: critical
Here is a runbook for the ApcUpsBatteryNearlyEmpty alert:
Meaning #
The ApcUpsBatteryNearlyEmpty alert indicates that the battery level of an APC UPS (Uninterruptible Power Supply) has fallen below 10%. This critical alert suggests that the UPS is at risk of shutting down due to low battery power, which can lead to unexpected downtime and potential data loss.
Impact #
If left unattended, a low battery level can cause the UPS to shut down, leading to:
- Unexpected downtime of critical systems and services
- Potential data loss or corruption
- Disruption of business operations and revenue loss
- Increased risk of hardware damage due to sudden power loss
Diagnosis #
To diagnose the issue, follow these steps:
- Check the current battery level and voltage: Use the
apcupsd
command-line tool or a monitoring dashboard to check the current battery level and voltage. - Verify the UPS is properly connected and configured: Ensure the UPS is correctly connected to the device it is supposed to protect, and that all cables are securely connected.
- Check for any alarms or error messages: Review the UPS logs and event history to identify any error messages or alarm conditions that may be contributing to the low battery level.
- Perform a self-test: Initiate a self-test on the UPS to verify its functionality and identify any potential issues.
Mitigation #
To mitigate the issue, follow these steps:
- Replace the battery: If the battery is old or has been in use for an extended period, consider replacing it with a new one.
- Perform a battery calibration: Calibrate the battery to ensure it is accurately reporting its charge level.
- Reduce the load: Identify any unnecessary devices connected to the UPS and disconnect them to reduce the load and conserve battery power.
- Implement a backup plan: Develop a backup plan to ensure business continuity in the event of an extended power outage or UPS failure.
- Schedule a maintenance window: Schedule a maintenance window to perform further diagnostic checks and repairs as needed.
Remember to always follow proper safety precautions when working with electrical equipment, and consult the UPS user manual or manufacturer’s instructions if you are unsure about any of the mitigation steps.