Hello,
I am new to the board so I hope i have not over looked the answer anywhere on the board or google.
Here is my problems.
I have a hostgroup that has services assigned to it so when I add a server I just add it to the host group and get my services with out creating each service for each host. This works great.
The problem is now I have a users that would also like to get notified for a service that is defined in my hostgroup.
I have a service that uses a template that has a default contact_group and if I user the contact_groups +groupname it works for the services I define for the host but not for the hostgroup.
I hope this makes sense I have confused my self a few times tiring to figure out how to explain it.
EXAMPLE CONFIG :
HOST CONFIG FILE:
define host{
host_name aunix-server
use unix-servers
alias aunix-server
address xxx.xxx.xxx.xxx
parents unix-router
hostgroups unix-hosts
}
define service{
host_name aunix-server
use generic-service
contact_groups +user ( This works for this service )
service_description Free Space ( /users/dir)
check_command check_remote_disk!90!95!/users/dir
}
HOSTGROUP CONFIG FILE:
define service{
hostgroup_name unix-hosts
use generic-service
servicegroups unix-service
service_description Free Space ( /tmp )
check_command check_remote_disk!90!95!/tmp
}
define service{
hostgroup_name unix-hosts
use generic-service
servicegroups unix-service
service_description Free Space ( /usr )
check_command check_remote_disk!80!90!/usr
}