Re: check_http

pablo muñoz <pablomunozrojas-/[email protected]> Fri, 18 Jan 2019 10:11:52 -0300
Newsgroups gmane.network.nagios.plugins
Message-ID <CAJxZpi+Bd8N-4h+pkDuppnSvtyH+Dy4BSMaYud66oTCNy=S9AA__42965.149615384$1547817012$gmane$org@mail.gmail.com>
--000000000000f89a7f057fbb41d2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi!.
The graphics are generated with the information that is delivered in the
"perfdata" of the supervised service, for example:

*Status Information:* HTTP OK: HTTP / 1.1 200 OK - 274 bytes in 0.000
second response time
*Performance Data:* time =3D 0.000484s; 1.000000; 3.000000; 0.000000 size =
=3D
274B ;;; 0

In this example there are two data to generate "lines" in the graphs:
"time =3D 0.000484s; 1.000000; 3.000000; 0.000000" and "size =3D 274B ;;; 0=
",
to obtain a graph only with the desired "line", you must filter the data
that the perfdata delivers.



*Pablo A. Mu=C3=B1oz Rojas | *Gerente de Tecnolog=C3=ADa Xmartic & eVisus -=
 Nagios
Manager Chile
[email protected] | +56 9 85499668 - +56 32 3433964 | skype: pablo.munozro

<http://www.xmartic.com/>



El vie., 18 de ene. de 2019 a la(s) 06:59, Oleg Kuchin ([email protected])
escribi=C3=B3:

> Hello
> I use the plugin check_http to monitor the website
> in icinga2 plugin shows output :  HTTP OK: HTTP/1.1 302 Found - 505 bytes
> in 0.003 second response time
> accordingly, the graph shows both values and the graph has the form of 2
> parallel, even stripes of different colors))
> how can the team remove the display of the size of the downloaded page an=
d
> leave only download time
> thank you in advance
> ,,,,,,,,,
> =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC ,
> =D0=9A=D1=83=D1=87=D0=B8=D0=BD =D0=9E=D0=BB=D0=B5=D0=B3
> =D0=A1=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D1=8B=D0=B9 =D0=B0=D0=B4=D0=BC=
=D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80
> =D0=A0=D0=B5=D0=BA=D1=81=D0=BE=D1=84=D1=82
> =D1=82=D0=B5=D0=BB: +7 921 412 53 06
> www.reksoft.ru

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

<div dir=3D"ltr"><div>Hi!.</div><div>The graphics are generated with the in=
formation that is delivered in the &quot;perfdata&quot; of the supervised s=
ervice, for example:</div><div><br></div><div><b>Status Information:</b>=C2=
=A0HTTP OK: HTTP / 1.1 200 OK - 274 bytes in 0.000 second response time</di=
v><div><b>Performance Data:</b>=C2=A0time =3D 0.000484s; 1.000000; 3.000000=
; 0.000000 size =3D 274B ;;; 0</div><div><br></div><div>In this example the=
re are two data to generate &quot;lines&quot; in the graphs:</div><div>&quo=
t;time =3D 0.000484s; 1.000000; 3.000000; 0.000000&quot; and &quot;size =3D=
 274B ;;; 0&quot;, to obtain a graph only with the desired &quot;line&quot;=
, you must filter the data that the perfdata delivers.</div><div><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div=
 dir=3D"ltr"><div style=3D"font-size:12.8px"><br></div><div style=3D"font-s=
ize:12.8px"><br></div><div style=3D"font-size:12.8px"><div style=3D"font-si=
ze:small"><img src=3D"http://www.xmartic.com/wp-content/uploads/2015/11/lin=
e.png"><br></div><div style=3D"font-size:small"><b style=3D"color:rgb(11,83=
,148);font-size:12.8px">Pablo A. Mu=C3=B1oz Rojas |=C2=A0</b><span style=3D=
"color:rgb(11,83,148);font-size:12.8px">Gerente de Tecnolog=C3=ADa Xmartic =
&amp; eVisus - Nagios Manager Chile</span><br></div><div style=3D"font-size=
:small"><font color=3D"#0b5394"><a href=3D"mailto:[email protected]" style=
=3D"color:rgb(17,85,204)" target=3D"_blank">[email protected]</a>=C2=A0| +=
56 9 85499668 - +56 32 3433964</font><span style=3D"color:rgb(11,83,148);fo=
nt-size:12.8px">=C2=A0| skype: pablo.munozro</span></div><div style=3D"font=
-size:small"><br></div><div style=3D"font-size:small"><a href=3D"http://www=
.xmartic.com/" style=3D"color:rgb(17,85,204)" target=3D"_blank"><img src=3D=
"http://www.xmartic.com/wp-content/uploads/2015/11/LogoFinalPequeno.png" wi=
dth=3D"200" height=3D"41"></a><br></div><div><br></div></div><div style=3D"=
font-size:12.8px"></div><div style=3D"font-size:12.8px"></div></div></div><=
/div></div></div></div></div></div></div></div></div></div></div></div></di=
v></div></div><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">El vie., 18 de ene. de 2019 a la(s) 06:59, Oleg Kuchin (<=
a href=3D"mailto:[email protected]">[email protected]</a>) escribi=C3=B3:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size=3D"2" =
face=3D"sans-serif">Hello</font>
<br><font size=3D"2" face=3D"sans-serif">I use the plugin check_http to mon=
itor
the website</font>
<br><font size=3D"2" face=3D"sans-serif">in icinga2 plugin shows output : =
=C2=A0</font><font size=3D"1" color=3D"#4f4f4f" face=3D"Liberation Mono">HT=
TP
OK: HTTP/1.1 302 Found - 505 bytes in 0.003 second response time</font><fon=
t size=3D"3">
</font>
<br><font size=3D"2" face=3D"sans-serif">accordingly, the graph shows both =
values
and the graph has the form of 2 parallel, even stripes of different colors)=
)</font>
<br><font size=3D"2" face=3D"sans-serif">how can the team remove the displa=
y
of the size of the downloaded page and leave only download time</font>
<br><font size=3D"2" face=3D"sans-serif">thank you in advance</font>
<br><font size=3D"2" face=3D"sans-serif">,,,,,,,,,</font>
<br><font size=3D"2" face=3D"sans-serif">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=
=B5=D0=BD=D0=B8=D0=B5=D0=BC ,</font>
<br><font size=3D"2" face=3D"sans-serif">=D0=9A=D1=83=D1=87=D0=B8=D0=BD =D0=
=9E=D0=BB=D0=B5=D0=B3</font>
<br><font size=3D"2" face=3D"sans-serif">=D0=A1=D0=B8=D1=81=D1=82=D0=B5=D0=
=BC=D0=BD=D1=8B=D0=B9 =D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=
=80=D0=B0=D1=82=D0=BE=D1=80</font>
<br><font size=3D"2" face=3D"sans-serif">=D0=A0=D0=B5=D0=BA=D1=81=D0=BE=D1=
=84=D1=82</font>
<br><font size=3D"2" face=3D"sans-serif">=D1=82=D0=B5=D0=BB: +7 921 412 53 =
06</font>
<br><a href=3D"http://www.reksoft.ru" target=3D"_blank"><font size=3D"2" fa=
ce=3D"sans-serif">www.reksoft.ru</font></a>
</blockquote></div>

--000000000000f89a7f057fbb41d2--