[Nagios-users] A newbie configuration question

stan stanb at panix.com
Thu Dec 30 17:27:02 UTC 2010


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?

-- 
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?




More information about the Nagios-users mailing list