No subject
Tue Nov 13 08:16:38 EST 2012
If you think there is some other feature of alertsite.com where you periodically hit their URL, please post a link to their doc page for that feature.
Scott
----- Original Message -----
From: "Robert L. Harris" <robert.l.harris at gmail.com>
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Sent: Thursday, January 24, 2013 9:17:51 AM
Subject: Re: [ale] OT: Website Input
I've got a perl script working right already which I am going to tie into our internal nagios system but I want something I can plug into " alertsite.com " which is external to the client and can monitor the health of the service form the outside. Unfortunately alertsite seems to only take a url.
On Thu, Jan 24, 2013 at 7:12 AM, Richard Bronosky < richard at bronosky.com > wrote:
Use curl our wget to do a method POST with data. If you need the specific command I can get that for you when I get to my desk.
On Jan 23, 2013 9:19 PM, "Robert L. Harris" < robert.l.harris at gmail.com > wrote:
<blockquote>
I have a system I need to push a string of text through from a URL and I'm not sure how to do it.
If I telnet to " host.company.com 80" I can enter some XML text into the resulting connection (no prompt is returned)
<seqnum>1</seqnum>
<encrypt-type>none</encrypt-type><request><method>geturiinfo</method><uid>wr_monitor</uid>
<uri> google.com </uri></request></bcap>
This causes a service on the inside to return "200 <IP> OK".
I'm using alertsite.com for site monitoring and need to figure out how to do this through the "URL" input form.
Anyone have any ideas on how to format the URL to put the XML in?
Robert
--
:wq!
---------------------------------------------------------------------------
Robert L. Harris
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
</blockquote>
--
:wq!
---------------------------------------------------------------------------
Robert L. Harris
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
------=_Part_787_535540050.1359043109831
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><=
div style=3D'font-family: arial,helvetica,sans-serif; font-size: 12pt; colo=
r: #000000'>From a quick look, it seems alertsite.com wants you to enter a =
URL that they will hit (GET) on your site, to see if your site is up. You c=
ould create a public facing scripted page (cgi/php/Java Servlet) that does =
your checks then returns a 200 OK code if everything is running, or a 4XX e=
rror code if something is not running.<div><br></div><div>If you think ther=
e is some other feature of alertsite.com where you periodically hit their U=
RL, please post a link to their doc page for that feature.<br><br>Scott</di=
v><div><br><hr id=3D"zwchr"><div style=3D"color:#000;font-weight:normal;fon=
t-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;=
font-size:12pt;"><b>From: </b>"Robert L. Harris" <robert.l.harris at gmail.=
com><br><b>To: </b>"Atlanta Linux Enthusiasts" <ale at ale.org><br><b=
>Sent: </b>Thursday, January 24, 2013 9:17:51 AM<br><b>Subject: </b>Re: [al=
e] OT: Website Input<br><br><div dir=3D"ltr"><br><div style=3D"">I've got a=
perl script working right already which I am going to tie into our interna=
l nagios system but I want something I can plug into "<a href=3D"http://ale=
rtsite.com" target=3D"_blank">alertsite.com</a>" which is external to the c=
lient and can monitor the health of the service form the outside. Unf=
ortunately alertsite seems to only take a url.</div>
</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Thu,=
Jan 24, 2013 at 7:12 AM, Richard Bronosky <span dir=3D"ltr"><<a href=3D=
"mailto:richard at bronosky.com" target=3D"_blank">richard at bronosky.com</a>>=
;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><p dir=3D"ltr">Use curl our wget to do a met=
hod POST with data. If you need the specific command I can get that for you=
when I get to my desk.</p>
<div class=3D"gmail_quote"><div><div class=3D"h5">On Jan 23, 2013 9:19 PM, =
"Robert L. Harris" <<a href=3D"mailto:robert.l.harris at gmail.com" target=
=3D"_blank">robert.l.harris at gmail.com</a>> wrote:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5">
<div dir=3D"ltr"><div><br></div>I have a system I need to push a string of =
text through from a URL and I'm not sure how to do it. <div><br></div=
><div>If I telnet to "<a href=3D"http://host.company.com" target=3D"_blank"=
>host.company.com</a> 80" I can enter some XML text into the resultin=
g connection (no prompt is returned) </div>
<div><br></div><div><div style=3D"font-size:medium;font-family:'Times New R=
oman'"><span style=3D"font-family:'courier new',monospace"><seqnum>1&=
lt;/seqnum></span><br></div><div style=3D"font-size:medium;font-family:'=
Times New Roman'">
<font face=3D"courier new, monospace"><encrypt-type>none</encrypt-=
type><request><method>geturiinfo</method><uid>wr=
_monitor</uid></font></div><div style=3D"font-size:medium;font-family=
:'Times New Roman'">
<span style=3D"font-family:'courier new',monospace"><uri></span><a hr=
ef=3D"https://owa.webroot.com/exchweb/bin/redir.asp?URL=3Dhttp://google.com=
" style=3D"font-family:'courier new',monospace" target=3D"_blank">google.co=
m</a><span style=3D"font-family:'courier new',monospace"></uri></r=
equest></bcap></span><br>
</div><div style=3D"font-size:medium;font-family:'Times New Roman'"><span s=
tyle=3D"font-family:'courier new',monospace"><br></span></div><div style=3D=
"font-size:medium;font-family:'Times New Roman'">
<span style=3D"font-family:'courier new',monospace">This causes a service o=
n the inside to return "200 <IP> OK".</span></div><div style=3D"font-=
size:medium;font-family:'Times New Roman'">
<span style=3D"font-family:'courier new',monospace"><br></span></div><div s=
tyle=3D"font-size:medium;font-family:'Times New Roman'"><span style=3D"font=
-family:'courier new',monospace">I'm using <a href=3D"http://alertsite.com"=
target=3D"_blank">alertsite.com</a> for site monitoring and need to figure=
out how to do this through the "URL" input form.</span></div>
<div style=3D"font-size:medium;font-family:'Times New Roman'"><span style=
=3D"font-family:'courier new',monospace"><br></span></div><div style=3D"fon=
t-size:medium;font-family:'Times New Roman'">
<span style=3D"font-family:'courier new',monospace">Anyone have any ideas o=
n how to format the URL to put the XML in?</span></div><div style=3D"font-s=
ize:medium;font-family:'Times New Roman'">
<span style=3D"font-family:'courier new',monospace"><br></span></div><div s=
tyle=3D"font-size:medium;font-family:'Times New Roman'"><span style=3D"font=
-family:'courier new',monospace">Robert</span></div>
<div style=3D"font-size:medium;font-family:'Times New Roman'"><span style=
=3D"font-family:'courier new',monospace"><br></span></div><div><br></div>--=
<br>:wq!<br>--------------------------------------------------------------=
-------------<br>
Robert L. Harris<br><br>DISCLAIMER:<br> These are MY OP=
INIONS With Dreams To Be A K=
ing,<br> ALONE. I speak for &n=
bsp; First One Shou=
ld Be A Man<br> no-one else. =
 =
; - Manowar
</div></div>
<br></div></div><div class=3D"im">_________________________________________=
______<br>
Ale mailing list<br>
<a href=3D"mailto:Ale at ale.org" target=3D"_blank">Ale at ale.org</a><br>
<a href=3D"http://mail.ale.org/mailman/listinfo/ale" target=3D"_blank">http=
://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href=3D"http://mail.ale.org/mailman/listinfo" target=3D"_blank">http://m=
ail.ale.org/mailman/listinfo</a><br>
<br></div></blockquote></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href=3D"mailto:Ale at ale.org" target=3D"_blank">Ale at ale.org</a><br>
<a href=3D"http://mail.ale.org/mailman/listinfo/ale" target=3D"_blank">http=
://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href=3D"http://mail.ale.org/mailman/listinfo" target=3D"_blank">http://m=
ail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>:wq!<br>=
---------------------------------------------------------------------------=
<br>Robert L. Harris<br><br>DISCLAIMER:<br> These are M=
Y OPINIONS With Dreams To Be=
A King,<br>
ALONE. I speak for &nb=
sp; First One Should Be A =
Man<br> no-one else. &=
nbsp; =
- Manowar
</div>
<br>_______________________________________________<br>Ale mailing list<br>=
Ale at ale.org<br>http://mail.ale.org/mailman/listinfo/ale<br>See JOBS, ANNOUN=
CE and SCHOOLS lists at<br>http://mail.ale.org/mailman/listinfo<br></div><b=
r></div></div></body></html>
------=_Part_787_535540050.1359043109831--
More information about the Ale
mailing list