FW: error message "hostgroup has no members"
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Wed Nov 20 16:17:00 CET 2002
With Postfix, you have the option of downloading PCRE (Perl Compatible
Regular Expressions) and having it included in your build (depending on your
configure options). I don't suppose this sort of approach would be viable
for Nagios...?
Alternatively, a config file preprocessor which takes whatever regexes and
builds out an extra config file or two (regenerated each time the preflight
check is done).
Food for thought.
jc
> -----Original Message-----
> From: Ethan Galstad [mailto:nagios at nagios.org]
> Sent: Tuesday, November 19, 2002 7:57 PM
> To: nagios-users
> Subject: Re: FW: [Nagios-users] error message "hostgroup has
> no members"
>
>
> An asterisk (*) is simply used to indicate all hosts, services,
> whatever. What you're trying to do (pattern matching) is not yet
> supported. So basically you can't use "HOST*" to specify all hosts
> that have names starting with "HOST".
>
>
>
> On 19 Nov 2002 at 14:52, Anoop Atre wrote:
>
> > OK the message below was for the group...and now that Mike McClure
> > mentioned I do remember we had that option but it didn't
> work do we need
> > to make any other changes to have say NT* to work in hostgroups.cfg?
> >
> > ~
> >
> > -----Original Message-----
> > From: Anoop Atre [mailto:anoopa at hotmail.com]
> > Sent: Tuesday, November 19, 2002 2:47 PM
> > To: 'Bishop, Dean'
> > Subject: RE: [Nagios-users] error message "hostgroup has no members"
> >
> >
> > I think you are right you can't do wild cards in the
> hostgroups.cfg file
> > (I just tried it on my setup).
> >
> > members NT*,grpwise*,novell* >>> WRONG
> >
> > members NT-1,NT-2,grpwise-1,grpwise-2,novell-1,novell-2
> > >>> RIGHT
> >
> > ~
> >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
> > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> > > Of Bishop, Dean
> > > Sent: Tuesday, November 19, 2002 2:00 PM
> > > To: 'Jim Lane '; 'nagios-users at lists.sourceforge.net '
> > > Subject: RE: [Nagios-users] error message "hostgroup has
> no members"
> > >
> > >
> > > i don't think that you can use asterisks in the members
> directive of
> > > hostgroup definitions.
> > >
> > > Someone correct me if i am wrong.
> > >
> > > regards,
> > > dean
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: To learn the basics of securing
> > your web site with SSL, click here to get a FREE TRIAL of a Thawte
> > Server Certificate: http://www.gothawte.com/rd524.html
> > _______________________________________________
> > 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: To learn the basics of securing
> your web site with SSL, click here to get a FREE TRIAL of a Thawte
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> 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: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
More information about the Users
mailing list