From 010d3101e365f83c7cdc440d1c705954db0a5417 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 7 Oct 2021 14:31:02 +0200 Subject: [PATCH] mt_system: typo --- mikrotik/mt_system | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mikrotik/mt_system b/mikrotik/mt_system index 47d28bb..5cb700e 100644 --- a/mikrotik/mt_system +++ b/mikrotik/mt_system @@ -202,7 +202,7 @@ function get_write_sect_since_reboot_value { function get_temperature_label { while read -r line; do - echo "$line" | awk '/temperature:/{ + echo "$line" | awk '/temperature/{ print "multigraph temperature_graph_""'"$name"'"; print "graph_title temperature " "'"$name"'"; print "graph_vlabel °C"; @@ -218,7 +218,7 @@ function get_temperature_value { get_ros_version while read -r line; do if [ "$MUNIN_CAP_DIRTYCONFIG" = "0" ] || [ -z "$MUNIN_CAP_DIRTYCONFIG" ]; then - echo "$line" | awk '/temperature:/{ + echo "$line" | awk '/temperature/{ print "multigraph temperature_graph_""'"$name"'"; }' fi