[hobbit] client regex, % on web page
David Gore
David.Gore at mci.com
Fri Aug 12 02:48:10 CEST 2005
Henrik Stoerner wrote:
>On Thu, Aug 11, 2005 at 08:09:44PM +0000, David Gore wrote:
>
>
>>With 'ps -ef'
>>
>>webTemip.server.start.TemipServer (found 1, req. 1 or more)
>>
>>With 'ps wwaux'
>>
>>%SystemMate (found 1, req. 1 or more)
>>
>>These are the same process. Everyone here knows what SystemMate is, but
>>they may not know what the first instance is.
>>
>>I know I asked this before, but I didn't know if you may have missed it.
>>
>>
>
>Didn't miss it, just haven't decided about it yet.
>
>The simple solution is to just relax the process-name check so it
>matches if the search string is found anywhere in the commandline.
>That's what BB does, and it is probably what I am going to do.
>
>
>
>>I can imagine the regex parsing can be quite complicated, so I was just
>>wondering if you were still looking at removing the '%' from the web
>>page.
>>
>>
>
>I can do that - no problem - but it does bring up the issue of how to
>report it. Your example is very straight-forward, but I can imagine
>some setup where you use more complex regular expressions ... is it
>really OK for Hobbit to present
>
> ^j[234]+.*(re|vm) (found 4, req. 2 or more)
>
>and expect anyone to nod and say "yup, looks all-right to me" ?
>
>Or should there be some way of providing a human-readable text so
>ordinary users (read: PHB's) can make sense of it ?
>
>
Actually, something I was hoping to do, but I think, it produced strange
results was something like this:
PROC "webTemip.server.start.TemipServer" # SystemMate
PROC "%SystemMate" # SystemMate
Actually that comment is ok.
It's when you put the comment in the middle of the list before PROC,
that you get your list truncated, like this:
PROC someproc
#PROC someotherproc
PROC moreproc
Regardless, perhaps the comment on the proc line could be what we want
displayed or you could tag it similar to bb-hosts.
~David
More information about the Xymon
mailing list