<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Group the hosts rather than the services, group the hosts in the host
config file as such<br>
<br>
define hostgroup{<br>
hostgroup_name rtp_production_aix_servers<br>
alias RTP Production AIX Servers<br>
contact_groups sysadmins,noc,support,support-pagers<br>
members
inqr0,inqr1,inqr2,inqr3,inqr4,hag0r,hag1r,hag2r,hag3r,wagr0,osar0,osar1,igwr0,gwlom0,gwlom1,bldr,wsbldr,ldds,mis1,inqedar0,inqr5<br>
} <br>
<br>
Define this in all services you want for these hosts as such,<br>
<br>
define service{ <br>
service_description Connectivity<br>
use rtp-service-standard<br>
hostgroup_name
rtp_production_aix_servers,rtp_production_linux_servers,rtp_new_box_temp<br>
contact_groups sysadmins,noc,support,support-pagers<br>
check_command check_fping<br>
} <br>
<br>
<br>
Spencer<br>
<br>
Vlad Didenko wrote:
<blockquote
cite="midD48830167A6937459C5F3B56B6E6A873302A59@exchsvr1.getco.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="MS Exchange Server version 6.0.6487.1">
<title>service_group definition</title>
<!-- Converted from text/rtf format -->
<p><span lang="en-us"><font face="Arial" size="2">Hello, collagues!</font></span>
</p>
<p><span lang="en-us"><font face="Arial" size="2">I was unable to
find how to define service groups in the documentation or in FAQ. I
need to define a set of services and assign it to a group of hosts. So
that is a host gets added to a group it automatically gets appropriate
checks and if new service is added to be check in the service group all
hosts in that host group would get it. Corresponding removals would be
nice to get working as well.</font></span></p>
<p><span lang="en-us"><font face="Arial" size="2">I am running the
1.2 version. Any suggestions?</font></span>
</p>
<p><span lang="en-us"><font face="Arial" size="2">Sincerely,</font></span>
<br>
<span lang="en-us"><font face="Arial" size="2">Vlad.</font></span><span
lang="ru"></span><span lang="ru"></span>
</p>
</blockquote>
<br>
</body>
</html>