Re: HTTP Request In A Script

From: Jason delaFuente (jason.delafuente@GBE.COM)
Date: Tue Mar 16 2004 - 14:40:36 EST


FYI...AIX also has built in monitoring capabilities with its RMC ( Resouce Monitoring and Control) functionality.

Jason de la Fuente

>>> D.Ousterhout@LABSAFETY.COM 03/16/04 01:11PM >>>
Thanks for all your responses. I'll give the 'lynx' software a shot and
see what happens.

Regards,
-Darryl

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Frank Chiavoni
Sent: Tuesday, March 16, 2004 11:53 AM
To: aix-l@Princeton.EDU
Subject: Re: HTTP Request In A Script

Darryl,

If you have lynx installed this may work....

lynx
http://xx.xx.xx.xxx/index.php?number=$txtNumber&message=$txtMessage&Se
nd=$Send.........'

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
Darryl Ousterhout
Sent: Tuesday, March 16, 2004 12:19 PM
To: aix-l@Princeton.EDU
Subject: HTTP Request In A Script

Admins,

Not sure if this can be done or not. I need to make an HTTP request to a
server from within a script. This is for a monitoring script that will
page my phone when a high threshold is reached (like a full filesystem).
I have the syntax from an .asp file that makes the request via a Windows
browser, but I have no clue how to do this from within a korn shell
script. Here is a sample of the syntax:

//var winhandle = window.open('http://xx.xx.xx.xxx/index.php?number='
+ txtNumber + '&message=' + txtMessage + '&Send=Send' , 'def',
width=700,height=600,screenX=0,screenY=0,location=no,resizable=yes,scr
ollbars=yes');

Or if anyone has something similar implemented that they'd like to
share, that would be a great help also.

Thanks in advance,
-Darryl



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:43 EDT