<div dir="ltr">Hello Soumaya <div><br></div><div>Are you using nrpe or nsca checks  ? </div><div><br></div><div><br></div><div>Best regards </div><div>Kaouther </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 27, 2018 at 11:23 AM, soumaya saddi <span dir="ltr"><<a href="mailto:soumaya.saddi@gmail.com" target="_blank">soumaya.saddi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hello,</span><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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.</span><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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.</span><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Is there a way to modify this plugin in order to make the check on the hosts and not on my local machine?</span><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I tried to modify the check_disk script but I found out it is a binary file :(</span><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I hope to hear soon from you and thank you so much.</span><br clear="all" style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div class="m_-7341948999598831085gmail-m_-7150489001838534859gmail_signature"><br></div><div class="m_-7341948999598831085gmail-m_-7150489001838534859gmail_signature">Faithfully yours</div></div><br clear="all"><div><div class="m_-7341948999598831085gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><b><span style="font-family:times new roman,serif"><span style="color:rgb(11,83,148)">Soumaya SADDI<br><br>Étudiante en Master II à la Sorbonne Université</span></span></b></div><div><b><span style="font-family:times new roman,serif"><span style="color:rgb(11,83,148)">Spécialité - Réseaux et Sécurité  </span></span></b><br><span><div><b><span style="font-family:times new roman,serif"><span style="color:rgb(11,83,148)"></span></span></b></div></span><b><span style="font-family:times new roman,serif"><span style="color:rgb(11,83,148)">+33 6 15 78 08 77<br></span></span></b></div><div><img src="https://www-npa.lip6.fr/~fourmaux/LOGO_SCIENCES_SU_med.jpg" alt="https://www-npa.lip6.fr/~fourmaux/LOGO_SCIENCES_SU_med.jpg" width="96" height="38"></div><div><span><span></span></span></div></div></div></div>
</div>
</blockquote></div><br></div>