ohne var
This commit is contained in:
parent
edb8d6fc65
commit
f744025a98
1 changed files with 2 additions and 4 deletions
|
@ -291,10 +291,8 @@ function get_memory_label {
|
|||
print "free_memory.label free memory";
|
||||
print "graph_info Total, Used & free RAM.",
|
||||
gsub(/MiB/,"",$2);
|
||||
$varcrit=$2*0.9;
|
||||
$varwarn=$2*0.7;
|
||||
print "used_memory.critical " $varcrit;
|
||||
print "used_memory.warning " $varwarn }'
|
||||
print "used_memory.critical " $2*0.9;
|
||||
print "used_memory.warning " $2*0.7 }'
|
||||
done <<< "$data"
|
||||
}
|
||||
function get_memory_value {
|
||||
|
|
Loading…
Reference in a new issue