Need help in check http or https plugin

Mangesh Jadhav <[email protected]> Tue, 30 Jul 2019 03:54:20 +0000
Newsgroups gmane.network.nagios.plugins
Message-ID <BMXPR01MB229423EB6589DBC61BE053FBB5DC0__5460.97447383858$1564571775$gmane$org@BMXPR01MB2294.INDPRD01.PROD.OUTLOOK.COM>
--_000_BMXPR01MB229423EB6589DBC61BE053FBB5DC0BMXPR01MB2294INDP_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi team,
             I am trying to monitor status of https cloud based URL of Orac=
le but after some time it is going into critical eventhough site is up.

Using Plugin: check_https

define host{
        use                     linux-server,host-pnp            ; Name of =
host template to use
        host_name               ehec.login.em2.oraclecloud.com
        alias                   Web URL
       address                 IP address
       }

#-------------------------------------Services-----------------------------=
-------------------

define service {
service_description Check Oraacle URL status
use generic-service,srv-pnp
check_command check_https!ehec.fa.em2.oraclecloud.com
host_name ehec.login.em2.oraclecloud.com
}

I am unable to do same with check http can you please help and provide serv=
ice , command and host definition for check_http or any other useful plugin

Thanks
Regards,
Mangesh Jadhav | Quality Engineer | Office  Ext:35950
[email protected]<mailto:[email protected]> | Mob=
ile +91-9960743340
Persistent Systems Ltd | Partners in innovation | www.persistentsys.com<htt=
p://www.persistentsys.com/>

DISCLAIMER
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This e-mail may contain privileged and confidential information which is th=
e property of Persistent Systems Ltd. It is intended only for the use of th=
e individual or entity to which it is addressed. If you are not the intende=
d recipient, you are not authorized to read, retain, copy, print, distribut=
e or use this message. If you have received this communication in error, pl=
ease notify the sender and delete all copies of this message. Persistent Sy=
stems Ltd. does not accept any liability for virus infected mails.

--_000_BMXPR01MB229423EB6589DBC61BE053FBB5DC0BMXPR01MB2294INDP_
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Brush Script MT";
	panose-1:3 6 8 2 4 4 6 7 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi team,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; I am trying to monitor status of https cloud based URL=
 of Oracle but after some time it is going into critical eventhough site is=
 up.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Using Plugin: check_https<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">define host{<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-server,host-pnp&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Name of host templat=
e to use<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host_name=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; ehec.login.em2.oraclecloud.com<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alias&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web URL<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; IP address<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">#-------------------------------------Services------=
------------------------------------------<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">define service {<o:p></o:p></p>
<p class=3D"MsoNormal">service_description Check Oraacle URL status<o:p></o=
:p></p>
<p class=3D"MsoNormal">use generic-service,srv-pnp<o:p></o:p></p>
<p class=3D"MsoNormal">check_command check_https!ehec.fa.em2.oraclecloud.co=
m<o:p></o:p></p>
<p class=3D"MsoNormal">host_name ehec.login.em2.oraclecloud.com<o:p></o:p><=
/p>
<p class=3D"MsoNormal">}<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"background:yellow;mso-highlight:yello=
w">I am unable to do same with check http can you please help and provide s=
ervice , command and host definition for check_http or any other useful plu=
gin</span><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,serif;color:#1F497D">Thanks<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,serif;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:&quot;Br=
ush Script MT&quot;;color:#1F497D">Mangesh Jadhav</span><span style=3D"font=
-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#1F497D"> =
| Quality Engineer | Office&nbsp; Ext:35950<br>
<a href=3D"mailto:[email protected]"><span style=3D"color:blue=
">[email protected]</span></a> | Mobile &#43;91-9960743340
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,serif;color:#1F497D">Persistent Systems Ltd | Partners =
in innovation |
<a href=3D"http://www.persistentsys.com/"><span style=3D"color:blue">www.pe=
rsistentsys.com</span></a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
DISCLAIMER<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>This e-mail may contain pri=
vileged and =

confidential information which is the property of Persistent Systems =

Ltd. It is intended only for the use of the individual or entity to =

which it is addressed. If you are not the intended recipient, you are =

not authorized to read, retain, copy, print, distribute or use this =

message. If you have received this communication in error, please notify
 the sender and delete all copies of this message. Persistent Systems =

Ltd. does not accept any liability for virus infected mails.</body>
</html>

--_000_BMXPR01MB229423EB6589DBC61BE053FBB5DC0BMXPR01MB2294INDP_--