Changeset 735 for noc/nagios


Ignore:
Timestamp:
Apr 24, 2008, 3:06:48 PM (16 years ago)
Author:
quentin
Message:
hardcode SQL alerts to sql@mit.edu
Location:
noc/nagios
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/cgi.cfg

    r714 r735  
    100100# server will inherit all rights you assign to this user!
    101101 
    102 #default_user_name=guest
     102default_user_name=guest
    103103
    104104
  • noc/nagios/contacts.cfg

    r533 r735  
    66
    77define contactgroup {
     8        contactgroup_name       sql
     9        alias                   SQL Maintainers
     10        members                 sql
     11}
     12
     13define contactgroup {
    814        contactgroup_name       pagers
    915        alias                   Scripts Maintainers (Pagers)
    1016        members                 quentin-cell,geofft-pager,andersk-cell
    1117}
    12 
    1318
    1419define contact {
     
    2227        host_notification_commands      host-notify-by-email
    2328        email                           scripts-alerts@mit.edu
     29}
     30define contact {
     31        contact_name                    sql
     32        alias                           sql
     33        service_notification_period     24x7
     34        host_notification_period        24x7
     35        service_notification_options    w,u,c,r
     36        host_notification_options       d,u,r
     37        service_notification_commands   notify-by-email
     38        host_notification_commands      host-notify-by-email
     39        email                           sql@mit.edu
    2440}
    2541define contact {
  • noc/nagios/hosts.cfg

    r704 r735  
    2929
    3030define host {
    31         use     scripts-sipb-host
     31        name sql-sipb-host
     32        use scripts-sipb-host
     33        register 0
     34        contact_groups sql,scripts
     35}
     36
     37define host {
     38        use     sql-sipb-host
    3239        host_name       sql
    3340        alias           sql
    3441        address         18.181.0.52
    35         contact_groups  scripts,pagers
     42        contact_groups  sql,scripts,pagers
    3643}
    3744
    3845define host {
    39         use     scripts-sipb-host
     46        use     sql-sipb-host
    4047        host_name       k-s
    4148        alias           kitchen-sink
     
    5057
    5158define host {
    52         use     scripts-sipb-host
     59        use     sql-sipb-host
    5360        host_name       s-b
    5461        alias           sliced-bread
  • noc/nagios/services.cfg

    r709 r735  
    9090}
    9191
    92 #define service {
    93 #       use     scripts-service
    94 #       hostgroup_name  real-servers
    95 #       service_description     DISK: /
    96 #       check_command   check_remote_disk!10%!5%!/
    97 #}
    98 
    99 #define service {
    100 #       use     scripts-service
    101 #       hostgroup_name  mysql-masters,mysql-slaves
    102 #       service_description     DISK: /srv
    103 #       check_command   check_remote_disk!10%!5%!/srv
    104 #}
    105 
    10692define service {
    10793        use     scripts-service
     
    123109        service_description     LOAD
    124110        check_command   check_remote_load!13:5:5!15:7:7
     111        contact_groups  sql
    125112}
    126113
     
    137124        service_description     MYSQL
    138125        check_command   check_tcp!3306
    139         contact_groups  scripts,pagers
     126        contact_groups  sql,scripts,pagers
    140127}
    141128
     
    146133        notification_period     afs
    147134        check_command   check_http
    148         contact_groups  scripts,pagers
     135        contact_groups  sql,scripts,pagers
    149136}
    150137
     
    154141        service_description     MYSQL-M
    155142        check_command   check_remote_mysql
     143        contact_groups  sql
    156144}
    157145
     
    161149        service_description     MYSQL-S
    162150        check_command   check_remote_mysql_slave
     151        contact_groups  sql
    163152}
    164153
     
    169158        notifications_enabled   0
    170159        check_command   check_remote_procs_P!4!6!50
    171        
    172160}
Note: See TracChangeset for help on using the changeset viewer.