summaryrefslogtreecommitdiffstats
path: root/Monitoring/nagios/conf/services.cfg
blob: e3a61eb0945f908eb9bdbfee19e553445b40fb4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# check that web services are running
define service {
        hostgroup_name                  http-servers
        service_description             HTTP
  check_command                   check_http
        use                             generic-service
  notification_interval           0 ; set > 0 if you want to be renotified
}

# check that ssh services are running
define service {
        hostgroup_name                  ssh-servers
        service_description             SSH
  check_command                   check_ssh
        use                             generic-service
  notification_interval           0 ; set > 0 if you want to be renotified
}

# check that ping-only hosts are up
define service {
#        hostgroup_name                  ping-servers
        service_description             PING
  check_command                   check_ping!100.0,20%!500.0,60%
        use                             generic-service
  notification_interval           0 ; set > 0 if you want to be renotified
}