summaryrefslogtreecommitdiff
path: root/sysutils/munin-node/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/munin-node/files')
-rw-r--r--sysutils/munin-node/files/patch-Makefile.config4
-rw-r--r--sysutils/munin-node/files/patch-hddtemp_smartctl.in13
-rw-r--r--sysutils/munin-node/files/patch-munin-node.conf.in4
-rw-r--r--sysutils/munin-node/files/plugins.conf4
4 files changed, 21 insertions, 4 deletions
diff --git a/sysutils/munin-node/files/patch-Makefile.config b/sysutils/munin-node/files/patch-Makefile.config
index 3707764900c3..c0f220e4e13f 100644
--- a/sysutils/munin-node/files/patch-Makefile.config
+++ b/sysutils/munin-node/files/patch-Makefile.config
@@ -1,5 +1,5 @@
---- munin-1.2.0rc2.orig/Makefile.config 2005-01-10 11:38:32.000000000 +0100
-+++ munin-1.2.0rc2/Makefile.config 2005-02-03 11:55:51.000000000 +0100
+--- Makefile.config.orig 2005-01-10 11:38:32.000000000 +0100
++++ Makefile.config 2005-02-03 11:55:51.000000000 +0100
@@ -7,52 +7,56 @@
#
# the base of the Munin installation.
diff --git a/sysutils/munin-node/files/patch-hddtemp_smartctl.in b/sysutils/munin-node/files/patch-hddtemp_smartctl.in
new file mode 100644
index 000000000000..47c38d0eab7b
--- /dev/null
+++ b/sysutils/munin-node/files/patch-hddtemp_smartctl.in
@@ -0,0 +1,13 @@
+--- node/node.d/hddtemp_smartctl.in.orig 2006-10-17 14:27:35.000000000 +0200
++++ node/node.d/hddtemp_smartctl.in 2007-10-04 09:29:43.931425624 +0200
+@@ -109,6 +109,10 @@
+ @drives = grep /hd[a-z]/, readdir IDE;
+ closedir(IDE);
+ }
++} elsif ($^O eq 'freebsd') {
++ opendir(DEV, '/dev');
++ @drives = grep /^ad[0-9]+$/, readdir DEV;
++ closedir(DEV);
+ } elsif ($^O eq 'solaris') {
+ @drives = map { s@.*/@@ ; $_ } glob '/dev/rdsk/c*t*d*s2';
+ }
diff --git a/sysutils/munin-node/files/patch-munin-node.conf.in b/sysutils/munin-node/files/patch-munin-node.conf.in
index 535618ec792d..c09e0fa11415 100644
--- a/sysutils/munin-node/files/patch-munin-node.conf.in
+++ b/sysutils/munin-node/files/patch-munin-node.conf.in
@@ -1,5 +1,5 @@
---- munin-1.0.0pre1.orig/node/munin-node.conf.in Thu Jan 15 15:28:57 2004
-+++ munin-1.0.0pre1/node/munin-node.conf.in Sun Jan 25 14:26:15 2004
+--- node/munin-node.conf.in.orig Thu Jan 15 15:28:57 2004
++++ node/munin-node.conf.in Sun Jan 25 14:26:15 2004
@@ -12,7 +12,7 @@
# Which port to bind to;
host *
diff --git a/sysutils/munin-node/files/plugins.conf b/sysutils/munin-node/files/plugins.conf
index 1ffa23a2f963..b4f2fb6bae2c 100644
--- a/sysutils/munin-node/files/plugins.conf
+++ b/sysutils/munin-node/files/plugins.conf
@@ -35,6 +35,10 @@ env.leasefile /var/db/dhcpd.leases
group mail
env.exim /usr/local/sbin/exim
+[hddtemp_smartctl]
+group operator
+env.smartctl = /usr/local/sbin/smartctl
+
[mysql*]
env.mysqladmin /usr/local/bin/mysqladmin
env.mysqlshow /usr/local/bin/mysqlshow