Debian Wheezy does offer the installation of the full (a bit old)shinken, BUT it doesn’t offer the Installation of the WebUI.
Here is a better way to install everything including pnp4nagios and check_mk in one go:
STEPS:
Install Shinken
wget http://www.shinken-monitoring.org/install -O /tmp/install_shinken.sh
cd /tmp && sh install_shinken.sh
Configure shinken
vim /usr/local/shinken/etc/shinken-specific.cfg
Change the http://YOURSERVERNAME/ in:
define module {
module_name GRAPHITE_UI
module_type graphite_webui
uri http://YOURSERVERNAME/
templates_path /usr/local/shinken/share/templates/graphite/
}
Because of a bug in the stop arbiter script we need to make some tiny changes:
Edit /usr/local/shinken/bin/stop_arbiter.sh
change the line
kill $(cat "$DIR"/../var/arbiterd.pid)
to
kill $(cat "$DIR"/../var/arbiter.pid)
Unfortunately the process skonf doesn’t want to stop when I run the script: /usr/local/shinken/bin/stop_all.sh
So we need to doctor the script:
vim /usr/local/shinken/bin/stop_skonf.sh
Change the following:
FROM:
kill $(cat "$DIR"/../var/skonfd.pid)
TO:
kill -9 $(ps aux | grep skonf.cfg | grep -v 'grep' | awk '{print $2}')
Start the whole shinken
cd /usr/local/shinken/bin
./launch_all.sh
WebUI
Change the password of the admin user:
cd /usr/local/shinken/etc/
htpasswd htpasswd.users admin
Now connect to the WebUI
In browser:
http://yourserver.name:7727/
To Stop all the services
/usr/local/shinken/bin/stop_all.sh
To de-install shinken
cd /usr/local/shinken/
./install -u