BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} bb-proctab
- To: bb@bb4.com
- Subject: RE: {bb} bb-proctab
- From: Philip Clark <bblist@cannae.uklinux.net>
- Date: 01 Mar 2006 21:39:30 +0000
- Content-transfer-encoding: 7bit
- Content-type: text/plain
- In-reply-to: <OF65D22830.CBA06FAF-ON8725711E.005821AB-8725711E.0059BC2E@usgs.gov>
- References: <OF65D22830.CBA06FAF-ON8725711E.005821AB-8725711E.0059BC2E@usgs.gov>
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
On Thu, 2006-02-23 at 16:20, Daniel O Winkless wrote:
> 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.
Oh yes. Mia culpa. I got the logic twisted around. The rules do
indeed need to be in the form of "asserts".
Cheers, Phil.
--
The goal of Computer Science is to build something that will last
at least until we've finished building it.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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