<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 29 Mar 2010, at 20:49, Max wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>For Nagios 3.0.3 and 3.2.0.<br><br><a href="http://github.com/netoisstools/Nagios-3-Patches/blob/master/xodtemplate.c.patch">http://github.com/netoisstools/Nagios-3-Patches/blob/master/xodtemplate.c.patch</a><br><br>Patched to provide better diagnostic output when a regular expression<br>compile (regcomp()) in xodtemplate.c fails.<br><br>Example output post-patch for a file file.cfg with a hostgroup line of<br><br>hostgroups +my_correct_additive_group,another_group,+my_host_group<br><br>Error: Invalid regular expression '+my_host_group' found while<br>expanding host group names in file '/path/to/file.cfg' starting on<br>line 23.  NOTE: regex could be inherited from a template in a<br>different file.<br></div></blockquote><div><br></div>Hi Max,</div><div><br></div><div>This looks useful. Can you provide some sample configurations in t/etc and a test script to look for each of those specific error messages when this occurs? See CVS HEAD and t/910-service.t as an example.</div><div><br></div><div>Ton</div><div><br></div></body></html>