-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspeedport.cfg
75 lines (54 loc) · 3.05 KB
/
speedport.cfg
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
###############################################################################
#
# HOST DEFINITIONS
#
###############################################################################
# Define the switch that we'll be monitoring
define host {
use generic-switch ; Inherit default values from a template
host_name speedport ; The name we're giving to this switch
alias SpeedPort Plus ; A longer name associated with the switch
address 192.168.3.1 ; IP address of the switch
hostgroups switches ; Host groups this switch is associated with
}
###############################################################################
#
# HOST GROUP DEFINITIONS
#
###############################################################################
# Create a new hostgroup for switches
define hostgroup {
hostgroup_name switches ; The name of the hostgroup
alias Network Switches ; Long name of the group
}
###############################################################################
#
# COMMAND DEFINITION
#
###############################################################################
define command {
command_name check_speedport
command_line $USER1$/check_speedport
}
###############################################################################
#
# SERVICE DEFINITIONS
#
###############################################################################
# Create a service to PING to switch
define service {
use generic-service ; Inherit values from a template
host_name speedport ; The name of the host the service is associated with
service_description PING ; The service description
check_command check_ping!200.0,20%!600.0,60% ; The command used to monitor the service
check_interval 5 ; Check the service every 5 minutes under normal conditions
retry_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
define service {
use generic-service ; Inherit values from a template
host_name speedport ; The name of the host the service is associated with
service_description vDSL ; The service description
check_command check_speedport ; The command used to monitor the service
check_interval 5 ; Check the service every 5 minutes under normal conditions
retry_interval 1 ; Re-check the service every minute until its final/hard state is determined
}