Re: disk_check plugin issue

Oliver Skibbe <[email protected]> Wed, 30 May 2018 12:13:52 +0200
Newsgroups gmane.network.nagios.plugins
Message-ID <CA+EV5Hmzi2sHAPbaA=UEuEbtCxBSVBJdFD3xbzuALtxD2aLU9g__36405.6112048731$1527675134$gmane$org@mail.gmail.com>
--000000000000cd33cc056d699c3d
Content-Type: text/plain; charset="UTF-8"

Hello,

check_disk is actually working as expected, it needs to be executed on the
monitored host. For that, it needs some kind of broker software, like
check_by_ssh or NRPE or SNMP.

You will find a lot of examples to use one those 3 possibilities.

Regards
Oliver


2018-05-30 11:46 GMT+02:00 soumaya saddi <[email protected]>:

> 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 server
> 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
>
>
>

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

<div dir=3D"ltr">Hello,<div><br></div><div>check_disk is actually working a=
s expected, it needs to be executed on the monitored host. For that, it nee=
ds some kind of broker software, like check_by_ssh or NRPE or SNMP.<br></di=
v><div><br></div><div>You will find a lot of examples to use one those 3 po=
ssibilities.</div><div class=3D"gmail_extra"><br clear=3D"all"><div><div cl=
ass=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"=
><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Reg=
ards<br>Oliver</div><div><br></div></div></div></div></div></div></div></di=
v></div></div>
<br><div class=3D"gmail_quote">2018-05-30 11:46 GMT+02:00 soumaya saddi <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[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:1=
ex"><div dir=3D"ltr">Hello,<br><br>I am writing to you today in order to so=
lve the check_disk issue I am having. I am using Icinga2 as a monitoring so=
lution and I would like to check the disk of my monitored hosts.<br><br>The=
 issue with the check_disk plugin is that it doesn&#39;t take any ip addres=
s as an input/parameter. So when I check the disk of a host it actually che=
ck the disk of my local machine which is the monitoring server and not the =
host I want to monitor.<br><br>Is there a way to modify this plugin in orde=
r to make the check on the hosts and not on my local machine?<br><br>I trie=
d to modify the check_disk script but I found out it is a binary file :(<br=
><br>I hope to hear soon from you and thank you so much.<br clear=3D"all"><=
div><div class=3D"m_1729759560313120846gmail_signature"><br></div><div clas=
s=3D"m_1729759560313120846gmail_signature">Faithfully yours<span class=3D"H=
OEnZb"><font color=3D"#888888"><br></font></span></div><span class=3D"HOEnZ=
b"><font color=3D"#888888"><div class=3D"m_1729759560313120846gmail_signatu=
re"><br></div><div class=3D"m_1729759560313120846gmail_signature">Soumaya S=
ADDI<br><br><br></div></font></span></div>
</div>
</blockquote></div><br></div></div>

--000000000000cd33cc056d699c3d--