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 | |
parent | 9ddf46748a8d19068df7c491a1e0552ad70dc348 (diff) |
Notes
-rw-r--r-- | sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in | 9 | ||||
-rw-r--r-- | sysutils/munin-node/Makefile | 2 | ||||
-rw-r--r-- | sysutils/munin-node/files/plugins.conf.in | 18 |
3 files changed, 26 insertions, 3 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}" diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index de7bd6dce2f3..931f3ababeb0 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -3,7 +3,7 @@ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -node diff --git a/sysutils/munin-node/files/plugins.conf.in b/sysutils/munin-node/files/plugins.conf.in index 8d48e85bf685..e0b0250dd0f6 100644 --- a/sysutils/munin-node/files/plugins.conf.in +++ b/sysutils/munin-node/files/plugins.conf.in @@ -1,3 +1,10 @@ +# $FreeBSD$ +# +###################################################################### +# This file is installed by the sysutils/munin-node port, you should # +# not change it, you should create a local.conf file in the same # +# directory with your local changes. # +###################################################################### # # This file contains configuration options for the plugins. Three # options are understood by munin-node itself: @@ -19,6 +26,9 @@ # port security/logcheck. The munin-node port has no dependency on # that port because most plugins do not require it. +[*] +env.PATH %%LOCALBASE%%/sbin:%%LOCALBASE%%/bin:/sbin:/bin:/usr/sbin:/usr/bin + [amavis] env.amavislog /var/log/maillog env.logtail %%LOCALBASE%%/bin/logtail @@ -36,10 +46,12 @@ group mail env.exim %%LOCALBASE%%/sbin/exim [smart_*] +user root group operator -env.smartctl %%LOCALBASE%%/sbin/smartctl +env.smartpath %%LOCALBASE%%/sbin/smartctl [hddtemp_smartctl] +user root group operator env.smartctl %%LOCALBASE%%/sbin/smartctl @@ -56,6 +68,7 @@ user root env.logfile /var/log/maillog [sendmail*] +group wheel env.mspqueue /var/spool/clientmqueue env.mailstats /usr/sbin/mailstats @@ -65,4 +78,5 @@ env.client %%LOCALBASE%%/bin/fail2ban-client [nut*] env.upsc %%LOCALBASE%%/bin/upsc -env.upsconf %%LOCALBASE%%/etc/nut/ups.conf" +env.upsconf %%LOCALBASE%%/etc/nut/ups.conf + |