source: Serveur/munin/sympa4munin/INSTALL

Last change on this file was 6414, checked in by kent1, 8 years ago

Améliorations de la doc + de sympa_spool

File size: 1.3 KB
Line 
1Sympa4munin
2Original code from hagen at rz.uni-karlsruhe.de
3Modified by kent1 <kent1@arscenic.info>
4Version 0.3.1
5
6
7INSTALLATION
8
9- copy plugins files sympa_stats and sympa_spool to /usr/share/munin/plugins/
10- you probably have to tell munin to run sympa_spool as the sympa-user if munin user can't read the content of the spool directory (cf config examples);
11- you have to tell munin to run sympa_spool as a user who can read the logfile (root for the default /var/log/syslog)
12- run munin-node-configure --shell
13- copy / paste resulting commands to activate the plugins (should be 2 commands)
14- you might have to change "$statefile" in sympa_stats
15- use "munin-run PLUGINNAME" to verify that munin can actually use your
16  plugins and you get some results
17- restart munin-node
18- enjoy
19
20Parameters allowed:
21
22- user = user to run the script
23
24for sympa_spool :
25- env.spool = path to the sympa spool directory (default /home/sympa/spool)
26- env.queues = list of the spools to count (default auth bounce digest distribute expire moderation msg outgoing subscribe task tmp topic msg/bad distribute/bad)
27
28for sympa_stats
29- env.logfile = path to the sympa log file (default /var/log/syslog)
30
31Example of configurations:
32
33[sympa_spool]
34user sympa
35env.spool /opt/sympa/spool
36
37[sympa_stats]
38user root
39
40Please contact kent1@arscenic.info, if you have any suggestions,
41enhancements, etc.
Note: See TracBrowser for help on using the repository browser.