[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] hobbit-clients.cfg bug?



My bad, thanks Erwin.

You read/scan the docs a couple times you are bound to miss something I suppose.

~David

Erwin.Furth (at) Postbankmail.nl wrote:

David,

From the comments in hobbit-clients.cfg (hobbit v4.1.1):

...
# PROC processname minimumcount maximumcount color
...
# To check for a process that must NOT be running: Set
minimum and # maximum to 0.
...


Your lines check for a minimum of 0 processes but specify no maximum. I
suggest you try

        PROC "%some_1_proc" 0 0 red
        PROC "%some_2_proc" 0 0 red
        PROC "%some_3_proc" 0 0 red

to get a red alarm when you have more than 0 processes.

Erwin Furth

-----Original Message-----
From: David Gore [mailto:David.Gore (at) mci.com] Sent: vrijdag 12 augustus 2005 6:18
To: hobbit (at) hswn.dk
Subject: [hobbit] hobbit-clients.cfg bug?



hobbit-clients.cfg:

        PROC "%some_1_proc" 0
        PROC "%some_2_proc" 0
        PROC "%some_3_proc" 0

web page:

green %some_1_proc (found 1,  req. none)
green %some_2_proc (found 1,  req. none)
green %some_3_proc (found 1,  req. none)

I would have hoped that the processes would have alarmed 'red' since I was expecting 0 processes? I was trying to mimic the '!' function from BB in bb-proctab.