More intelligent swap monitoring?
Jamie Burchell via This is the general mailing list for monit <[email protected]> Tue, 14 Jan 2025 11:10:24 -0000
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
--000000000000b07395062ba89b0a
Content-Type: text/plain; charset="UTF-8"
Hi
I currently use Monit to alert me if swap usage is over > 20%. This works
most of the time, but I have a particularly stubborn VM currently which
appears to like to add data to swap and then not touch it. Using vmstat
shows there are either no, or maybe the odd non-zero swap in operation and
no swap outs. Is it possible to configure Monit to alert of actual swapping
out rather than swap file usage, or am I barking up the wrong tree?
Thanks in advance!
Jamie
--000000000000b07395062ba89b0a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3Dutf-8"><meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered m=
edium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=3D"EN-GB" link=3D"#467886" vlink=3D"#96607D" s=
tyle=3D"word-wrap:break-word"><div class=3D"WordSection1"><p class=3D"MsoNo=
rmal"><span style=3D"font-family:"Calibri",sans-serif">Hi</span><=
/p><p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sa=
ns-serif">=C2=A0</span></p><p class=3D"MsoNormal"><span style=3D"font-famil=
y:"Calibri",sans-serif">I currently use Monit to alert me if swap=
usage is over > 20%. This works most of the time, but I have a particul=
arly stubborn VM currently which appears to like to add data to swap and th=
en not touch it. Using vmstat shows there are either no, or maybe the odd n=
on-zero swap in operation and no swap outs. Is it possible to configure Mon=
it to alert of actual swapping out rather than swap file usage, or am I bar=
king up the wrong tree?</span></p><p class=3D"MsoNormal"><span style=3D"fon=
t-family:"Calibri",sans-serif">=C2=A0</span></p><p class=3D"MsoNo=
rmal"><span style=3D"font-family:"Calibri",sans-serif">Thanks in =
advance!</span></p><p class=3D"MsoNormal"><span style=3D"font-family:"=
Calibri",sans-serif">Jamie</span></p></div></body></html>
--000000000000b07395062ba89b0a--