[dw-ops] Add monitoring of mail slave replication.
[commit: http://hg.dwscoalition.org/dw-ops/rev/92c51e86151f]
Add monitoring of mail slave replication.
Patch by
mark.
Files modified:
Add monitoring of mail slave replication.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- nagios/conf.d/services/mail.cfg
-------------------------------------------------------------------------------- diff -r 5b814f4971dd -r 92c51e86151f nagios/conf.d/services/mail.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nagios/conf.d/services/mail.cfg Tue May 19 07:48:52 2009 +0000 @@ -0,0 +1,32 @@ +# +# mail.cfg +# +# Checks we run on mail slave. (Incoming mail.) +# +# Authors: +# Mark Smith <mark@dreamwidth.org> +# +# Copyright (c) 2009 by Dreamwidth Studios, LLC. +# +# This program is free software; you may redistribute it and/or modify it under +# the same terms as Perl itself. For a copy of the license, please reference +# 'perldoc perlartistic' or 'perldoc perlgpl'. +# + + +# verify that MySQL is responding +define service { + hostgroup_name mail + service_description MySQL + check_command dw_check_mysql + use generic-service +} + + +# verify that MySQL is responding +define service { + hostgroup_name mail + service_description MySQL Replication + check_command dw_check_mysql_repl + use generic-service +} --------------------------------------------------------------------------------