Xymon Mailing List Archive search

Macro confusion

list Steve Coile
Fri, 6 Mar 2015 14:46:56 -0500
Message-Id: <CAHr=user-ddb8229eb032@xymon.invalid>

Given two different, but trivial alerts.cfg files:

--- file 1 ---
$H=HOST=a,b

SERVICE=conn $H

--- file 2 ---
$H=HOST=a,b

$H SERVICE=conn

---

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.

What gives?

-- 

*Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive
<http://www.mcclatchyinteractive.com/>;
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX