Last change
on this file since 847 was
847,
checked in by andersk, 16 years ago
|
Run munin as an unprivileged user with sudo for root access when necessary
|
File size:
888 bytes
|
Line | |
---|
1 | # |
---|
2 | # This file contains configuration options for the plugins. Three |
---|
3 | # options are understood by munin-node itself: |
---|
4 | # |
---|
5 | # user <user> # Set the user to run the plugin as |
---|
6 | # group <group> # Set the group to run the plugin as |
---|
7 | # command <command> # Run <command> instead of the plugin. %c |
---|
8 | # expands to what would normally be run. |
---|
9 | # env.<variable> # Sets <variable> in the plugin's environment, see the |
---|
10 | # individual plugins to find out which variables they |
---|
11 | # care about. |
---|
12 | # |
---|
13 | # |
---|
14 | |
---|
15 | [mysql*] |
---|
16 | #env.mysqlopts -u someuser |
---|
17 | |
---|
18 | [exim*] |
---|
19 | group mail |
---|
20 | |
---|
21 | [cps*] |
---|
22 | user root |
---|
23 | |
---|
24 | [apt] |
---|
25 | user root |
---|
26 | |
---|
27 | [vlan*] |
---|
28 | user root |
---|
29 | |
---|
30 | [postfix*] |
---|
31 | user root |
---|
32 | |
---|
33 | [smart_*] |
---|
34 | user root |
---|
35 | command sudo %c |
---|
36 | |
---|
37 | [if_*] |
---|
38 | user root |
---|
39 | command sudo -E %c |
---|
40 | env.PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin |
---|
Note: See
TracBrowser
for help on using the repository browser.