[packages/munin] Example config
arekm
arekm at pld-linux.org
Sat Mar 14 16:32:42 CET 2026
commit a77a3673164d64e920cff7e4cf221e859d57dd12
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Mar 14 16:32:34 2026 +0100
Example config
munin-plugins.conf | 37 +++++++++++++++++++++++++++++++++----
1 file changed, 33 insertions(+), 4 deletions(-)
---
diff --git a/munin-plugins.conf b/munin-plugins.conf
index e1a6133..bf37596 100644
--- a/munin-plugins.conf
+++ b/munin-plugins.conf
@@ -1,9 +1,38 @@
-# PLD default plugin configuration for munin-node.
-# Maintained in package because upstream no longer ships dists/tarball/plugins.conf.
+# This file is used to configure how the plugins are invoked.
+# Place in /etc/munin/plugin-conf.d/ or corresponding directory.
+#
+# PLEASE NOTE: Changes in the plugin-conf.d directory are only
+# read at munin-node startup, so restart at any changes.
+#
+# user <user> # Set the user to run the plugin as
+# group <group> # Set the group to run the plugin as
+# command <command> # Run <command> instead of the plugin. %c
+# expands to what would normally be run.
+# env.<variable> <value> # Sets <variable> in the plugin's environment, see the
+# individual plugins to find out which variables they
+# care about.
+#
[*]
env.logtail /usr/bin/logtail
+[mysql*]
+#env.mysqlopts -u someuser
+
+[exim*]
+group mail
+
+[cps*]
+user root
+
+[apt]
+user root
+
+[vlan*]
+user root
+
+[postfix*]
+user root
env.logdir /var/log
env.logfile maillog
@@ -79,13 +108,13 @@ env.upsname SmartUPS
env.upshost 127.0.0.1
[df*]
-#user root # if you have mode 0000 /vservers dir
+#user root # if you have mode 0000 /vservers dir
group proc
# Sane defaults for plugins from MuninExchange
[apache_smaps]
-#user root # if you have kernel with grsecurity
+#user root # if you have kernel with grsecurity
group proc
env.pname httpd.prefork
env.puser http
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/munin.git/commitdiff/a77a3673164d64e920cff7e4cf221e859d57dd12
More information about the pld-cvs-commit
mailing list