diff options
author | mat <mat@FreeBSD.org> | 2017-01-19 23:45:22 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-01-19 23:45:22 +0800 |
commit | f22d54093f16c264ab4ff86f1c772513cb3a8e0e (patch) | |
tree | 2a312a178868f214689a8875fbe2109a2c9e5058 /sysutils/munin-node | |
parent | 55dd07bce317a6a87cb600c4eb5a7d67c3d9721b (diff) | |
download | freebsd-ports-gnome-f22d54093f16c264ab4ff86f1c772513cb3a8e0e.tar.gz freebsd-ports-gnome-f22d54093f16c264ab4ff86f1c772513cb3a8e0e.tar.zst freebsd-ports-gnome-f22d54093f16c264ab4ff86f1c772513cb3a8e0e.zip |
Tell plugins they can use awk and do not need gawk.
While there, make ipmi_ plugins easier to use, and sort the plugins.conf
file.
Submitted by: bcr
Sponsored by: Absolight
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r-- | sysutils/munin-node/Makefile | 1 | ||||
-rw-r--r-- | sysutils/munin-node/files/plugins.conf.in | 21 |
2 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index b8bce1f37e6c..23444add9756 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -3,6 +3,7 @@ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} +PORTREVISION= 1 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 1b07f7902aa8..77ce939a9189 100644 --- a/sysutils/munin-node/files/plugins.conf.in +++ b/sysutils/munin-node/files/plugins.conf.in @@ -45,16 +45,18 @@ env.leasefile /var/db/dhcpd.leases group mail env.exim %%LOCALBASE%%/sbin/exim -[smart_*] +[fail2ban*] user root -group operator -env.smartpath %%LOCALBASE%%/sbin/smartctl +env.client %%LOCALBASE%%/bin/fail2ban-client [hddtemp_smartctl] user root group operator env.smartctl %%LOCALBASE%%/sbin/smartctl +[ipmi_*] +user root + [mbmon*] env.mbmon %%LOCALBASE%%/bin/mbmon @@ -63,6 +65,10 @@ env.mysql %%LOCALBASE%%/bin/mysql env.mysqladmin %%LOCALBASE%%/bin/mysqladmin env.mysqlshow %%LOCALBASE%%/bin/mysqlshow +[nut*] +env.upsc %%LOCALBASE%%/bin/upsc +env.upsconf %%LOCALBASE%%/etc/nut/ups.conf + [postfix*] user root env.logfile maillog @@ -72,11 +78,8 @@ group wheel env.mspqueue /var/spool/clientmqueue env.mailstats /usr/sbin/mailstats -[fail2ban*] +[smart_*] user root -env.client %%LOCALBASE%%/bin/fail2ban-client - -[nut*] -env.upsc %%LOCALBASE%%/bin/upsc -env.upsconf %%LOCALBASE%%/etc/nut/ups.conf +group operator +env.smartpath %%LOCALBASE%%/sbin/smartctl |