A newbie configuration question

stan stanb at panix.com
Thu Dec 30 18:50:27 CET 2010


On Thu, Dec 30, 2010 at 12:27:02PM -0500, stan wrote:
> On Thu, Dec 30, 2010 at 01:30:45PM +0000, Jim Avery wrote:
> > On 30 December 2010 12:44, stan <stanb at panix.com> wrote:
> > 
> > 
> > > I am still confused by why the service def's have a filed for hostname. As
> > > you point out, services don't necisarily relate to hosts. They are
> > > functions provided, or statuses of a machine. and I would think thta
> > > servicegroups would be where the assoctation betwen the service, and
> > > thehosts that you want to check for that service wouldbe.
> > >
> > > Am I missing something?
> > >
> > 
> > Oh, I see.
> > 
> > No, I don't think you are missing anything.
> > 
> OK, I thoguht I had a handle on tnis, but now I am confised again.
> 
> I wanted to create a config directory for services, just like I have for
> hosts. In this direcotry I intended to have a file defining each service I
> want to check. then one level up in the directory tree, I was going to
> create a hostgrous file and a servicegroups file, and I was going to define
> which hosts provide which service, and which service is provided by which
> hosts.
> 
> However, looking at the doc, it appears that hostname is mandontory in a
> service definition. Is there a way I can work around this, to get the
> hosts/services symetry that I am trying to acheive?
> 
Maybe I just figured this out.

Can I build my service definition files as incomplete defs, and then "use"
the resultant template in the servicegroup file, where I will fill in the
approriate members?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list