monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Alert on low swap?


From: Simon Blandford
Subject: Re: [monit] Alert on low swap?
Date: Wed, 01 Jul 2009 21:40:13 +0100
User-agent: Thunderbird 2.0.0.22 (X11/20090625)

Thanks Martin. That's great news :-)

Martin Pala wrote:
Hi,

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,
Martin


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:
http://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

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