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