Xymon Mailing List Archive search

Monitoring process with regex - fails with 4.3.4 and BBWin 0.13

list Japheth Cleaver
Fri, 27 Nov 2015 20:12:27 -0800
Message-Id: <user-2e51553aa55b@xymon.invalid>


On Wed, November 25, 2015 11:51 pm, Seiichirou Hiraoka wrote:
Hello

I will use the BBWin 0.13 in Windows Server 2012, the Xymon 4.3.4 on
CentOS
I use.

In order to monitor the regular expression to the Windows process, we set
as follows in the BBWin.cfg of Windows Server.

<procs>
   <setting name "notepad" rule = "= 2" alarmcolor = "red" />
   <setting name "% notepad C: \ Users \ Administrator \ Desktop \
test.txt" rule = "= 2" alarmcolor = "red" />
   <setting name "% notepad *" rule = "= 2" alarmcolor = "red" />
   <setting name "% ^ notepad *" rule = "= 2" alarmcolor = "red" />
</ procs>

The first line "notepad" only I've correctly match, the rest regular
expression
does not match.
Please tell me if there is a mistake.
Hi,

I'm not that experienced with BBWin (or at least, not in the last 10 years
or so), but have you tried converting the "*" to ".*"? I'm not sure which
style of regex is used there for evaluation.


-jc