Skip to content

Commit

Permalink
Fix apcupsd documentation to reflect actual plugin (influxdata#6377)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson authored and bitcharmer committed Oct 18, 2019
1 parent 422e2d2 commit d9ffca4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions plugins/inputs/apcupsd/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# apcupsd Input Plugin
# APCUPSD Input Plugin

This plugin reads data from an apcupsd daemon over its NIS network protocol.

Expand All @@ -23,10 +23,10 @@ apcupsd should be installed and it's daemon should be running.
- apcupsd
- tags:
- serial
- status (string representing the set status_flags)
- ups_name
- status
- fields:
- online
- status_flags ([status-bits][])
- input_voltage
- load_percent
- battery_charge_percent
Expand All @@ -38,8 +38,11 @@ apcupsd should be installed and it's daemon should be running.
- time_on_battery_ns



### Example output

```
apcupsd,serial=AS1231515,ups_name=name1,host=server1 time_on_battery=0,load_percent=9.7,time_left_minutes=98,output_voltage=230.4,internal_temp=32.4,battery_voltage=27.4,input_frequency=50.2,online=true,input_voltage=230.4,battery_charge_percent=100 1490035922000000000
apcupsd,serial=AS1231515,status=ONLINE,ups_name=name1 time_on_battery=0,load_percent=9.7,time_left_minutes=98,output_voltage=230.4,internal_temp=32.4,battery_voltage=27.4,input_frequency=50.2,input_voltage=230.4,battery_charge_percent=100,status_flags=8i 1490035922000000000
```

[status-bits]: http://www.apcupsd.org/manual/manual.html#status-bits

0 comments on commit d9ffca4

Please sign in to comment.