1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Olivier Mehani
e3c5515532 [internode_usage] loan from other graphs in root
Also, don't use mathlib with `bc`, as it's not needed, and only adds
spurious fractional bytes to the computed ideal usage.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-19 13:26:35 +02:00
Olivier Mehani
83737c4fe0 [plugins/solar/fronius] Monitor Solar Inverters using the Fronius Solar API
This includes caching of the inverter info with a 12h TTL, so the graph
still renders when the inverter has gone to sleep at night.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>

squash! [plugins/solar/fronius] Monitor Solar Inverters using the Fronius Solar API

Use generic caching function to also cache real-time data. This allows
to avoid N/As overnight, which don't aggregate nicely on the yearly
graph.
2020-07-12 18:30:04 +02:00
Olivier Mehani
e926acaf5f Fix titles of similar plugins so they are better grouped in category views
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
196051d341 [isp/internode] Cache initial API response
The API tends to be unstable and often fail with a 500,
which makes the plugin disappear. Keeping a cache allows
to prevent some flickering of the graph.

This allows us to further split config data-fetching from live
data-fetching, thus removing the need to support DIRTYCONFIG.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
a8f1eaf388 [isp/internode_usage] Make titles more groupable
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
f6c627bd56 [isp/internode] Fix (some) issues with DIRTYCONFIG
We need to set the date for all plugins, otherwise the lagging `daily`
one is assumed for all, and confuses spoolfetch and other time-based
sanity checks.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
e5af569b4f [isp/internode_usage] Add support for host_name
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
c49207419e [isp/internode_usage] Code cleanup
Also make the daily graph more flexible, by always reporting the second
last value (presumably the previous, but sometimes the API lags a bit,
and actively requesting by date result in never reporting some late
data).

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
691e52b868
[internode_usage] New plugin for Australian ISP Internode
* Add BUGS and SPDX license
* Add dirtyconfig support
* Use ideal usage as warning
2019-06-06 20:20:20 +10:00