]> git.ipfire.org Git - thirdparty/collectd.git/commit
nut: expose more (real)power 3889/head
authorBas Stottelaar <basstottelaar@gmail.com>
Thu, 24 Jun 2021 20:49:45 +0000 (22:49 +0200)
committerBas Stottelaar <basstottelaar@gmail.com>
Thu, 24 Jun 2021 20:49:45 +0000 (22:49 +0200)
commitfb2857a1a7c2499c5b52e69fc722bdb910be3d5f
treebde0815d561ab1027cbf05529d728d41ac97ea41
parent1da3305c10c8ff9a63081284cf3d4bb0f6daffd8
nut: expose more (real)power

According to [1], there are multiple fields that can indicate the
(real)power. Expose the ones under the `ups` and `input` key.

Note: naming of the type instances are based on how `output.power`
and `output.realpower` are exposed.

[1] https://networkupstools.org/docs/developer-guide.chunked/apas01.html
src/nut.c