mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 18:07:20 +00:00
Reduce number of categories, use more generic terms
This commit is contained in:
parent
e00bd6b8a0
commit
6ffd50195c
27 changed files with 31 additions and 30 deletions
|
@ -38,7 +38,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_title ZFS ARC Efficiency'
|
||||
echo 'graph_args -l 0'
|
||||
echo 'graph_vlabel %'
|
||||
echo 'graph_category ZFS'
|
||||
echo 'graph_category filesystem'
|
||||
echo 'graph_info This graph shows the ARC Efficiency'
|
||||
|
||||
/usr/local/bin/zfs-stats -A | awk 'BEGIN { RS = "" ; FS = "\n" } /Efficiency/ {print}' | \
|
||||
|
@ -51,4 +51,4 @@ fi
|
|||
# /usr/local/bin/zfs-stats and processes its output
|
||||
|
||||
/usr/local/bin/zfs-stats -A | awk 'BEGIN { RS = "" ; FS = "\n" } /Efficiency/ {print}' | \
|
||||
awk '/^\t.*%/ {sub("\t","");sub(/:/,""); gsub(/[ .]/,"_",$0); sub(/%/,""); sub(/_/,".",$2); print $1".value "$2}'
|
||||
awk '/^\t.*%/ {sub("\t","");sub(/:/,""); gsub(/[ .]/,"_",$0); sub(/%/,""); sub(/_/,".",$2); print $1".value "$2}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue