Xymon Mailing List Archive search

hobbit-clients.cfg bug?

3 messages in this thread

list David Gore · Fri, 12 Aug 2005 04:18:27 +0000 ·
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.

-- 
David Gore (v965-3670)
Enhanced Technology Support (ETS)
Network Management Systems (NMS)
IMPACT Transport Team Lead - SCSA, SCNA
Page: 1-800-PAG-eMCI pin 1406090
Vnet: 965-3676
list Erwin Furth · Fri, 12 Aug 2005 10:04:10 +0200 ·
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
quoted from David Gore

-----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.

-- 
David Gore (v965-3670)
Enhanced Technology Support (ETS)
Network Management Systems (NMS)
IMPACT Transport Team Lead - SCSA, SCNA
Page: 1-800-PAG-eMCI pin 1406090
Vnet: 965-3676


ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
list David Gore · Fri, 12 Aug 2005 12:03:22 +0000 ·
My bad, thanks Erwin.

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

~David
quoted from Erwin Furth

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.