Nagios Plugins

Nagios Plugins


Nagios and Icinga are popular and powerful open source monitoring applications. There are tons of plugins for these systems. Recently we have created native integration of Nagios plugins with OddEye All what's needed is to enable Nagios module cd ${OE-AGENT-HOME}/checks_enabled && ln -s ../checks_available/ ./. And configure OE-Agent with Plugins which you want to use. In [Nagios] section of conf/nagios.ini file just write check_name: command key value pairs.

You can write, space separated, parameters for you plugin exactly as you will do when you configure Nagios/Icinga or nagios-nrpe-server.

loadaverage: /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
diskusage:   /usr/lib/nagios/plugins/check_disk -l -w 20% -c 10% -p /dev/sda1
processes:   /usr/lib/nagios/plugins/check_procs -w 250 -c 400

After restarting oe-agent you can see alert at you Dashboard, where name of alert is given key at nagios.ini nd value is actual value of actual check command.