Xymon Mailing List Archive search

Regex for PROC Check does not work.

5 messages in this thread

list Ari Syrup · Wed, 18 Jul 2007 17:55:17 +0900 ·
Hello,

I am using hobbit-4.2.0 and am having a problem for process check.


The following is a configuration of hobbit-clients.cfg I use.

        PROC    "%aciaprd.*java.*-Dprocess"


When I check the regular expression with hobbitd_client --test it seems ok.


Hostname (.=end, ?=dump, !=reload) [host_a]:

Test (cpu, mem, disk, proc, log, port): proc

To read 'ps' data from a file, enter '@FILENAME' at the prompt

ps command string: aciaprd  10953 10867  0 09:34 ?        00:00:02
/usr/java/j2sdk1.4.2_11/jre/bin/java
-Dprocess=cia-prd-automaton-IRSA_HSI_split -Dlog4j.debug=true

ps command string:

Process %aciaprd.*java.*-Dprocess color green: Count=1, min=1, max=-1


But the host_a html result actually shows red for the check. Can anyone
experienced this before? Can anyone help me, please.
list Steve Holmes · Wed, 18 Jul 2007 09:53:00 -0400 ·
There have been a number of threads about this kind of problem, vis: a PCRE
that should work, doesn't. Several of us have had the same problem, both in
the PROC check and in the LOG check. As far as I know, no resolution has
been found.

Steve Holmes
quoted from Ari Syrup


On 7/18/07, Ari Syrup <user-9edad2bba057@xymon.invalid> wrote:
Hello,

I am using hobbit-4.2.0 and am having a problem for process check.
The following is a configuration of hobbit-clients.cfg I use.

        PROC    "%aciaprd.*java.*-Dprocess"

When I check the regular expression with hobbitd_client --test it seems
ok.
Hostname (.=end, ?=dump, !=reload) [host_a]:

Test (cpu, mem, disk, proc, log, port): proc

To read 'ps' data from a file, enter '@FILENAME' at the prompt

ps command string: aciaprd  10953 10867  0 09:34 ?        00:00:02
/usr/java/j2sdk1.4.2_11/jre/bin/java
-Dprocess=cia-prd-automaton-IRSA_HSI_split -Dlog4j.debug=true

ps command string:

Process %aciaprd.*java.*-Dprocess color green: Count=1, min=1, max=-1

But the host_a html result actually shows red for the check. Can anyone
experienced this before? Can anyone help me, please.

list Ari Syrup · Wed, 18 Jul 2007 23:39:49 +0900 ·
Is it due to PCRE spec or Hobbit bug ?
quoted from Steve Holmes


  ----- Original Message ----- 
  From: Steve Holmes
  To: user-ae9b8668bcde@xymon.invalid
  Sent: Wednesday, July 18, 2007 10:53 PM
  Subject: Re: [hobbit] Regex for PROC Check does not work.


  There have been a number of threads about this kind of problem, vis: a
PCRE that should work, doesn't. Several of us have had the same problem,
both in the PROC check and in the LOG check. As far as I know, no resolution
has been found.

  Steve Holmes


  On 7/18/07, Ari Syrup <user-9edad2bba057@xymon.invalid> wrote:
    Hello,

    I am using hobbit-4.2.0 and am having a problem for process check.
    The following is a configuration of hobbit-clients.cfg I use.

            PROC    "%aciaprd.*java.*-Dprocess"

    When I check the regular expression with hobbitd_client --test it seems
ok.
    Hostname (.=end, ?=dump, !=reload) [host_a]:

    Test (cpu, mem, disk, proc, log, port): proc

    To read 'ps' data from a file, enter '@FILENAME' at the prompt

    ps command string: aciaprd  10953 10867  0 09:34 ?        00:00:02

/usr/java/j2sdk1.4.2_11/jre/bin/java -Dprocess=cia-prd-automaton-IRSA_HSI_sp
lit -Dlog4j.debug=true
quoted from Steve Holmes

    ps command string:

    Process %aciaprd.*java.*-Dprocess color green: Count=1, min=1, max=-1

    But the host_a html result actually shows red for the check. Can anyone
experienced this before? Can anyone help me, please.
list Steve Holmes · Wed, 18 Jul 2007 10:49:00 -0400 ·
I wish I knew. I'm guessing a hobbit bug, but haven't had time to look at it
closely.
Steve.
quoted from Ari Syrup


On 7/18/07, Ari Syrup <user-9edad2bba057@xymon.invalid> wrote:

Is it due to PCRE spec or Hobbit bug ?


----- Original Message -----

*From:* Steve Holmes <user-ec1bf77b1b44@xymon.invalid>
quoted from Ari Syrup
*To:* user-ae9b8668bcde@xymon.invalid
*Sent:* Wednesday, July 18, 2007 10:53 PM
*Subject:* Re: [hobbit] Regex for PROC Check does not work.

There have been a number of threads about this kind of problem, vis: a
PCRE that should work, doesn't. Several of us have had the same problem,
both in the PROC check and in the LOG check. As far as I know, no resolution
has been found.

Steve Holmes


On 7/18/07, Ari Syrup <user-9edad2bba057@xymon.invalid> wrote:
Hello,

I am using hobbit-4.2.0 and am having a problem for process check.
The following is a configuration of hobbit-clients.cfg I use.

        PROC    "%aciaprd.*java.*-Dprocess"

When I check the regular expression with hobbitd_client --test it seems
ok.
Hostname (.=end, ?=dump, !=reload) [host_a]:

Test (cpu, mem, disk, proc, log, port): proc

To read 'ps' data from a file, enter '@FILENAME' at the prompt

ps command string: aciaprd  10953 10867  0 09:34 ?        00:00:02
/usr/java/j2sdk1.4.2_11/jre/bin/java
-Dprocess=cia-prd-automaton-IRSA_HSI_split -Dlog4j.debug=true

ps command string:

Process %aciaprd.*java.*-Dprocess color green: Count=1, min=1, max=-1

But the host_a html result actually shows red for the check. Can anyone
experienced this before? Can anyone help me, please.

-- 

Nonviolence means avoiding not only external physical violence but also
internal violence of spirit. You not only refuse to shoot a man, but you
refuse to hate him. -Martin Luther King, Jr., civil-rights leader
(1929-1968)
The great thing about getting older is that you don't lose all the other
ages you've been. -Madeleine L'Engle, writer (1918- )
list Henrik Størner · Thu, 19 Jul 2007 17:02:55 +0200 ·
quoted from Ari Syrup
On Wed, Jul 18, 2007 at 05:55:17PM +0900, Ari Syrup wrote:
I am using hobbit-4.2.0 and am having a problem for process check.

The following is a configuration of hobbit-clients.cfg I use.

       PROC    "%aciaprd.*java.*-Dprocess"

When I check the regular expression with hobbitd_client --test it seems ok.
But the host_a html result actually shows red for the check. Can anyone
experienced this before? Can anyone help me, please.
Could you send me the client message data and your hobbit-clients.cfg
file ? To get the client message data, run

   bb 127.0.0.1 "clientlog HOSTNAME" >clientmsg.txt

and send me the clientmsg.txt file. As attachments, please -
cut-and-paste tends to mess the formatting.


Thanks,
Henrik