Re: [Nagios-users] Hostgtroup question

2009-07-15 Thread Marc Powell
On Jul 15, 2009, at 7:21 AM, Dale J. Chatham wrote: > Apologies. 3.something... > > I can include hostgroups in another hostgroup, I just cannot > disinclude > them with a "!", or so it would seem. > > As a future feature request, I have two suggestions. > > First, is the disinclusion of hostg

Re: [Nagios-users] Hostgtroup question

2009-07-15 Thread Dale J. Chatham
Thanks for verifying. It seems both a logical and an easy thing to do, given it is done in service and serviceescalation definitions. Is this a sufficient place to bring this to light? Thanks, Dale Max wrote: > On Tue, Jul 14, 2009 at 5:33 PM, Marc Powell wrote: > >> "Regular expression

Re: [Nagios-users] Hostgtroup question

2009-07-15 Thread Dale J. Chatham
bingo! That seems to be the way it works. I would have hoped that anything that could have hostgtroup_members would act the same way and use the same code. Perhaps an oversight easily handled? I *CAN* use a template and include it in service/serviceescalation definitions that does essential

Re: [Nagios-users] Hostgtroup question

2009-07-15 Thread Dale J. Chatham
Apologies. 3.something... I can include hostgroups in another hostgroup, I just cannot disinclude them with a "!", or so it would seem. As a future feature request, I have two suggestions. First, is the disinclusion of hostgroups from another hostgroup. This is already done in service defini

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Max
On Tue, Jul 14, 2009 at 5:33 PM, Marc Powell wrote: > "Regular expressions can be used in any of the fields used in the > examples below (host names, hostgroup names, service names, and > servicegroup names)". > > note that 'hostgroup_members names' is not specifically mentioned. > > Diving into th

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Marc Powell
On Jul 14, 2009, at 3:45 PM, Mark Gius wrote: > This syntax works for me in service escalations (service and host > groups), as well as service definitions. I've not tried it in > hostgroups however. The behavior is sort of defined here > (http://nagios.sourceforge.net/docs/3_0/objecttrick

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Mark Gius
Marc Powell wrote: On Jul 14, 2009, at 2:26 PM, Morris, Patrick wrote: Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Max
On Tue, Jul 14, 2009 at 3:55 PM, Morris, Patrick wrote: >> According to >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup, you >> can have "sub" hostgroups.  So in theory he should be able to specify a >> hostgroup that contains every host, subtracting another group. > >

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Mark Gius
Morris, Patrick wrote: Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Marc Powell
On Jul 14, 2009, at 2:26 PM, Morris, Patrick wrote: > Hi Dale! > > On Tue, 14 Jul 2009, Dale J. Chatham wrote: > >> I don't seem to be able to do this: >> >> # vim:ts=4:ai:expandtabs >> # >> # >> define hostgroup { >> hostgroup_nameall-hst >> alias

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Morris, Patrick
On Tue, 14 Jul 2009, Mark Gius wrote: > Morris, Patrick wrote: > > Hi Dale! > > On Tue, 14 Jul 2009, Dale J. Chatham wrote: > > > > I don't seem to be able to do this: > > # vim:ts=4:ai:expandtabs > # > # > define hostgroup { > hostgroup_nameall-hst > al

Re: [Nagios-users] Hostgtroup question

2009-07-14 Thread Morris, Patrick
Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: > I don't seem to be able to do this: > > # vim:ts=4:ai:expandtabs > # > # > define hostgroup { > hostgroup_nameall-hst > alias all-hst > members

[Nagios-users] Hostgtroup question

2009-07-14 Thread Dale J. Chatham
I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members * } # vim:ts=4:ai:expandtabs # # define hostgroup {