-
나기오스 타임 설정카테고리 없음 2019. 2. 15. 12:10
objects 폴더
------
timeperiods.cfg 설정파일
define timeperiod {
timeperiod_name apple (서비스)
alias apple (서비스)
sunday 09:30-18:00
monday 09:30-18:00
tuesday 09:30-18:00
wednesday 09:30-18:00
thursday 09:30-18:00
friday 09:30-18:00
saturday 09:30-18:00
}
---
localhost.cfg 설정파일
define service{
use generic-service-apple
host_name localhost
service_description HTTP apple error
check_command check_website!-w 10000 -c 15000 daum.net (url)
max_check_attempts 3
}
--------------
설정파일
templates.cfg
define service{
name generic-service-apple ; The 'name' of this service template (서비스)
active_checks_enabled 1 ; Active service checks are enabled
passive_checks_enabled 1 ; Passive service checks are enabled/accepted
parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
obsess_over_service 1 ; We should obsess over this service (if necessary)
check_freshness 0 ; Default is to NOT check service 'freshness'
notifications_enabled 1 ; Service notifications are enabled
event_handler_enabled 1 ; Service event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
is_volatile 0 ; The service is not volatile
check_period apple ; The service can be checked at any time of the day (서비스)
max_check_attempts 2 ; Re-check the service up to 3 times in order to determine its final (hard) state
normal_check_interval 3 ; Check the service every 10 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined
contact_groups admins ; Notifications get sent out to everyone in the 'admins' group
notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
notification_interval 0 ; Re-notify about service problems every hour
notification_period 24x7 ; Notifications can be sent out at any time
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}