Monitoring disk usage with check_disk

Jason TAYLOR <[email protected]> Mon, 22 Jan 2018 19:28:41 +0000
Newsgroups gmane.network.nagios.plugins,gmane.network.monitoring.plugins.user
Message-ID <DB6PR0602MB2792C50F0A55A460698C5B69EFEC0@DB6PR0602MB2792.eurprd06.prod.outlook.com>
--_000_DB6PR0602MB2792C50F0A55A460698C5B69EFEC0DB6PR0602MB2792_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,


My name is Jason and I am a Dev Ops engineer trying to configure nagios cor=
e (version 4.3.4) to monitor several servers, most of which are using ubunt=
u 16.04. I have 1 server running windows 10 server edition as well. My prob=
lem is when i run the check_disk command, it always returns the same value =
from every single on of the servers, which is:


DISK OK - free space: / 52698 MB (94% inode=3D95%):



in each of my server cfg files the check command is set up like this:

check_command                   check_local_disk!22%!10%!


Do i need to change something in the cfg file, or something in the way the =
nsclient agent is set up?


Any help is appreciated,


-Jason


________________________________

Ce message, ainsi que tous les fichiers joints =E0 ce message, peuvent cont=
enir des informations sensibles et/ ou confidentielles ne devant pas =EAtre=
 divulgu=E9es. Si vous n'=EAtes pas le destinataire de ce message (ou que v=
ous recevez ce message par erreur), nous vous remercions de le notifier imm=
=E9diatement =E0 son exp=E9diteur, et de d=E9truire ce message. Toute copie=
, divulgation, modification, utilisation ou diffusion, non autoris=E9e, dir=
ecte ou indirecte, de tout ou partie de ce message, est strictement interdi=
te.
Se d=E9sabonner: Si vous souhaitez =EAtre retir=E9 de notre liste de diffus=
ion, s'il vous pla=EEt envoyer vos coordonn=E9es =E0 CASL.unsubscribe@legra=
nd.ca<mailto:casl.unsubscribe-9WVPih6vfS2w5LPnMra/[email protected]> et indiquer quels sont les messag=
es que vous ne souhaitez plus recevoir.


This e-mail, and any document attached hereby, may contain confidential and=
/or privileged information. If you are not the intended recipient (or have =
received this e-mail in error) please notify the sender immediately and des=
troy this e-mail. Any unauthorized, direct or indirect, copying, disclosure=
, distribution or other use of the material or parts thereof is strictly fo=
rbidden.
Unsubscribe: If you would like to be removed from our mailing list, please =
send your contact information to CASL.unsubscribe-9WVPih6vfS2w5LPnMra/[email protected]<mailto:casl.un=
subscribe-9WVPih6vfS2w5LPnMra/[email protected]> and indicate what messages you no longer wish to rece=
ive.

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

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p style=3D"margin-top:0;margin-bottom:0">Hello,</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">My name is Jason and I am a Dev O=
ps engineer trying to configure nagios core (version 4.3.4) to monitor seve=
ral servers, most of which are using ubuntu 16.04. I have 1 server running =
windows 10 server edition as well.
 My problem is when i run the check_disk command, it always returns the sam=
e value from every single on of the servers, which is:<br>
</p>
<div><br>
</div>
<div><br>
</div>
<div>DISK OK - free space: / 52698 MB (94% inode=3D95%): <br>
</div>
<p></p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">in each of my server cfg files th=
e check command is set up like this:<br>
<br>
check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_local_disk!22%!10%!</p=
>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">Do i need to change something in =
the cfg file, or something in the way the nsclient agent is set up?</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">Any help is appreciated,</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">-Jason<br>
</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
</div>
<br>
<hr>
<font face=3D"Tahoma" size=3D"2">
<p>Ce message, ainsi que tous les fichiers joints =E0 ce message, peuvent c=
ontenir des informations sensibles et/ ou confidentielles ne devant pas =EA=
tre divulgu=E9es. Si vous n'=EAtes pas le destinataire de ce message (ou qu=
e vous recevez ce message par erreur), nous
 vous remercions de le notifier imm=E9diatement =E0 son exp=E9diteur, et de=
 d=E9truire ce message. Toute copie, divulgation, modification, utilisation=
 ou diffusion, non autoris=E9e, directe ou indirecte, de tout ou partie de =
ce message, est strictement interdite.
<br>
<b>Se d=E9sabonner: </b>Si vous souhaitez =EAtre retir=E9 de notre liste de=
 diffusion, s'il vous pla=EEt envoyer vos coordonn=E9es =E0
<a href=3D"mailto:casl.unsubscribe-9WVPih6vfS2w5LPnMra/[email protected]">CASL.unsubscribe-9WVPih6vfS2w5LPnMra/[email protected]<=
/a> et indiquer quels sont les messages que vous ne souhaitez plus recevoir=
.</p>
<br>
<p>This e-mail, and any document attached hereby, may contain confidential =
and/or privileged information. If you are not the intended recipient (or ha=
ve received this e-mail in error) please notify the sender immediately and =
destroy this e-mail. Any unauthorized,
 direct or indirect, copying, disclosure, distribution or other use of the =
material or parts thereof is strictly forbidden.
<br>
<b>Unsubscribe:</b> If you would like to be removed from our mailing list, =
please send your contact information to
<a href=3D"mailto:casl.unsubscribe-9WVPih6vfS2w5LPnMra/[email protected]">CASL.unsubscribe-9WVPih6vfS2w5LPnMra/[email protected]<=
/a> and indicate what messages you no longer wish to receive.
</p>
</font>
</body>
</html>

--_000_DB6PR0602MB2792C50F0A55A460698C5B69EFEC0DB6PR0602MB2792_--