Tuesday, June 17, 2014

Nagios create plugins

On monitoring host:

Create plugin in /usr/lib/nagios/plugins (in C/Perl/Script/etc)
Enable plugin by:
1. define comment in /etc/nagios-plugins/config/somefile.cfg
2. edit /etc/nagios/conf.d/localhost_nagios2.cfg

Restart:
sudo service nagios3 restart

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.