
This work is licensed under a Creative Commons Attribution-Share Alike 2.0 France License.
This week I spent some time configuring nagios to track our infrastructure, including web services and hardware.
Nagios is an interesting piece of software. It's very flexible and kinda easy to setup. I've to say that the documentation is not particularly well written. However sites like http://www.nagiosexchange.org/ make like very easy. Setting it up on debian is pretty straightforward.
It took me a while to understand how the various configuration files are organized and what is the object hierarchy. My small contribution today is about this plugin to check if a web service is up and running.
you can put this snippet in /etc/nagios-plugins/config/url.cfg
Then to use it, you have to add a file (eg. web_services.conf) in /etc/nagios2/conf.d with this content:
to check if a particular service is there. The trick is to define a host named WebService to organize all service under one heading.
Next Step is to integrate munin with nagios.
Recent comments
18 weeks 1 day ago
1 year 18 weeks ago
1 year 22 weeks ago
1 year 35 weeks ago
1 year 37 weeks ago
1 year 39 weeks ago
1 year 42 weeks ago
1 year 43 weeks ago
2 years 20 weeks ago
2 years 24 weeks ago