Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

increase the ds-name to be prefixed by hop_ so newer munins wont try …

…to store everything datapoint in "_"
  • Loading branch information...
commit 7c3ecf1bc5e40bf1855a867789c620852fc0a110 1 parent fae716b
@yeled authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugins/network/mtr100_
View
6 plugins/network/mtr100_
@@ -65,9 +65,9 @@ total+=$6
END {
for (x=1; x<=count; x++) {
value=(val[x]/total)*100
- if ( C != "config" ) { printf "%s.value %2.2f\n",lab[x],value }
- if ( C == "config" ) { print 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" ) { printf "%s.value %2.2f\n","hop_" lab[x],value }
+ if ( C == "config" ) { print "hop_" lab[x] ".label " name[x] }
+ if ( C == "config" ) { if ( x == 1 ) { print "hop_" lab[x]".draw AREA" } else { print "hop_" lab[x]".draw STACK" } }
}
}'
}
Please sign in to comment.
Something went wrong with that request. Please try again.