Last change
on this file since 1221 was
865,
checked in by quentin, 16 years ago
|
Use sudo to monitor hardware sensors for munin
|
File size:
927 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 | [sensors_*] |
---|
38 | user root |
---|
39 | command sudo %c |
---|
40 | |
---|
41 | [if_*] |
---|
42 | user root |
---|
43 | command sudo -E %c |
---|
44 | 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.