BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} bb-proctab
Hi Paul,
I
have a slightly simpler situation. I have a task where I need at
least one running. but more than 75 is a concern (yellow). And
more that 100 is a major concern (red). So I don't need t look for
too few... I use:
localhost : task;<75 : task;<100
Because this WORKS for ME, I think the
syntax is saying, "when this condition is NOT met, set this color."
IN the above, if I have fewer than 75 instances of task, yellow is
NOT set. If I have fewer than 100 instances, red is NOT set.
For
you, I would try something like:
here.myplace.com : aproc;3 ; aproc;>2 aproc;<5
I read this as:
to avoid yellow, there must be three
instances of aproc
to avoid red, there must be more than
two instances of aproc
to avoid red, there must be fewer than
five instances of aproc
The
only condition where green is permitted to survive the testing is three
instances. When there are four, the yellow state is signalled because
there are not three instances.
The
procs status page should have three lines for the status of aproc, one
for each condition.
Dan
"Paul Snow" <Paul.Snow@aeso.ca>
Sent by: owner-bb@bb4.com
02/23/2006 08:20 AM
|
Please respond to
bb@bb4.com |
|
|
To
| <bb@bb4.com>
|
|
cc
|
|
|
Subject
| RE: {bb} bb-proctab |
|
Thanks Philip, appreciate the effort. However this
is the type of logic
I was following (and failing miserably at), so now the output appears;
(red) aproc (>4) - 4 instances running, requires more than 4
(red) aproc (<3) - 4 instances running, requires less than 3
not what I was hoping for, can you think of anything else??
Thanks - Paul
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Philip
Clark
Sent: Wednesday, February 22, 2006 5:14 PM
To: bb@bb4.com
Subject: Re: {bb} bb-proctab
On Wed, 2006-02-22 at 21:32, Paul Snow wrote:
> Hello all,
>
> Now I know this is going
to sound a bit simple, but I have
a
> process that is usually being run times 3, but occasionally it can
be
4,
> but other than that there is a problem. I thought I could get
bb-proctab
> to work this out but I just can't seem to get the logic down.
>
> So basically I want:
>
> process xyz =3 (for a green)
>
> process xyz =4 (for a yellow)
>
> process xyz <=2 or >=5 (for a red)
>
> See I told you it sounds
simple (maybe it all the snow
we're
> getting today), any suggestions??
Something like
here.myplace.com : aproc;4 : aproc;<3 aproc;>4
should get you what you want.
Cheers, Phil.
--
Weinberg's Principle: An expert is a person who avoids the small
errors while sweeping on to the grand fallacy.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
This message is intended only for the addressee and may contain personal,
privileged or confidential information.
If you have received this message in error, please notify the sender immediately
and delete or destroy this
message without making copies or opening any attachments. Any further distribution,
duplication or disclosure
is prohibited.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index