Changeset 991 for noc


Ignore:
Timestamp:
Feb 20, 2009, 11:19:13 AM (15 years ago)
Author:
quentin
Message:
Add CRON-WORKING Nagios test, and contact scripts when sql goes down
Location:
noc/nagios
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/checkcommands.cfg

    r900 r991  
    174174
    175175define command {
     176        command_name    check_remote_cron_working
     177        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_cron_working
     178}
     179
     180define command {
    176181    command_name    check_scripts_ldap
    177182    command_line    $USER1$/check_ldap -H $HOSTADDRESS$ -b dc=scripts,dc=mit,dc=edu
  • noc/nagios/services.cfg

    r960 r991  
    138138
    139139define service {
     140        use scripts-service
     141        hostgroup_name scripts-user
     142        service_description     CRON-WORKING
     143        check_command   check_remote_cron_working
     144}
     145
     146define service {
    140147    use scripts-service
    141148    hostgroup_name scripts-user
     
    217224        service_description     MYSQL-M
    218225        check_command   check_remote_mysql
    219         contact_groups  sql
     226        contact_groups  sql,scripts
    220227}
    221228
     
    225232        service_description     MYSQL-S
    226233        check_command   check_remote_mysql_slave
    227         contact_groups  sql
     234        contact_groups  sql,scripts
    228235}
    229236
Note: See TracChangeset for help on using the changeset viewer.