Munin Package
This page documents the packages for Munin:
Installation of the Munin master
- Install the package CSWmuninmaster
The package will create a user munin and a group munin if not already present on the system.
Configuration
- Append the following line to the crontab of the user munin (not necessary for Munin node):
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /bin/test -x /opt/csw/bin/munin-cron && /opt/csw/bin/munin-cron
- Edit the Apache configuration for Munin:
"Normal" mode: /etc/opt/csw/munin/apache/apache-munin.conf
CGI mode: /etc/opt/csw/munin/apache/apache-munin-cgi.conf
(Both configs should work by default)
- Add the following line to your Apache configuration:
"Normal" mode: Include /etc/opt/csw/munin/apache/apache-munin.conf
CGI mode: Include /etc/opt/csw/munin/apache/apache-munin-cgi.conf
- Add the user your webserver is running under (nobody for Apache) to the group munin
- Restart your Apache / reload the Apache configuration
- Configuration files are located in /etc/opt/csw/munin/. For more information how to configure the master itself refer to the Munin homepage.
Installation of the Munin node
- Install the package CSWmuninnode
The package will create a user munin and a group munin if not already present on the system.
The Munin node works as a daemon, so the package delivers a SMF for Solaris 10 and run scripts for Solaris 8 / 9.
svcs cswmuninnode
Configuration
- Configuration files are located in /etc/opt/csw/munin/. For more information how to configure the node itself refer to the Munin homepage.
Plugins
- The package for the Munin node comes with some default plugins. They are located in /opt/csw/libexec/munin/plugins.
Add plugins
- To add a plugin to the node configuration just link the plugin to /etc/opt/csw/munin/plugins/. No editing of config files is necessary.
Example:
ln -s /opt/csw/lib/munin/plugins/cpu /etc/opt/csw/munin/plugins/cpu
- Restart the node:
svcadm restart cswmuninnode
References
- http://munin.projects.linpro.no/ - The Munin home page
page revision: 11, last edited: 20 Aug 2009 19:01





