Regex for PROC Check does not work.
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.
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 <arisyrup at gmail.com> 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.
Is it due to PCRE spec or Hobbit bug ?
----- Original Message ----- From: Steve Holmes To: hobbit at hswn.dk 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 <arisyrup at gmail.com> 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
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.
I wish I knew. I'm guessing a hobbit bug, but haven't had time to look at it closely. Steve.
On 7/18/07, Ari Syrup <arisyrup at gmail.com> wrote:
Is it due to PCRE spec or Hobbit bug ?
----- Original Message ----- *From:* Steve Holmes <sholmes42 at mac.com> *To:* hobbit at hswn.dk *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 <arisyrup at gmail.com> 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- )
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
participants (3)
-
arisyrup@gmail.com
-
henrik@hswn.dk
-
sholmes42@mac.com