Help check_swap Plugin

Diego Rodrigues do Nascimento <[email protected]> Mon, 23 Apr 2018 20:04:12 +0000
Newsgroups gmane.network.nagios.plugins
Message-ID <CP2PR80MB0161E3A9F6A12FBB7F43A4DCEB890__8451.2859503322$1524514736$gmane$org@CP2PR80MB0161.lamprd80.prod.outlook.com>
--_000_CP2PR80MB0161E3A9F6A12FBB7F43A4DCEB890CP2PR80MB0161lamp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Good afternoon sirs,

One question, would it be possible to have the performance return in percen=
tage, instead of MB?

-c check_swap -a '-w 20% -c 15%'
SWAP OK - 100% free (3999 MB out of 3999 MB) |swap=3D3999MB;799;599;0;3999

Tks.,

______________________________________________
Diego Rodrigues do Nascimento
Cloud Operations Tools and Services | Adm. Tools

T I V I T

+55 (11) 3626-6375 | +55 (11) 3967-6375 | +55 (11) 99397-8185
Av. Maria Coelho Aguiar, 215 Bl.D 5=BAAndar
S=E3o Paulo - SP - CEP: 05804-900
www.tivit.com.br<http://www.tivit.com.br/>


--_000_CP2PR80MB0161E3A9F6A12FBB7F43A4DCEB890CP2PR80MB0161lamp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<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:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EstiloDeEmail17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"PT-BR" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Good afternoon sirs,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">One question, would it be possi=
ble to have the performance return in percentage, instead of MB?<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><i><span lang=3D"EN-US" style=3D"font-size:10.0pt">-=
c check_swap -a '-w 20% -c 15%'<o:p></o:p></span></i></p>
<p class=3D"MsoNormal"><i><span lang=3D"EN-US" style=3D"font-size:10.0pt">S=
WAP OK - 100% free (3999 MB out of 3999 MB) |swap=3D3999MB;799;599;0;3999<o=
:p></o:p></span></i></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Tks.,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:9.0pt;font-family:&quot;=
Arial&quot;,sans-serif;color:gray;mso-fareast-language:PT-BR">_____________=
_________________________________</span></b><span style=3D"font-size:9.0pt;=
font-family:&quot;Times New Roman&quot;,serif;color:gray;mso-fareast-langua=
ge:PT-BR"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:9.0pt;font-family:&quot;=
Arial&quot;,sans-serif;color:gray;mso-fareast-language:PT-BR">Diego Rodrigu=
es do Nascimento</span></b><span style=3D"font-size:10.0pt;font-family:&quo=
t;Arial&quot;,sans-serif;color:black;mso-fareast-language:PT-BR"><br>
</span><span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,sans-se=
rif;color:gray;mso-fareast-language:PT-BR">Cloud Operations Tools and Servi=
ces | Adm. Tools<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif;color:black;mso-fareast-language:PT-BR"><o:p>&nbsp;<=
/o:p></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-family:&quot;Arial&quot;,sans=
-serif;color:red;mso-fareast-language:PT-BR">T I V I T
<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:12.0pt;font-family:&quot=
;Arial&quot;,sans-serif;color:red;mso-fareast-language:PT-BR"><o:p>&nbsp;</=
o:p></span></b></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;color:gray;mso-fareast-language:PT-BR">&#43;55 (11) 362=
6-6375 | &#43;55 (11) 3967-6375 | &#43;55 (11) 99397-8185<b><o:p></o:p></b>=
</span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span style=3D"font-si=
ze:8.0pt;font-family:&quot;Arial&quot;,sans-serif;color:gray;mso-fareast-la=
nguage:PT-BR">Av. Maria Coelho Aguiar, 215 Bl.D 5=BAAndar
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span style=3D"font-si=
ze:8.0pt;font-family:&quot;Arial&quot;,sans-serif;color:gray;mso-fareast-la=
nguage:PT-BR">S=E3o Paulo &#8211; SP - CEP: 05804-900<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span style=3D"font-si=
ze:8.0pt;font-family:&quot;Arial&quot;,sans-serif;color:gray;mso-fareast-la=
nguage:PT-BR"><a href=3D"http://www.tivit.com.br/" title=3D"http://www.tivi=
t.com.br/"><span style=3D"color:gray">www.tivit.com.br</span></a>&nbsp;<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CP2PR80MB0161E3A9F6A12FBB7F43A4DCEB890CP2PR80MB0161lamp_--