| 1 |
Munin consists of the main programs, and a node. The node runs on each of |
|---|
| 2 |
the machines you want to collect data from. The main programs does the |
|---|
| 3 |
collecting, draws the graphs, and creates the HTML pages. |
|---|
| 4 |
|
|---|
| 5 |
To install the main programs: |
|---|
| 6 |
|
|---|
| 7 |
- edit Makefile.config |
|---|
| 8 |
- create the user "munin" |
|---|
| 9 |
- make install-main |
|---|
| 10 |
- create a cron-entry to run "munin-cron" as the user "munin" every 5 |
|---|
| 11 |
minutes |
|---|
| 12 |
- if you want to use the dynamic graphs, configure the cgi directory |
|---|
| 13 |
(an example for apache can be found in README-apache-cgi). |
|---|
| 14 |
|
|---|
| 15 |
To install the documentation: |
|---|
| 16 |
|
|---|
| 17 |
- edit Makefile.config |
|---|
| 18 |
- make install-doc install-man |
|---|
| 19 |
|
|---|
| 20 |
To install the client: |
|---|
| 21 |
|
|---|
| 22 |
- edit Makefile.config |
|---|
| 23 |
- create the group "munin" |
|---|
| 24 |
- make install-node install-node-plugins |
|---|
| 25 |
- decide which plugins to use (quick auto-solution: |
|---|
| 26 |
"munin-node-configure --shell | sh") |
|---|
| 27 |
- start the client (you probably want an init-script for this) |
|---|
| 28 |
|
|---|
| 29 |
Notes about node plugins |
|---|
| 30 |
-------------------------- |
|---|
| 31 |
|
|---|
| 32 |
"make install-node-plugins" installs the plugins in LIBDIR (defined in |
|---|
| 33 |
Makefile.config). Put the ones you want to use (or better yet, create |
|---|
| 34 |
softlinks) in CONFDIR/client.d/ . An easy way to do this, is the program |
|---|
| 35 |
"munin-node-configure", using the parameter "--shell". It will then |
|---|
| 36 |
suggest commands to do this. |
|---|
| 37 |
|
|---|
| 38 |
Some of the plugins require some configuration to get running. An |
|---|
| 39 |
example configuration file is found in the file "plugins.conf"; |
|---|
| 40 |
|
|---|
| 41 |
Many OSes and releases thereof have different ways of gathering data. A |
|---|
| 42 |
lot of OSes still have none. If you create plugins for a system which is |
|---|
| 43 |
not already in the package, please send us a copy of them, so we can add |
|---|
| 44 |
them for others to use. We'd also be happy if you sent us any new plugins |
|---|
| 45 |
on systems already in the package. |
|---|