Define service for all hosts that belong to all the given ho
Posted: Fri Jul 03, 2015 4:20 am
I can not figure out how to create a service for all hosts that are in 2 given hostgroups.
Example hostgroups:
Now I need a service for all hosts that are in both groups. In that case only for hostB
I tried to create a service like that. But this will include all prod servers
Example hostgroups:
Code: Select all
oracle: hostA, hostB
prod: hostB, hostCI tried to create a service like that. But this will include all prod servers
Code: Select all
define service {
service_description Oracle Filesystems
use Oracle_PROD_Service
hostgroup_name oracle,prod
check_interval 3
check_command check_nrpe!check_fs!pkgname:oracle:95:99!!!!!!!
register 1
}