A month ago a customer asked me to help him with his server monitoring. My first step was to evaluate what servers were running what services, so I turned to the customer’s developers for a list of services per host. Long story short – there wasn’t any kind of server documentation. So a second task emerged: Write a server documentation. Why not kill two birds with one stone?
An excellent solution for monitoring your servers and services is monit. Their site provides a good overview of what monit can do for you.
My new favourite tool for simple task automation is ansible. So why not combine them both?
Browsing ansible galaxy I found a nice role that fits my needs: https://galaxy.ansible.com/detail#/role/322
For this example I will use
jabber.entwicklerbier.org as monitored and documented hosts.