202 lines
4.7 KiB
Plaintext
202 lines
4.7 KiB
Plaintext
########################################
|
|
# NAGIOS OBJECT CACHE FILE
|
|
#
|
|
# THIS FILE IS AUTOMATICALLY GENERATED
|
|
# BY NAGIOS. DO NOT MODIFY THIS FILE!
|
|
#
|
|
# Created: Thu May 14 23:56:31 2009
|
|
########################################
|
|
|
|
define timeperiod {
|
|
timeperiod_name none
|
|
alias Nothing
|
|
}
|
|
|
|
define command {
|
|
command_name check_me
|
|
command_line /usr/local/nagios/libexec/check_me
|
|
}
|
|
|
|
define command {
|
|
command_name notify-none
|
|
command_line /usr/local/nagios/notifications/notify-none
|
|
}
|
|
|
|
define contactgroup {
|
|
contactgroup_name causetestfailure
|
|
alias This causes a test failure by having a comma separated list before the empty contactgroup
|
|
members second,nagiosadmin
|
|
}
|
|
|
|
define contactgroup {
|
|
contactgroup_name normalhostcontactgroup
|
|
alias This contact group is assigned to a host normally
|
|
members second
|
|
}
|
|
|
|
define contactgroup {
|
|
contactgroup_name empty
|
|
alias No members defined - this should pass validation
|
|
}
|
|
|
|
define contact {
|
|
contact_name nagiosadmin
|
|
service_notification_period none
|
|
host_notification_period none
|
|
service_notification_options w,u,c,r,f,s
|
|
host_notification_options d,u,r,f,s
|
|
service_notification_commands notify-none
|
|
host_notification_commands notify-none
|
|
host_notifications_enabled 0
|
|
service_notifications_enabled 0
|
|
can_submit_commands 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
}
|
|
|
|
define contact {
|
|
contact_name second
|
|
service_notification_period none
|
|
host_notification_period none
|
|
service_notification_options w,u,c,r,f,s
|
|
host_notification_options d,u,r,f,s
|
|
service_notification_commands notify-none
|
|
host_notification_commands notify-none
|
|
host_notifications_enabled 0
|
|
service_notifications_enabled 0
|
|
can_submit_commands 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
}
|
|
|
|
define host {
|
|
host_name host1
|
|
alias host1 test
|
|
address 192.168.1.1
|
|
check_period none
|
|
contacts nagiosadmin
|
|
contact_groups normalhostcontactgroup
|
|
notification_period none
|
|
initial_state o
|
|
check_interval 5.000000
|
|
retry_interval 1.000000
|
|
max_check_attempts 2
|
|
active_checks_enabled 1
|
|
passive_checks_enabled 1
|
|
obsess_over_host 1
|
|
event_handler_enabled 1
|
|
low_flap_threshold 0.000000
|
|
high_flap_threshold 0.000000
|
|
flap_detection_enabled 1
|
|
flap_detection_options o,d,u
|
|
freshness_threshold 0
|
|
check_freshness 0
|
|
notification_options d,u,r,f,s
|
|
notifications_enabled 1
|
|
notification_interval 60.000000
|
|
first_notification_delay 0.000000
|
|
stalking_options n
|
|
process_perf_data 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
}
|
|
|
|
define host {
|
|
host_name host2
|
|
alias host2 test
|
|
address 192.168.1.2
|
|
check_period none
|
|
contacts nagiosadmin
|
|
notification_period none
|
|
initial_state o
|
|
check_interval 5.000000
|
|
retry_interval 1.000000
|
|
max_check_attempts 2
|
|
active_checks_enabled 1
|
|
passive_checks_enabled 1
|
|
obsess_over_host 1
|
|
event_handler_enabled 1
|
|
low_flap_threshold 0.000000
|
|
high_flap_threshold 0.000000
|
|
flap_detection_enabled 1
|
|
flap_detection_options o,d,u
|
|
freshness_threshold 0
|
|
check_freshness 0
|
|
notification_options d,u,r,f,s
|
|
notifications_enabled 1
|
|
notification_interval 60.000000
|
|
first_notification_delay 0.000000
|
|
stalking_options n
|
|
process_perf_data 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
}
|
|
|
|
define service {
|
|
host_name host1
|
|
service_description Dummy service
|
|
check_period none
|
|
check_command check_me
|
|
contacts nagiosadmin
|
|
contact_groups normalhostcontactgroup
|
|
notification_period none
|
|
initial_state o
|
|
check_interval 32.000000
|
|
retry_interval 1.000000
|
|
max_check_attempts 3
|
|
is_volatile 0
|
|
parallelize_check 1
|
|
active_checks_enabled 1
|
|
passive_checks_enabled 1
|
|
obsess_over_service 1
|
|
event_handler_enabled 1
|
|
low_flap_threshold 0.000000
|
|
high_flap_threshold 0.000000
|
|
flap_detection_enabled 1
|
|
flap_detection_options o,w,u,c
|
|
freshness_threshold 0
|
|
check_freshness 0
|
|
notification_options u,w,c,r,f,s
|
|
notifications_enabled 1
|
|
notification_interval 60.000000
|
|
first_notification_delay 0.000000
|
|
stalking_options n
|
|
process_perf_data 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
}
|
|
|
|
define service {
|
|
host_name host2
|
|
service_description Dummy service
|
|
check_period none
|
|
check_command check_me
|
|
contacts nagiosadmin
|
|
notification_period none
|
|
initial_state o
|
|
check_interval 32.000000
|
|
retry_interval 1.000000
|
|
max_check_attempts 3
|
|
is_volatile 0
|
|
parallelize_check 1
|
|
active_checks_enabled 1
|
|
passive_checks_enabled 1
|
|
obsess_over_service 1
|
|
event_handler_enabled 1
|
|
low_flap_threshold 0.000000
|
|
high_flap_threshold 0.000000
|
|
flap_detection_enabled 1
|
|
flap_detection_options o,w,u,c
|
|
freshness_threshold 0
|
|
check_freshness 0
|
|
notification_options u,w,c,r,f,s
|
|
notifications_enabled 1
|
|
notification_interval 60.000000
|
|
first_notification_delay 0.000000
|
|
stalking_options n
|
|
process_perf_data 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
}
|
|
|