members directive

Ethan Galstad nagios at nagios.org
Sat Aug 31 03:47:15 CEST 2002


The current code in CVS now supports '*' in members directive of 
hostgroup definitions.


On 30 Aug 2002 at 16:43, Nikolai Bamburov wrote:

> Thanks,
> 
> but it's not supported in Host Group Definition - you need to edit
> hostgroups.cfg every time you add a new host in hosts.cfg.
> This:
> define hostgroup {
> hostgroup_name                 all
> alias                          All
> contact_groups                 support
> members                        *
> }
> is not work, and: "Each host that you define must be a member of at least
> one host group".
> 
> What if i have 2000 hosts and need to define these in one hostgroup?
> I would be nice to be able add hosts in hosts.cfg without editing
> hostgroups.cfg - exact as servises:
> define service {
> use                            generic-service
> host_name                      *
> }
> 
> Any idea?
> Thnx in advance,
> Niko
> 
> ----- Original Message -----
> From: "Bishop, Dean" <dean.bishop at tcdsb.org>
> To: "'Nikolai Bamburov'" <niko at de.clara.net>;
> <nagios-users at lists.sourceforge.net>
> Sent: Friday, August 30, 2002 3:44 PM
> Subject: RE: [Nagios-users] members directive
> 
> 
> > Good morning,
> >
> > Wildcards are supported already.
> >
> > from the "Time-Saving Tricks For Template-Based Object Definitions"
> Section
> > of the Nagios documentation:
> >
> > Host Escalations
> >
> > Multiple host_name and/or hostgroup_name members. Host name can be
> wildcard
> > (*) - in this case, escalation get applied to all hosts that are
> defined...
> >
> > later,
> > dean
> >
> > -----Original Message-----
> > From: Nikolai Bamburov [mailto:niko at de.clara.net]
> > Sent: Friday, August 30, 2002 9:24 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] members directive
> >
> >
> > How long can be a "members" string in "hostgroup" object?
> > Has anybody an trick - how to define all hosts in members directive.
> > It would be nice to have a possibility of using wildcard in members
> > directive.
> >
> > Regards,
> > Niko
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list