[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Alert on low swap?

From: Martin Pala
Subject: Re: [monit] Alert on low swap?
Date: Wed, 01 Jul 2009 21:24:23 +0200
User-agent: Thunderbird (X11/20090608)


the swap usage test is not in Monit now, but we can easily add it.

Next Monit release should come ca. in 1-2 months, this feature will be most probably part of it.

Thanks for suggestion,

Simon Blandford wrote:
Is there an easy way to trigger an alert when a system runs low on swap memory?

In the documentation I can only find tests for RAM (memory & total memory) but nothing specifically for swap.

To illustrate what I want to test, from the "free command"

# free
            total       used       free     shared    buffers     cached
Mem:       3072000    2800152     271848          0     123548     457420
-/+ buffers/cache:    2219184     852816
Swap:      2031608     484992    1546616

It is the 3rd column of the "Swap:" row that I want to test.

If there isn't a way then I can write a script to interact with monit, perhaps via a log file, but I am wondering if I haven't perhaps missed something really obvious since available swap is a basic metric in system monitoring. I can't believe it's not there.

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]