Perhaps something along the lines of? (which doesn't work btw)
Code: Select all
define host{
name test-box
use generic-host
contact_groups admins
host_notification_period never
services_notification_period never
}
Code: Select all
define host{
name test-box
use generic-host
contact_groups admins
host_notification_period never
services_notification_period never
}
Code: Select all
#Disable notifications for this service
notifications_enabled 0
Code: Select all
define host{
name test-host-template
register 0
use generic-host
notifications_enabled 0
}
define service{
name test-service-template
register 0
use generic-service
notifications_enabled 0
}
Code: Select all
define host{
name test-box
use test-host-template
contact_groups admins
}
define service{
name test-box-service
use test-service-template
contact_groups admins
}
Code: Select all
define service {
hostgroup_name real-servers,test-servers
service_description Current Load
check_command check_nrpe_1arg!check_load_nrpe
use generic-service
}
Code: Select all
define service {
hostgroup_name real-servers
service_description Current Load
check_command check_nrpe_1arg!check_load_nrpe
use generic-service
}
Code: Select all
define service {
hostgroup_name test-servers
service_description Current Load
check_command check_nrpe_1arg!check_load_nrpe
use test-service-template
}
Code: Select all
host_notification_period never
services_notification_period never
Code: Select all
define host{
name test-box
use generic-host
contact_groups admins
notification_period none
}
Code: Select all
define service{
name nonprod-service
use prod-service
notifications_enabled 0
hostgroup_name nonprod
}
Code: Select all
define servicedependency{
host_name real-server
service_description some-service
dependent_hostgroup_name test-servers
dependent_service_description *
execution_failure_criteria n
notification_failure_criteria u,w,c,o,p
}