Xymon Mailing List Archive search

Monitoring process with regex - fails with 4.3.4 and BBWin 0.13

3 messages in this thread

list Seiichirou Hiraoka · Thu, 26 Nov 2015 16:51:08 +0900 ·
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.

Thank you very much.
list Japheth Cleaver · Fri, 27 Nov 2015 20:12:27 -0800 ·
quoted from Seiichirou Hiraoka

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
list Seiichirou Hiraoka · Mon, 21 Dec 2015 23:32:12 +0900 ·
Hello Cleaver,

Thank you for your advice.
I try to converting * to .*, but now the same result.

Will the regular expression does not work in the setting of BBWin.cfg?

Someone please tell me.

2015-11-28 13:12 GMT+09:00 J.C. Cleaver <user-87556346d4af@xymon.invalid>:
quoted from Seiichirou Hiraoka

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