Writing customized icinga checks
Recently I started to try writing a customized script for the icinga monitoring tool. I will try to describe the steps I went trough to achieve this in this post. I assume you already have a working icinga setup. If not you can find documentation about this on http://docs.icinga.org/.
First of all you need to script. I created a script which will check if a service is running using the command
# /etc/init.d/service status
to see how to implement this in icinga. The script can be found on my github repo.
Once you have tested …