53 lines
1013 B
INI
53 lines
1013 B
INI
define host {
|
|
host_name host1
|
|
alias host1 test
|
|
address 192.168.1.1
|
|
max_check_attempts 2
|
|
check_period none
|
|
contacts nagiosadmin
|
|
notification_interval 60
|
|
notification_period none
|
|
}
|
|
define host {
|
|
host_name host2
|
|
alias host2 test
|
|
address 192.168.2.2
|
|
max_check_attempts 2
|
|
check_period none
|
|
contacts nagiosadmin
|
|
notification_interval 60
|
|
notification_period none
|
|
}
|
|
define host {
|
|
host_name host3
|
|
alias host3 test
|
|
address 192.168.3.3
|
|
max_check_attempts 2
|
|
check_period none
|
|
contacts nagiosadmin
|
|
notification_interval 60
|
|
notification_period none
|
|
}
|
|
define host {
|
|
host_name host4
|
|
alias host4 test
|
|
address 192.168.4.4
|
|
max_check_attempts 2
|
|
check_period none
|
|
contacts nagiosadmin
|
|
notification_interval 60
|
|
notification_period none
|
|
}
|
|
define service {
|
|
host_name host1,host2,host3,host4
|
|
service_description Dummy service
|
|
check_command check_me
|
|
max_check_attempts 3
|
|
check_interval 32
|
|
retry_interval 1
|
|
check_period none
|
|
notification_interval 60
|
|
notification_period none
|
|
contacts nagiosadmin
|
|
}
|