<div dir="ltr">Hello,<div><br></div><div>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.<br></div><div><br></div><div>You will find a lot of examples to use one those 3 possibilities.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Regards<br>Oliver</div><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-05-30 11:46 GMT+02:00 soumaya saddi <span dir="ltr"><<a href="mailto:soumaya.saddi@gmail.com" target="_blank">soumaya.saddi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>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.<br><br>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.<br><br>Is there a way to modify this plugin in order to make the check on the hosts and not on my local machine?<br><br>I tried 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="all"><div><div class="m_1729759560313120846gmail_signature"><br></div><div class="m_1729759560313120846gmail_signature">Faithfully yours<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="m_1729759560313120846gmail_signature"><br></div><div class="m_1729759560313120846gmail_signature">Soumaya SADDI<br><br><br></div></font></span></div>
</div>
</blockquote></div><br></div></div>