Question about service definition...

Jason Martin jhmartin at toger.us
Tue Jan 20 21:53:31 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't think you can use both host_name and hostgroup_name within the 
same definition.

- -Jason Martin

On Tue, 20 Jan 2004, Jack Doyle wrote:

> Well... I don't need multiple hostgroup names... Just one.  I was just
> asking... But... It does work if I put one and don't define host_name at
> all?
> 
> -----Original Message-----
> From: Jason Martin [mailto:jhmartin at toger.us] 
> Sent: Tuesday, January 20, 2004 3:44 PM
> To: Jack Doyle
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Question about service definition...
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Yes, although I haven't personally tried putting multiple 
> hostgroup_name's in  like that.
> 
> - -Jason Martin
> On Tue, 20 Jan 2004, Jack Doyle wrote:
> 
> > So when creating a service definition, don't put:
> > 
> > Host_name   host1,host2,host3,...
> > 
> > Put instead:
> > 
> > Hostgroup_name   hostgroup1,hostgroup2,...
> > 
> > ?
> > 
> > -----Original Message-----
> > From: Jason Martin [mailto:jhmartin at toger.us]
> > Sent: Tuesday, January 20, 2004 3:38 PM
> > To: Jack Doyle
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Question about service definition...
> > 
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > > When defining a service, I know I can list multiple hosts by
> > > seperating them with commas.  Can I put a hostgroup name there 
> > > instead?
> > No, but instead of the host_name directive you can use the 
> > hostgroup_name directive.
> > 
> > - -Jason Martin
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.3.3 (GNU/Linux)
> > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
> > 
> > iD8DBQFADZGkl2ODWuqVSBMRAnxTAJ0UQ7JyBpjA+mwF50LaQ/vq9QwFNACeKW9S
> > 0vhtghlmXentMoGDPAY6N94=
> > =jEPK
> > -----END PGP SIGNATURE-----
> > 
> > 
> > -------------------------------------------------------
> > 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
> > 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.3 (GNU/Linux)
> Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
> 
> iD8DBQFADZMnl2ODWuqVSBMRAmp4AJ4tR91001YxQhNPuWqL/gs9BW1HPACfTSsK
> Jd5wxo9p7Pg+XXJwLHYXsc8=
> =J69g
> -----END PGP SIGNATURE-----
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFADZVVl2ODWuqVSBMRAnYQAKCRfL5PB9rUJxnVQusG9P3BgWbzcgCeM20t
5f4HUHDmulUCaHhZdZxpMhc=
=Jvg1
-----END PGP SIGNATURE-----


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