<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.3790.5080" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>
<DIV>> Well, no. This is not illogical, just not familiar to you, that's all. We're not dealing with a shell script, but a highly-specific configuration file. </DIV></DIV>
<DIV> </DIV>
<DIV>I agree, it is logical (in its own twisted way ;-). I assume the whole parameter is grabbed as a block and parsed afterwards. I remember some unusual parsing with big brother because of it operating out of the shell environment, perhaps this has grown out of that.... </DIV>
<DIV> </DIV>
<DIV>> The quoting is consistent across Xymon configuration files.</DIV>
<DIV> </DIV>
<DIV>Well not in this case, eg in analysis.cfg:  </DIV>
<DIV>    DISK    "/yada bing bong" 90 95</DIV>
<DIV>it isn't "DISK /yada bing bong". Same in hosts.cfg: </DIV>
<DIV>     0.0.0.0  whatever.com.au   # NAME:"What Ever" </DIV>
<DIV>not: "NAME:What Ever".  </DIV>
<DIV> </DIV>
<DIV>thanks for your help and your work with xymon. It is a great system.</DIV>
<DIV> </DIV>
<DIV>cheers, Phil</DIV>
<DIV><BR> </DIV>
<DIV> </DIV>
<DIV><BR><SPAN style="FONT-SIZE: 0px">>>> </SPAN><BR></DIV>
<TABLE style="FONT-SIZE: 1em; MARGIN: 0px 0px 0px 15px" bgColor=#f3f3f3 border=0>
<TBODY>
<TR>
<TD>
<DIV style="PADDING-LEFT: 7px; BORDER-LEFT: #050505 1px solid">
<DIV dir=ltr>On 6 March 2013 11:04, Phil Crooker <SPAN dir=ltr><<A href="mailto:Phil.Crooker@orix.com.au" target=_blank>Phil.Crooker@orix.com.au</A>></SPAN> wrote:<BR>
<DIV class=gmail_extra>
<DIV class=gmail_quote>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma,sans-serif">Thanks, it does work on ignore statements with regular expressions but not with simple strings:</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma,sans-serif"><BR></DIV>
<DIV><FONT face="Tahoma, sans-serif">LOG eventlog_application %^warning COLOR=yellow "IGNORE=No externals have been specified"</FONT></DIV>
<DIV><SPAN style="FONT-FAMILY: Tahoma,sans-serif">LOG eventlog_application %^warning COLOR=yellow IGNORE="No externals have been specified"</SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I would have thought both of these would work. Might be a bug.</DIV>
<DIV></DIV>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><FONT style="FONT-SIZE: 10pt" face="Tahoma, sans-serif">If I escape the spaces or if I add the %, it works.</FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Well that's something.</DIV>
<DIV></DIV>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><FONT style="FONT-SIZE: 10pt" face="Tahoma, sans-serif"></FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma,sans-serif">But still, this is not logical - quotes are normally after the equal sign </SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Well, no. This is not illogical, just not familiar to you, that's all. We're not dealing with a shell script, but a highly-specific configuration file. The quoting is consistent across Xymon configuration files.</DIV>
<DIV><BR></DIV>
<DIV>But the fact that the quoted string with spaces doesn't match is probably a bug.</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma,sans-serif">and of course it shouldn't be necessary to make this into a regex when it isn't.</SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>That's true.</DIV>
<DIV><BR></DIV>
<DIV>Cheers</DIV>
<DIV>Jeremy</DIV></DIV><BR></DIV></DIV></DIV></TD></TR></TBODY></TABLE></BODY></HTML>