1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-31 21:33:43 +00:00

unfiy labels

This commit is contained in:
Michael Grote 2023-03-02 23:16:48 +01:00
parent b81467effd
commit 1370bcdb43
2 changed files with 8 additions and 6 deletions

View file

@ -23,6 +23,8 @@ plugin config:
env.user <User>
env.password <SECRET_PASS>
env.ip <ip/fqdn>
env.serial_number 2XXXXXXXXX6-1
=head1 AUTHOR
@ -82,7 +84,7 @@ fi
if [ "$1" = "config" ]; then
# setze optionen
echo "multigraph current_power"
echo "graph_title Deye current Power"
echo "graph_title Current Power - Local - SN: ${serial_number}"
echo "graph_vlabel watt"
echo "graph_category sensors"
echo "graph_args -l 0"
@ -90,7 +92,7 @@ if [ "$1" = "config" ]; then
echo "current_power.label watt"
echo "multigraph daily_yield"
echo "graph_title Deye daily Yield"
echo "graph_title Daily Yield - Local - SN: ${serial_number}"
echo "graph_vlabel kWh"
echo "graph_category sensors"
echo "graph_args -l 0"
@ -99,7 +101,7 @@ if [ "$1" = "config" ]; then
echo "daily_yield.draw AREA"
echo "multigraph total_yield"
echo "graph_title Deye Total Yield"
echo "graph_title Total Yield - Local - SN: ${serial_number}"
echo "graph_vlabel kWh"
echo "graph_category sensors"
echo "graph_args -l 0"
@ -108,7 +110,7 @@ if [ "$1" = "config" ]; then
echo "total_yield.draw AREA"
echo "multigraph reachable"
echo "graph_title Deye inverter reachable"
echo "graph_title Inverter reachable - Local - SN: ${serial_number}"
echo "graph_vlabel on/off"
echo "graph_category sensors"
echo "graph_args -l 0"

View file

@ -72,7 +72,7 @@ fi
if [ "$1" = "config" ]; then
# setze optionen
echo "multigraph production_total"
echo "graph_title Production Total - SN: $SLRM_DEVICE_SN"
echo "graph_title Total Yield- SN: $SLRM_DEVICE_SN"
echo "graph_vlabel kWh"
echo "graph_category sensors"
echo "graph_args -l 0"
@ -83,7 +83,7 @@ if [ "$1" = "config" ]; then
echo "total_inverter.draw AREA"
echo "multigraph production_daily"
echo "graph_title Production Daily - SN: $SLRM_DEVICE_SN"
echo "graph_title Daily Yield- SN: $SLRM_DEVICE_SN"
echo "graph_vlabel kWh"
echo "graph_category sensors"
echo "graph_args -l 0"