How To Create Service Group ??

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

How To Create Service Group ??

Post by mohsin2011 »

Hi, i have been searching for a while i have successfully added hosts and can monitor any application and service that i want but my nagios core service group not showing any thing i want to add service group ... .
Please tell me in detail that how can we add service group or let me know any document about it hopes to listen from you soon ...

Thanks in Advance
xvvivan
Posts: 8
Joined: Thu Oct 27, 2011 10:31 am
Location: Varese - Italy

Re: How To Create Service Group ??

Post by xvvivan »

Hi,

you muste define a service group (http://nagios.sourceforge.net/docs/3_0/ ... rvicegroup) look like this:

Code: Select all

define servicegroup{
	servicegroup_name	myservicegroup
	alias	alias
   	}
and in service definition add servicegroups directive (http://nagios.sourceforge.net/docs/3_0/ ... ml#service)

Code: Select all

define service{
        ...
	servicegroups	myservicegroup
	...
   	}
Regards

Ivan
Locked