[dw-ops] Monitoring of ddlockd servers.
[commit: http://hg.dwscoalition.org/dw-ops/rev/5b814f4971dd]
Monitoring of ddlockd servers.
Patch by
mark.
Files modified:
Monitoring of ddlockd servers.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- nagios/conf.d/config/commands.cfg
- nagios/conf.d/services/jobs.cfg
-------------------------------------------------------------------------------- diff -r 36896ddf043e -r 5b814f4971dd nagios/conf.d/config/commands.cfg --- a/nagios/conf.d/config/commands.cfg Tue May 19 05:51:08 2009 +0000 +++ b/nagios/conf.d/config/commands.cfg Tue May 19 06:07:15 2009 +0000 @@ -63,6 +63,13 @@ define command { } +# check ddlockd machine to ensure it's listening +define command { + command_name dw_check_ddlockd + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7002 +} + + # check gearmand machine to ensure it's listening define command { command_name dw_check_gearmand diff -r 36896ddf043e -r 5b814f4971dd nagios/conf.d/services/jobs.cfg --- a/nagios/conf.d/services/jobs.cfg Tue May 19 05:51:08 2009 +0000 +++ b/nagios/conf.d/services/jobs.cfg Tue May 19 06:07:15 2009 +0000 @@ -21,3 +21,12 @@ define service { check_command dw_check_gearmand use generic-service } + + +# verify that ddlockd is responding to HTTP +define service { + hostgroup_name jobs + service_description ddlockd + check_command dw_check_ddlockd + use generic-service +} --------------------------------------------------------------------------------