Nagios - Plugin - Check IMAP service2011/06/18 |
Enable plugin for monitor IMAP service.
|
|
[1] | Configure target host |
[root@node01 ~]#
vi /etc/nagios/nrpe.cfg # add at the last line: warn with 5 seconds of time out, critical with 10 seconds
command[check_imap]=/usr/lib64/nagios/plugins/check_imap -w 5 -c 10
/etc/rc.d/init.d/nrpe reload Reloading nrpe [ OK ] |
[2] | Configure Nagios server |
[root@master ~]#
vi /etc/nagios/servers/node01.cfg # add at the last line define service{ use generic-service host_name node01 service_description IMAP check_command check_nrpe!check_imap } /etc/rc.d/init.d/nagios reload Running configuration check...done. Reloading nagios configuration...done |
[3] | Access to Nagios site and make sure IMAP is added for monitoring. |
Sponsored Link |