Changeset 1062 for noc


Ignore:
Timestamp:
Apr 4, 2009, 1:38:36 AM (15 years ago)
Author:
quentin
Message:
if NRPE is down, don't bother notifying about NRPE-related services
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/services.cfg

    r1055 r1062  
    105105}
    106106
     107define servicedependency {
     108        hostgroup_name  scripts-mail
     109        service_description     NRPE
     110        dependent_service_description   POSTFIX
     111        execution_failure_criteria      n
     112        notification_failure_criteria   w,u,c
     113}
     114
    107115define service {
    108116        use     scripts-service
     
    143151        notification_period     afs
    144152        check_command   check_remote_cron_working
     153}
     154
     155define service {
     156        use     scripts-service
     157        hostgroup_name  scripts-user
     158        service_description     USERS
     159        check_command   check_remote_users!50!25
     160}
     161
     162define servicedependency {
     163        hostgroup_name  scripts-user
     164        service_description     NRPE
     165        dependent_service_description   NSCD,AFS,USERS,CRON-WORKING
     166        execution_failure_criteria      n
     167        notification_failure_criteria   w,u,c
    145168}
    146169
     
    174197}
    175198
     199define servicedependency {
     200        hostgroup_name  scripts-cron
     201        service_description     NRPE
     202        dependent_service_description   CRON
     203        execution_failure_criteria      n
     204        notification_failure_criteria   w,u,c
     205}
     206
    176207define service {
    177208        use     scripts-service
     
    186217        service_description     DISK
    187218        check_command   check_remote_disk!10%!5%
     219}
     220
     221define servicedependency {
     222        hostgroup_name  scripts-real
     223        service_description     NRPE
     224        dependent_service_description   DISK
     225        execution_failure_criteria      n
     226        notification_failure_criteria   w,u,c
    188227}
    189228
     
    193232        service_description     LOAD
    194233        check_command   check_remote_load!50:50:50!100:50:50
     234}
     235
     236define servicedependency {
     237        host_name       b-m,o-f
     238        service_description     NRPE
     239        dependent_service_description   LOAD
     240        execution_failure_criteria      n
     241        notification_failure_criteria   w,u,c
    195242}
    196243
     
    205252define service {
    206253        use     scripts-service
    207         hostgroup_name  scripts-user
    208         service_description     USERS
    209         check_command   check_remote_users!50!25
    210 }
    211 
    212 define service {
    213         use     scripts-service
    214254        hostgroup_name  scripts-mysql
    215255        service_description     MYSQL
Note: See TracChangeset for help on using the changeset viewer.