Notification via Service Groups

Has anyone ever done contact notification via service groups?

I tried just using the contact_group line in the service_group definition, but it just caused an error.

Help please.

Thanks

John

This isn’t possible. The service group definition only accepts three lines: servicegroup_name , alias, and members.
The servicegroup definition is just for making the display in the CGI’s prettier.

For you, i recommend making different service templates. Make a template for each group of services you have, each with your different contact groups. Then in your service statements:
define service{
use svc_template_1
service_description Operations Server 1
… …
}
or
define service{
use svc_template_2
service_description Development Team server 1
… …
}

etc etc… read the docs.
nagios.sourceforge.net/docs/2_0/xodtemplate.html