Code: Select all
define service {
name check_mk_default
register 0
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 0
flap_detection_enabled 1
failure_prediction_enabled 1
process_perf_data 0
retain_status_information 1
retain_nonstatus_information 1
notification_interval 0
is_volatile 0
normal_check_interval 1
retry_check_interval 1
max_check_attempts 1
notification_options u,c,w,r,f,s
notification_period 24X7
check_period 24X7
}
Code: Select all
define service {
name check_mk_passive
use check_mk_default
register 0
active_checks_enabled 0
}
Code: Select all
define service {
use check_mk_passive
host_name host000000775
service_description Permissions: /home/duttaujj
check_interval 1
service_groups Directories permissions
notifications_enabled 0
notification_period 24x7_sans_reboots
normal_check_interval 5
max_check_attempts 3
check_command check_mk-directories_permissions
}
Code: Select all
define command {
command_name check_mk-directories_permissions
command_line echo "ERROR - you did an active check on this service - please disable active checks" && exit 1
}