<div dir="ltr">This also works:<div><br></div><div>HOST=* $H SERVICE=conn<br></div><div><br></div><div style>So it appears that the parser specifically doesn't like macros referenced at the beginning of a line if they aren't the only thing on the line?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div><br></div>-- <div><b>Steve Coile<br></b>Senior Network and Systems Engineer, <a href="http://www.mcclatchyinteractive.com/" target="_blank">McClatchy Interactive</a><div><font size="1">Office: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300</font></div></div></div></div>
<br><div class="gmail_quote">On Fri, Mar 6, 2015 at 2:46 PM, Steve Coile <span dir="ltr"><<a href="mailto:scoile@mcclatchyinteractive.com" target="_blank">scoile@mcclatchyinteractive.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Given two different, but trivial alerts.cfg files:</div><div><br></div><div>--- file 1 ---</div><div><div><div>$H=HOST=a,b</div><div><br></div><div>SERVICE=conn $H</div></div><div><br></div></div><div>--- file 2 ---</div><div><div>$H=HOST=a,b</div><div><br></div><div>$H SERVICE=conn</div><div><br></div></div><div>---</div><div><br></div><div>The first file will match hosts a and b but not c; the second file will match nothing.  Take "SERVICE=conn" out of file 2, it then properly matches a and b but not c.</div><div><div><div><br></div><div>What gives?</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <div><b>Steve Coile<br></b>Senior Network and Systems Engineer, <a href="http://www.mcclatchyinteractive.com/" target="_blank">McClatchy Interactive</a><div><font size="1">Office: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300</font></div></div></font></span></div></div>
</div>
</blockquote></div><br></div>