Re: disk_check plugin issue

Cleuson De Oliveira Alves <[email protected]> Wed, 27 Jun 2018 11:15:33 -0300
Newsgroups gmane.network.nagios.plugins
Message-ID <CAJW_L3bnkNsi3rMHqQrto9XV8cy9MydmcxyCjedJkTCE8NTgKA__11102.5317376063$1530108817$gmane$org@mail.gmail.com>
--000000000000914920056fa03f03
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Soumaya, why do not you use snmp to monitor your disk?
Need help?

Best Regards.



Grato.
Cleuson de O.Alves - STI - Analista de TI
'if you can't restore it, you don't have a backup'



2018-06-27 10:38 GMT-03:00 David Rooney <[email protected]>:

> Hi Sonja,
>
> Perfect, I will try and get there for 9:50. Is their parking available fo=
r
> visitors?
>
> Thanks
>
> On Wed, 27 Jun 2018 at 15:23, soumaya saddi <[email protected]>
> wrote:
>
>> Hello,
>>
>> I am writing to you today in order to solve the check_disk issue I am
>> having. I am using Icinga2 as a monitoring solution and I would like to
>> check the disk of my monitored hosts.
>>
>> The issue with the check_disk plugin is that it doesn't take any ip
>> address as an input/parameter. So when I check the disk of a host it
>> actually check the disk of my local machine which is the monitoring serv=
er
>> and not the host I want to monitor.
>>
>> Is there a way to modify this plugin in order to make the check on the
>> hosts and not on my local machine?
>>
>> I tried to modify the check_disk script but I found out it is a binary
>> file :(
>>
>> I hope to hear soon from you and thank you so much.
>>
>> Faithfully yours
>>
>>
>>
>> *Soumaya SADDI=C3=89tudiante en Master II =C3=A0 la Sorbonne Universit=
=C3=A9*
>> *Sp=C3=A9cialit=C3=A9 - R=C3=A9seaux et S=C3=A9curit=C3=A9  *
>>
>> *+33 6 15 78 08 77*
>> [image: https://www-npa.lip6.fr/~fourmaux/LOGO_SCIENCES_SU_med.jpg]
>>
>
>
> --
> Dave Rooney
> +49 1732026853
>

--000000000000914920056fa03f03
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><span id=3D"gmail-result_box" class=3D"gmail-" lang=
=3D"en"><span class=3D"gmail-">Hello Soumaya, why do not you use snmp to mo=
nitor your disk?</span><br></span></div><div><span id=3D"gmail-result_box" =
class=3D"gmail-" lang=3D"en"><span id=3D"gmail-result_box" class=3D"gmail-"=
 lang=3D"en"><span class=3D"gmail-">Need help?</span></span><br></span></di=
v><div><br></div><div>Best Regards.<br></div><div><span id=3D"gmail-result_=
box" class=3D"gmail-" lang=3D"en"></span></div><br></div><div class=3D"gmai=
l_extra"><br clear=3D"all"><div><div class=3D"gmail_signature" data-smartma=
il=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">=
<div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div=
 dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"l=
tr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr=
"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"font-si=
ze:12.8000001907349px"><br>Grato.</span></div><div dir=3D"ltr"><span style=
=3D"font-size:12.8000001907349px">Cleuson de O.Alves - STI</span> - Analist=
a de TI<br></div><div>&#39;if you can&#39;t restore it, you don&#39;t have =
a backup&#39;<br></div><div><br></div><div dir=3D"ltr"><br></div></div></di=
v></div></div></div></div></div></div></div></div></div></div></div></div><=
/div></div></div></div></div></div></div></div></div></div></div></div></di=
v></div></div></div></div></div></div></div>
<br><div class=3D"gmail_quote">2018-06-27 10:38 GMT-03:00 David Rooney <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">ro=
[email protected]</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=
=3D"ltr">Hi Sonja,<div><br></div><div>Perfect, I will try and get there for=
 9:50. Is their parking available for visitors?</div><div><br></div><div>Th=
anks</div></div><div class=3D"HOEnZb"><div class=3D"h5"><br><div class=3D"g=
mail_quote"><div dir=3D"ltr">On Wed, 27 Jun 2018 at 15:23, soumaya saddi &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank">soumaya.sadd=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=
=3D"ltr"><span style=3D"font-size:12.8px;text-decoration-style:initial;text=
-decoration-color:initial;float:none;display:inline">Hello,</span><br style=
=3D"font-size:12.8px;text-decoration-style:initial;text-decoration-color:in=
itial"><br style=3D"font-size:12.8px;text-decoration-style:initial;text-dec=
oration-color:initial"><span style=3D"font-size:12.8px;text-decoration-styl=
e:initial;text-decoration-color:initial;float:none;display:inline">I am wri=
ting to you today in order to solve the check_disk issue I am having. I am =
using Icinga2 as a monitoring solution and I would like to check the disk o=
f my monitored hosts.</span><br style=3D"font-size:12.8px;text-decoration-s=
tyle:initial;text-decoration-color:initial"><br style=3D"font-size:12.8px;t=
ext-decoration-style:initial;text-decoration-color:initial"><span style=3D"=
font-size:12.8px;text-decoration-style:initial;text-decoration-color:initia=
l;float:none;display:inline">The issue with the check_disk plugin is that i=
t doesn&#39;t take any ip address as an input/parameter. So when I check th=
e disk of a host it actually check the disk of my local machine which is th=
e monitoring server and not the host I want to monitor.</span><br style=3D"=
font-size:12.8px;text-decoration-style:initial;text-decoration-color:initia=
l"><br style=3D"font-size:12.8px;text-decoration-style:initial;text-decorat=
ion-color:initial"><span style=3D"font-size:12.8px;text-decoration-style:in=
itial;text-decoration-color:initial;float:none;display:inline">Is there a w=
ay to modify this plugin in order to make the check on the hosts and not on=
 my local machine?</span><br style=3D"font-size:12.8px;text-decoration-styl=
e:initial;text-decoration-color:initial"><br style=3D"font-size:12.8px;text=
-decoration-style:initial;text-decoration-color:initial"><span style=3D"fon=
t-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;f=
loat:none;display:inline">I tried to modify the check_disk script but I fou=
nd out it is a binary file :(</span><br style=3D"font-size:12.8px;text-deco=
ration-style:initial;text-decoration-color:initial"><br style=3D"font-size:=
12.8px;text-decoration-style:initial;text-decoration-color:initial"><span s=
tyle=3D"font-size:12.8px;text-decoration-style:initial;text-decoration-colo=
r:initial;float:none;display:inline">I hope to hear soon from you and thank=
 you so much.</span><br style=3D"font-size:12.8px;text-decoration-style:ini=
tial;text-decoration-color:initial" clear=3D"all"><div style=3D"font-size:1=
2.8px;text-decoration-style:initial;text-decoration-color:initial"><div cla=
ss=3D"m_3583215856451988704m_-8741455909736557931gmail-m_-71504890018385348=
59gmail_signature"><br></div><div class=3D"m_3583215856451988704m_-87414559=
09736557931gmail-m_-7150489001838534859gmail_signature">Faithfully yours</d=
iv></div><br clear=3D"all"><div><div class=3D"m_3583215856451988704m_-87414=
55909736557931gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><div><b><span style=3D"font-family:times new roman,serif"><span st=
yle=3D"color:rgb(11,83,148)">Soumaya SADDI<br><br>=C3=89tudiante en Master =
II =C3=A0 la Sorbonne Universit=C3=A9</span></span></b></div><div><b><span =
style=3D"font-family:times new roman,serif"><span style=3D"color:rgb(11,83,=
148)">Sp=C3=A9cialit=C3=A9 - R=C3=A9seaux et S=C3=A9curit=C3=A9 =C2=A0</spa=
n></span></b><br><span><div><b><span style=3D"font-family:times new roman,s=
erif"><span style=3D"color:rgb(11,83,148)"></span></span></b></div></span><=
b><span style=3D"font-family:times new roman,serif"><span style=3D"color:rg=
b(11,83,148)">+33 6 15 78 08 77<br></span></span></b></div><div><img src=3D=
"https://www-npa.lip6.fr/~fourmaux/LOGO_SCIENCES_SU_med.jpg" alt=3D"https:/=
/www-npa.lip6.fr/~fourmaux/LOGO_SCIENCES_SU_med.jpg" width=3D"96" height=3D=
"38"></div><div><span><span></span></span></div></div></div></div>
</div>
</blockquote></div><br clear=3D"all"><div><br></div></div></div><span class=
=3D"HOEnZb"><font color=3D"#888888">-- <br><div dir=3D"ltr" class=3D"m_3583=
215856451988704gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><div><div dir=3D"ltr">Dave Rooney<br>+49 1732026853</div></div></d=
iv></div>
</font></span></blockquote></div><br></div>

--000000000000914920056fa03f03--