mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
increase the ds-name to be prefixed by hop_ so newer munins wont try to store everything datapoint in "_"
This commit is contained in:
parent
fae716b478
commit
7c3ecf1bc5
1 changed files with 3 additions and 3 deletions
|
@ -65,9 +65,9 @@ total+=$6
|
||||||
END {
|
END {
|
||||||
for (x=1; x<=count; x++) {
|
for (x=1; x<=count; x++) {
|
||||||
value=(val[x]/total)*100
|
value=(val[x]/total)*100
|
||||||
if ( C != "config" ) { printf "%s.value %2.2f\n",lab[x],value }
|
if ( C != "config" ) { printf "%s.value %2.2f\n","hop_" lab[x],value }
|
||||||
if ( C == "config" ) { print lab[x] ".label " name[x] }
|
if ( C == "config" ) { print "hop_" lab[x] ".label " name[x] }
|
||||||
if ( C == "config" ) { if ( x == 1 ) { print lab[x]".draw AREA" } else { print lab[x]".draw STACK" } }
|
if ( C == "config" ) { if ( x == 1 ) { print "hop_" lab[x]".draw AREA" } else { print "hop_" lab[x]".draw STACK" } }
|
||||||
}
|
}
|
||||||
}'
|
}'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue