mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-06 14:15:05 +00:00
deye: fix production calculation
This commit is contained in:
parent
e70e5320f1
commit
418ae8e160
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ Dependencies:
|
|||
- wget
|
||||
- awk
|
||||
- sed
|
||||
- bc
|
||||
|
||||
plugin config:
|
||||
|
||||
|
@ -122,10 +123,10 @@ echo multigraph current_power
|
|||
echo "current_power.value $current_power"
|
||||
|
||||
echo multigraph daily_yield
|
||||
echo "daily_yield.value $daily_yield"
|
||||
echo "daily_yield.value $(echo "scale=2 ; $daily_yield / 100" | bc | sed 's/^\./0./')"
|
||||
|
||||
echo multigraph total_yield
|
||||
echo "total_yield.value $total_yield"
|
||||
echo "total_yield.value $(echo "scale=2 ; $total_yield / 10" | bc | sed 's/^\./0./')"
|
||||
|
||||
echo multigraph reachable
|
||||
echo "reachable.value $reachable"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue