diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-01-19 17:47:47 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-01-19 17:47:47 +0000 |
commit | 55eabd5517715eaa6f142b460f4cadf04d7d9629 (patch) | |
tree | c12d9cd96daba10656db914f3e005b24dc71cbb6 /sysutils/munin-common | |
parent | 9ddf46748a8d19068df7c491a1e0552ad70dc348 (diff) | |
download | ports-55eabd5517715eaa6f142b460f4cadf04d7d9629.tar.gz ports-55eabd5517715eaa6f142b460f4cadf04d7d9629.zip |
Fix the iostat plugin to report the correct unit. [1]
Fix common plugins PATH problems by adding LOCALBASE/{bin,sbin} to the default
PATH. Fix a " that should not have been there. Fix a few permissions
problems. [2]
PR: 196504 [1]
Submitted by: Vlad "Blackflow" K.
PR: 196739 [2]
Submitted by: darius dons net au
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=377445
Diffstat (limited to 'sysutils/munin-common')
-rw-r--r-- | sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in b/sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in index 5ee2534c53f6..3cec29e23c11 100644 --- a/sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in +++ b/sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in @@ -1,5 +1,14 @@ --- plugins/node.d.freebsd/iostat.in.orig 2014-11-24 21:46:24 UTC +++ plugins/node.d.freebsd/iostat.in +@@ -41,7 +41,7 @@ fi + if [ "$1" = "config" ]; then + echo 'graph_title IOstat by bytes' + echo 'graph_args --base 1024 -l 0' +- echo 'graph_vlabel MB per ${graph_period} read+written' ++ echo 'graph_vlabel kB per ${graph_period} read+written' + echo 'graph_category disk' + echo 'graph_info This graph shows the I/O to and from block devices' + # We don't give a XXXX about device or extended @@ -56,13 +56,11 @@ if [ "$1" = "config" ]; then for d in $drives; do echo "${d}_read.label ${d}" |