From 068ef0753533ee379dd3afec8bbc9e9b929e19ab Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 21 Sep 2021 21:19:29 +0200 Subject: [PATCH] test --- mikrotik/mt_system | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mikrotik/mt_system b/mikrotik/mt_system index c1460ba..c0294d5 100644 --- a/mikrotik/mt_system +++ b/mikrotik/mt_system @@ -294,6 +294,8 @@ function get_memory_label { done <<< "$data" } function get_memory_value { + get_mem_total + get_mem_free if [ "$MUNIN_CAP_DIRTYCONFIG" = "0" ] || [ -z "$MUNIN_CAP_DIRTYCONFIG" ]; then echo multigraph memory_$name fi @@ -311,7 +313,6 @@ function get_memory_value { done <<< "$data" # berechne used-memory # gesamt + frei = benutzt - echo used_memory.value $(echo $mem_total-$mem_free| bc) # prufe noch ob war gesetzt }