summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: feb920d)
raw | patch | inline | side by side (parent: feb920d)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 13 Sep 2007 07:56:04 +0000 (09:56 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 13 Sep 2007 07:56:04 +0000 (09:56 +0200) |
ChangeLog | patch | blob | history | |
src/apcups.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 0a0b19359d6a1c7954d4fc6e528115d187b6124d..a4f3fc5b6a9030be39cbd2ac8ad7a354236e8477 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+yyyy-mm-dd, Version 4.0.9
+ * apcups plugin: Fix reporting of the `load percent' data.
+
2007-09-12, Version 4.0.8
* collectd: The `sstrerror' function was improved to work correctly
with the broken GNU version of `strerror_r'.
diff --git a/src/apcups.c b/src/apcups.c
index a4aa34df7e29112a68070726bb0539a822ee7a60..6391eb02991b3d9f478dd662bf05a590bdf212ef 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
apc_submit_generic ("voltage", "output", apcups_detail->outputv);
apc_submit_generic ("voltage", "battery", apcups_detail->battv);
apc_submit_generic ("charge", "", apcups_detail->bcharge);
- apc_submit_generic ("percent", "charge", apcups_detail->loadpct);
+ apc_submit_generic ("percent", "load", apcups_detail->loadpct);
apc_submit_generic ("timeleft", "", apcups_detail->timeleft);
apc_submit_generic ("temperature", "", apcups_detail->itemp);
apc_submit_generic ("frequency", "input", apcups_detail->linefreq);