Re: disk_check plugin issue
David Rooney <[email protected]> Wed, 27 Jun 2018 15:38:31 +0200
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAGD2SN-saea+USPqgqtMc5Tx2Z4rppnyH4x7kkQM9PBfZHjDUQ__38225.1777257354$1530106602$gmane$org@mail.gmail.com> |
--000000000000b6b04d056f9fbb69 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Sonja, Perfect, I will try and get there for 9:50. Is their parking available for 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 serve= r > 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] > --=20 Dave Rooney +49 1732026853 --000000000000b6b04d056f9fbb69 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Sonja,<div><br></div><div>Perfect, I will try and get t= here for 9:50. Is their parking available for visitors?</div><div><br></div= ><div>Thanks</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On = Wed, 27 Jun 2018 at 15:23, soumaya saddi <<a href=3D"mailto:soumaya.sadd= [email protected]">[email protected]</a>> wrote:<br></div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p= adding-left:1ex"><div dir=3D"ltr"><span style=3D"font-size:12.8px;text-deco= ration-style:initial;text-decoration-color:initial;float:none;display:inlin= e">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-decorati= on-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">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=3D"font-size= :12.8px;text-decoration-style:initial;text-decoration-color:initial"><br st= yle=3D"font-size:12.8px;text-decoration-style:initial;text-decoration-color= :initial"><span style=3D"font-size:12.8px;text-decoration-style:initial;tex= t-decoration-color:initial;float:none;display:inline">The issue with the ch= eck_disk plugin is that it doesn't take any ip address as an input/para= meter. 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 mon= itor.</span><br style=3D"font-size:12.8px;text-decoration-style:initial;tex= t-decoration-color:initial"><br style=3D"font-size:12.8px;text-decoration-s= tyle:initial;text-decoration-color:initial"><span style=3D"font-size:12.8px= ;text-decoration-style:initial;text-decoration-color:initial;float:none;dis= play:inline">Is there a way to modify this plugin in order to make the chec= k on the hosts and not on my local machine?</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:in= itial"><span style=3D"font-size:12.8px;text-decoration-style:initial;text-d= ecoration-color:initial;float:none;display:inline">I tried to modify the ch= eck_disk script but I found out it is a binary file :(</span><br style=3D"f= ont-size:12.8px;text-decoration-style:initial;text-decoration-color:initial= "><br style=3D"font-size:12.8px;text-decoration-style:initial;text-decorati= on-color:initial"><span style=3D"font-size:12.8px;text-decoration-style:ini= tial;text-decoration-color:initial;float:none;display:inline">I hope to hea= r soon from you and thank you so much.</span><br clear=3D"all" style=3D"fon= t-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">= <div style=3D"font-size:12.8px;text-decoration-style:initial;text-decoratio= n-color:initial"><div class=3D"m_-8741455909736557931gmail-m_-7150489001838= 534859gmail_signature"><br></div><div class=3D"m_-8741455909736557931gmail-= m_-7150489001838534859gmail_signature">Faithfully yours</div></div><br clea= r=3D"all"><div><div class=3D"m_-8741455909736557931gmail_signature" data-sm= artmail=3D"gmail_signature"><div dir=3D"ltr"><div><b><span style=3D"font-fa= mily:times new roman,serif"><span style=3D"color:rgb(11,83,148)">Soumaya SA= DDI<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,se= rif"><span style=3D"color:rgb(11,83,148)">Sp=C3=A9cialit=C3=A9 - R=C3=A9sea= ux et S=C3=A9curit=C3=A9 =C2=A0</span></span></b><br><span><div><b><span st= yle=3D"font-family:times new roman,serif"><span style=3D"color:rgb(11,83,14= 8)"></span></span></b></div></span><b><span style=3D"font-family:times new = roman,serif"><span style=3D"color:rgb(11,83,148)">+33 6 15 78 08 77<br></sp= an></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_SCIENCE= S_SU_med.jpg" width=3D"96" height=3D"38"></div><div><span><span></span></sp= an></div></div></div></div> </div> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"l= tr"><div><div dir=3D"ltr">Dave Rooney<br>+49 1732026853</div></div></div></= div> --000000000000b6b04d056f9fbb69--