thanks in advance,
mtf
Code: Select all
define service{
use generic-service ; Inherit default values from a template
host_name server_one
service_description Support Ticketing System
check_command check_http!-S -p 80 -u /index.php -N
notification_period test_hours
contact_groups test_group
check_interval 1
notification_options c,r,f
}
define timeperiod{
name test_hours
timeperiod_name test_hours
alias test_hours
use workhours,first_weekend,second_weekend,third_weekend,fourth_weekend,fifth_weekend,dav_monday,dav_tuesday,dav_wednesday,dav_thursday,24x7
}
define contactgroup{
contactgroup_name test_group
alias test_group
members carl
}
define contact{
contact_name carl ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Carl Weathers ; Full name of user
email carl@workdomain.com
# service_notification_options u,c,r,f,as
service_notification_options w,c,r,f
host_notification_period 24x7
service_notification_period 24x7
}