Changeset 960


Ignore:
Timestamp:
Jan 28, 2009, 12:42:03 AM (14 years ago)
Author:
quentin
Message:
Update hostgroup names so they stay within the scripts- namespace, so we can support multiple services on syn
Location:
noc/nagios
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/hostgroups.cfg

    r706 r960  
    2020        hostgroup_name  mysql-masters
    2121        alias   MySQL master servers
    22         members k-s
     22        members sql
    2323}
    2424
     
    2626        hostgroup_name  mysql-slaves
    2727        alias   MySQL slave servers
    28         members s-b
     28        members k-s,s-b
    2929}
    3030
     
    3232        hostgroup_name  scripts-mail
    3333        alias   Mail servers
    34         members b-m,o-f
     34        members b-m,o-f,b-k
    3535}
    3636
     
    3838        hostgroup_name  scripts-cron
    3939        alias   Cron servers
    40         members b-m,o-f
     40        members b-m,o-f,b-k
    4141}
    4242
     
    4444        hostgroup_name  scripts-user
    4545        alias   User servers
    46         members b-m,o-f
     46        members b-m,o-f,b-k
    4747}
    4848
    4949define hostgroup {
    50         hostgroup_name  all-remote
    51         alias   All except localhost
    52         members *,!localhost
     50        hostgroup_name  scripts-all
     51        alias   All scripts hosts
     52        members b-k,b-m,k-s,o-f,r-f,r-b,s-b,scripts,scripts-cert,sipb-ether,sql,wildcard.scripts
    5353}
    5454
    5555define hostgroup {
    56         hostgroup_name  real-servers
    57         alias   All except localhost
    58         members *,!localhost,!wildcard.scripts,!scripts-cert,!scripts,!sql,!sipb-ether
     56        hostgroup_name  scripts-real
     57        alias   All physical scripts servers
     58        members b-k,b-m,k-s,o-f,r-f,r-b,s-b
    5959}
  • noc/nagios/services.cfg

    r900 r960  
    108108        use     scripts-service
    109109        hostgroup_name  scripts-user
     110        service_description     HTTP
     111        notification_period     afs
     112        check_command   check_http_heartbeat
     113        contact_groups  scripts
     114}
     115
     116define service {
     117        use     scripts-service
     118        hostgroup_name          scripts-user
     119        service_description     HTTPS
     120        notification_period     afs
     121        check_command   check_https_cert!14
     122        contact_groups  scripts
     123}
     124
     125define service {
     126        use     scripts-service
     127        hostgroup_name  scripts-user
    110128        service_description     NSCD
    111129        check_command   check_remote_procs_u!1:256!1:512!nscd
Note: See TracChangeset for help on using the changeset viewer.