f03621ea64
a couple of his OpenBSD-specific plugins. Munin the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. Its emphasis is on plug and play capabilities. After completing an installation a high number of monitoring plugins will be playing with no more effort. Using Munin you can easily monitor the performance of your computers, networks, SANs, applications, weather measurements and whatever comes to mind. It makes it easy to determine "what's different today" when a performance problem crops up. It makes it easy to see how you're doing capacity-wise on any resources.
15 lines
575 B
Plaintext
15 lines
575 B
Plaintext
$OpenBSD: patch-node_munin-node_in,v 1.1.1.1 2009/11/17 11:11:21 sthen Exp $
|
|
--- node/munin-node.in.orig Mon Nov 16 18:29:14 2009
|
|
+++ node/munin-node.in Mon Nov 16 18:28:51 2009
|
|
@@ -42,6 +42,10 @@ foreach my $key (keys %ENV)
|
|
$ENV{$key} = $1 || ''; # It sometimes happens that the match was empty
|
|
}
|
|
|
|
+# plugins run in taint mode because the uid is changed, so the path
|
|
+# must not contain writable directories.
|
|
+$ENV{PATH}='/bin:/sbin:/usr/bin:/usr/sbin:${PREFIX}/bin:${PREFIX}/sbin';
|
|
+
|
|
$0 =~ /^(.*)$/; # for some strange reason won't "$0 = $0;" work.
|
|
$0 = $1;
|
|
|