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<[email protected]> 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 the code, this appears to be handled around line 9154
>> (both above and below) of xodtemplate.c. I don't see any tests for
>> regexp_matches so I'm about 80% confident this just doesn't work for
>> hostgroup_members. My code reading-fu may be weak though. I am
>> assuming that the OP did have regexp matching enabled when testing.
>>     
>
> Tested this to verify it, and you and Dale are correct, the parser
> does not understand '!' as a subtractive prefix for a group name in
> the hostgroup_members attribute of a hostgroup definition.
>
> - Max
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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
>   


-- 
Dale J. Chatham
[email protected]

                                         _.oo.
                 _.u[[/;:,.         .odMMMMMM'
              .o888UU[[[/;:-.  ....@p^    MMM^
             oN88888UU[[[/;::-.        dP^
            dNMMNN888UU[[[/;:--.   ....@p^
           ,MMMMMMN888UU[[/;::-. o...@^
           NNMMMNN888UU[[[/~...@p^
           888888888UU[[[/o...@^-..
          oI8888UU[[[/o...@p^:--..
       ....@^  YUU[[[/o...@^;::---..
     oMP     ^/o...@p^;:::---..
  .dMMM    ....@^ ^;::---...
 dmmmm...@^`       `^^^^
YMMMUP^
 ^^


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to