Changeset 899 for noc/nagios


Ignore:
Timestamp:
Dec 20, 2008, 10:45:07 AM (15 years ago)
Author:
quentin
Message:
Use new hostgroups for service configuration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/services.cfg

    r735 r899  
    1414define service {
    1515        use                             scripts-service
    16         hostgroup_name                  all-remote
     16        hostgroup_name                  scripts-all
    1717        service_description             PING
    1818        check_command                   check_ping!500.0,30%!3000.0,80%
     
    2222define service {
    2323        use     scripts-service
    24         hostgroup_name  real-servers
     24        hostgroup_name  scripts-real
    2525        service_description     SSH
    2626        check_command   check_ssh
     
    5656define service {
    5757        use     scripts-service
     58        hostgroup_name          scripts-https
     59        service_description     HTTPS-CERT
     60        notification_period     afs
     61        check_command   check_https_cert_444!14
     62        contact_groups  scripts,pagers
     63}
     64
     65define servicedependency{
     66        host_name                       scripts
     67        service_description             HTTP
     68        dependent_host_name             scripts,scripts-cert,wildcard.scripts
     69        dependent_service_description   HTTPS,HTTPS-CERT
     70        execution_failure_criteria      n
     71        notification_failure_criteria   w,u,c
     72        }
     73
     74define servicedependency{
     75        host_name                       scripts
     76        service_description             HTTP
     77        dependent_host_name             scripts-cert
     78        dependent_service_description   HTTP
     79        execution_failure_criteria      n
     80        notification_failure_criteria   w,u,c
     81        }
     82
     83
     84define service {
     85        use     scripts-service
    5886        hostgroup_name  scripts-mail
    5987        service_description     POSTFIX
     
    6694        service_description     NSCD
    6795        check_command   check_remote_procs_u!1:256!1:512!nscd
     96}
     97
     98define service {
     99        use scripts-service
     100        hostgroup_name scripts-user
     101        service_description     AFS
     102        check_command   check_remote_afs
     103}
     104
     105define service {
     106    use scripts-service
     107    hostgroup_name scripts-user
     108    service_description LDAP
     109    check_command check_scripts_ldap
    68110}
    69111
     
    92134define service {
    93135        use     scripts-service
    94         hostgroup_name  real-servers
     136        hostgroup_name  scripts-real
    95137        service_description     DISK
    96138        check_command   check_remote_disk!10%!5%
     
    108150        hostgroup_name  mysql-masters,mysql-slaves
    109151        service_description     LOAD
    110         check_command   check_remote_load!13:5:5!15:7:7
     152        check_command   check_remote_load!16:10:10!20:15:15
    111153        contact_groups  sql
    112154}
Note: See TracChangeset for help on using the changeset viewer.