master
md 46 lines 1.97 KB
Rendered Raw
1 ### Understand the alert
2
3 This alert is related to your American Power Conversion (APC) uninterruptible power supply (UPS) device. The Netdata Agent monitors the number of seconds since the last successful data collection by querying the `apcaccess` tool. If you receive this alert, it means that no data collection has taken place for some time, which might indicate a problem with the APC UPS device or connection.
4
5 ### Troubleshoot the alert
6
7 1. Verify the `apcaccess` tool is installed and functioning properly
8 ```
9 $ apcaccess status
10 ```
11 This command should provide you with a status display of the UPS. If the command is not found, you may need to install the `apcaccess` tool.
12
13 2. Check the APC UPS daemon
14
15 a. Check the status of the APC UPS daemon
16 ```
17 $ systemctl status apcupsd
18 ```
19
20 b. Check for obvious and common errors, such as wrong device path, incorrect permissions, or configuration issues in `/etc/apcupsd/apcupsd.conf`.
21
22 c. If needed, restart the APC UPS daemon
23 ```
24 $ systemctl restart apcupsd
25 ```
26
27 3. Inspect system logs
28
29 Check the system logs for any error messages related to APC UPS or `apcupsd`, which might give more insights into the issue.
30
31 4. Verify UPS Connection
32
33 Ensure that the UPS device is properly connected to your server, both physically (USB/Serial) and in the configuration file (`/etc/apcupsd/apcupsd.conf`).
34
35 5. Update Netdata configuration
36
37 If the issue is still not resolved, you can try updating the Netdata configuration file for the `apcupsd_last_collected_secs` collector.
38
39 6. Check your UPS device
40
41 If all previous steps have been completed and the issue persists, your UPS device might be faulty. Consider contacting the manufacturer for support or replace the device with a known-good unit.
42
43 ### Useful resources
44
45 1. [Netdata - APC UPS monitoring](/src/collectors/charts.d.plugin/apcupsd/integrations/apc_ups.md)
46 2. [`apcupsd` - Power management and control software for APC UPS](https://github.com/apcupsd/apcupsd)