Xymon Mailing List Archive search

hobbit-clients.cfg bug?

list David Gore
Fri, 12 Aug 2005 12:03:22 +0000
Message-Id: <user-1f8933678fb2@xymon.invalid>

My bad, thanks Erwin.

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

~David

user-dd20d8974db6@xymon.invalid 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:user-0ef10ea25696@xymon.invalid] Sent: vrijdag 12 augustus 2005 6:18
To: user-ae9b8668bcde@xymon.invalid
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.