Xymon Mailing List Archive search

Threshold Logic Alerting : The complete opposite

list Jeremy Laidman
Tue, 11 Jul 2017 00:33:30 +1000
Message-Id: <CACO=user-cb888d595d1b@xymon.invalid>

Hello Bradley

On 10 July 2017 at 19:15, Bradley Radjoo [ MTN South Africa ] <
user-f332f062c061@xymon.invalid> wrote:
Hi there,

Is it possible to configure an alert upon a threshold not been exceeded
but when it’s falls below a certain threshold.
Yes it is.

Example:  If real memory usage fall’s below 20%, an alert is then sent
 In analysis.cfg, you can specify memory parameters MEMSWAP, MEMACT and
MEMPHYS. But it only alerts on passing above a specified threashold, hence
your question, I'm guessing.

However, the memory parameters are stored in RRD files, and the "DS" option
in analysis.cfg allows you to set a threshold in either direction. An
example might be:

DS memory memory.actual.rrd:realmempct <20 COLOR=yellow TEXT="Memory usage
&V% has dropped below &L%"

The "DS" option is used to modify an existing test that is otherwise green.
Refer to the "DS" section of analysis.cfg for more information.

J