disk_check plugin issue
soumaya saddi <[email protected]> Wed, 27 Jun 2018 11:23:59 +0200
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAB1ddCvt=dm4OFKCmU6EQ+N6ByTnefR=vxgFAOQ=5haO+F7buw__21656.211562413$1530105687$gmane$org@mail.gmail.com> |
--000000000000b9df7a056f9c2cd1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=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] --000000000000b9df7a056f9c2cd1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"font-size:12.8px;text-decoration-style:init= ial;text-decoration-color:initial;float:none;display:inline">Hello,</span><= br style=3D"font-size:12.8px;text-decoration-style:initial;text-decoration-= color:initial"><br style=3D"font-size:12.8px;text-decoration-style:initial;= text-decoration-color:initial"><span style=3D"font-size:12.8px;text-decorat= ion-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 havin= g. I am using Icinga2 as a monitoring solution and I would like to check th= e disk of my monitored hosts.</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">The issue with the check_disk plugin i= s 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 whi= ch is the monitoring server and not the host I want to monitor.</span><br s= tyle=3D"font-size:12.8px;text-decoration-style:initial;text-decoration-colo= r:initial"><br style=3D"font-size:12.8px;text-decoration-style:initial;text= -decoration-color:initial"><span style=3D"font-size:12.8px;text-decoration-= style:initial;text-decoration-color:initial;float:none;display:inline">Is t= here a way to modify this plugin in order to make the check on the hosts an= d not on my local machine?</span><br style=3D"font-size:12.8px;text-decorat= ion-style:initial;text-decoration-color:initial"><br style=3D"font-size:12.= 8px;text-decoration-style:initial;text-decoration-color:initial"><span styl= e=3D"font-size:12.8px;text-decoration-style:initial;text-decoration-color:i= nitial;float:none;display:inline">I tried to modify the check_disk script b= ut I found out it is a binary file :(</span><br style=3D"font-size:12.8px;t= ext-decoration-style:initial;text-decoration-color:initial"><br style=3D"fo= nt-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"= ><span style=3D"font-size:12.8px;text-decoration-style:initial;text-decorat= ion-color:initial;float:none;display:inline">I hope to hear soon from you a= nd thank you so much.</span><br clear=3D"all" style=3D"font-size:12.8px;tex= t-decoration-style:initial;text-decoration-color:initial"><div style=3D"fon= t-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">= <div class=3D"gmail-m_-7150489001838534859gmail_signature"><br></div><div c= lass=3D"gmail-m_-7150489001838534859gmail_signature">Faithfully yours</div>= </div><br clear=3D"all"><div><div class=3D"gmail_signature" data-smartmail= =3D"gmail_signature"><div dir=3D"ltr"><div><b><span style=3D"font-family:ti= mes new roman,serif"><span style=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"><s= pan style=3D"color:rgb(11,83,148)">Sp=C3=A9cialit=C3=A9 - R=C3=A9seaux et S= =C3=A9curit=C3=A9 =C2=A0</span></span></b><br><span><div><b><span style=3D"= font-family:times new roman,serif"><span style=3D"color:rgb(11,83,148)"></s= pan></span></b></div></span><b><span style=3D"font-family:times new roman,s= erif"><span style=3D"color:rgb(11,83,148)">+33 6 15 78 08 77<br></span></sp= an></b></div><div><img src=3D"https://www-npa.lip6.fr/~fourmaux/LOGO_SCIENC= ES_SU_med.jpg" alt=3D"https://www-npa.lip6.fr/~fourmaux/LOGO_SCIENCES_SU_me= d.jpg" width=3D"96" height=3D"38"></div><div><span><span></span></span></di= v></div></div></div> </div> --000000000000b9df7a056f9c2cd1--