svn commit: r371397 - in head/sysutils/munin-node: . files

Mathieu Arnold mat at FreeBSD.org
Thu Oct 23 14:36:55 UTC 2014


Author: mat
Date: Thu Oct 23 14:36:54 2014
New Revision: 371397
URL: https://svnweb.freebsd.org/changeset/ports/371397
QAT: https://qat.redports.org/buildarchive/r371397/

Log:
  Make the smart_ plugin work out of the box[1], and fixup two other plugins.
  
  Requested by:	marck
  Sponsored by:	Absolight

Modified:
  head/sysutils/munin-node/Makefile
  head/sysutils/munin-node/files/plugins.conf.in

Modified: head/sysutils/munin-node/Makefile
==============================================================================
--- head/sysutils/munin-node/Makefile	Thu Oct 23 14:05:56 2014	(r371396)
+++ head/sysutils/munin-node/Makefile	Thu Oct 23 14:36:54 2014	(r371397)
@@ -3,6 +3,7 @@
 
 PORTNAME=	munin
 PORTVERSION=	${MUNIN_VERSION}
+PORTREVISION=	1
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	${MUNIN_SITES}
 PKGNAMESUFFIX=	-node

Modified: head/sysutils/munin-node/files/plugins.conf.in
==============================================================================
--- head/sysutils/munin-node/files/plugins.conf.in	Thu Oct 23 14:05:56 2014	(r371396)
+++ head/sysutils/munin-node/files/plugins.conf.in	Thu Oct 23 14:36:54 2014	(r371397)
@@ -35,6 +35,10 @@ env.leasefile /var/db/dhcpd.leases
 group mail
 env.exim %%LOCALBASE%%/sbin/exim
 
+[smart_*]
+group operator
+env.smartctl %%LOCALBASE%%/sbin/smartctl
+
 [hddtemp_smartctl]
 group operator
 env.smartctl %%LOCALBASE%%/sbin/smartctl
@@ -43,12 +47,13 @@ env.smartctl %%LOCALBASE%%/sbin/smartctl
 env.mbmon %%LOCALBASE%%/bin/mbmon
 
 [mysql*]
+env.mysql %%LOCALBASE%%/bin/mysql
 env.mysqladmin %%LOCALBASE%%/bin/mysqladmin
 env.mysqlshow %%LOCALBASE%%/bin/mysqlshow
 
 [postfix*]
 user root
-env.logfile maillog
+env.logfile /var/log/maillog
 
 [sendmail*]
 env.mspqueue /var/spool/clientmqueue


More information about the svn-ports-all mailing list