18 Jul
2007
18 Jul
'07
2:39 p.m.
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.