Question about service definition...
Jack Doyle
jdoyle at lewisgaleclinic.com
Tue Jan 20 22:55:01 CET 2004
I don't believe so. I took it as separate line for host_name and
hostgroup_name
-----Original Message-----
From: Jamie Bohr [mailto:Jamie_Bohr at Agilent.com]
Sent: Tuesday, January 20, 2004 4:49 PM
To: jeff vier
Cc: Jason Martin; Jack Doyle; nagios-users
Subject: RE: [Nagios-users] Question about service definition...
So if I have this correct then:
define service {
service_description some_service_check
use generic-service
register 1
host_name host1,hostgroup_name1,host2,hostgroup_name2
...
}
docs/xodtemplate.html#service shows the host_name directive as a
required field and that host_name is the short name for the host. I
tried the above and had no success. Can someone point to documentation
of how, if possible, on how to add a hostgroup to a service definition?
Maybe even a >>> real <<< quick example as sown above.
Thank you for all you time and effort,
Jamie Bohr
On Tue, 2004-01-20 at 14:32, jeff vier wrote:
> On Tue, 2004-01-20 at 14:53, Jason Martin wrote:
> > I don't think you can use both host_name and hostgroup_name within
> > the
> > same definition.
>
> yes you can.
>
> comma-delimited, same as host_group.
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration See the
> breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> 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
--
Jamie Bohr
Agilent Technologies, Inc.
IT | Technical Computing
719-590-2396
Jamie_Bohr at Agilent.com
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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