blob: b47329d57e34062d5e5fe7e9466e8282b15f9834 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
define host {
name unit
use generic-host
check_period 24x7 ; By default, Linux hosts are checked round the clock
check_interval 5 ; Actively check the host every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
max_check_attempts 10 ; Check each Linux host 10 times (max)
notification_period 24x7 ; Linux admins hate to be woken up, so we only notify during the day
notification_interval 1440 ; Resend notifications every 2 hours
notification_options d,u,r ; Only send notifications for specific host states
contact_groups pdv-admins ; Notifications get sent to the admins by default
check_command check_host!500,10%!2000,40%
register 0
}
define host {
name switch
use unit
icon_image switch.gif
vrml_image switch.gd2
statusmap_image switch.gd2
register 0
}
define host {
name server
use unit
icon_image rack-server.gif
vrml_image rack-server.gd2
statusmap_image rack-server.gd2
register 0
}
define host {
name cluster
use server
register 0
}
|