Nagios - Plugin - Check POP service2011/06/18 |
Enable plugin for monitor POP 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_pop]=/usr/lib64/nagios/plugins/check_pop -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 POP check_command check_nrpe!check_pop } /etc/rc.d/init.d/nagios reload Running configuration check...done. Reloading nagios configuration...done |
[3] | Access to Nagios site and make sure POP is added for monitoring. |
Sponsored Link |