Hi Gary,
is there any new URLPlus version?
I'm currently using v1.21 ($Id: url-plus.pl,v 1.21 2008/04/30 13:56:07).
Thanks.
Regards.
Massimo Morsiani
Information Technology Dept.
Gilbarco S.r.l.
via de' Cattani, 220/G
50145 Firenze, Italy
tel: +XX-XXX-XXXXX
fax: +XX-XXX-XXXXXX
email: user-32025d8bd22e@xymon.invalid
web: http://www.gilbarco.it
*From:* Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid]
*Sent:* mercoledì 30 aprile 2008 16.13
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] URLplus
I have an updated version of URLPLus which supports single-form
submissions.
I haven't gotten around to being able to submit directly to The Shire, so
I'm attaching it here.
I've also updated this to do multi-page checking (i.e. full "end-to-end"
transaction monitoring), but consider that feature mostly experimental at
this time.
On Wed, Apr 30, 2008 at 4:16 AM, Thomas Laurids Pedersen <user-934e986710b3@xymon.invalid>
wrote:
Would you share the bourne script. I need something quickly for only 1
site at the moment, so anything will do.
Regards, Thomas
[image: Inactive hide details for "Ralph Mitchell"
<user-00a5e44c48c0@xymon.invalid>]"Ralph Mitchell" <user-00a5e44c48c0@xymon.invalid>
*"Ralph Mitchell" <user-00a5e44c48c0@xymon.invalid>*
29-04-2008 22:04
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
cc
Subject
Re: [hobbit] URLplus
On Tue, Apr 29, 2008 at 2:28 PM, Thomas Laurids Pedersen <*user-934e986710b3@xymon.invalid*<user-934e986710b3@xymon.invalid>>
wrote:
Can this new extension do the post like the builtin http test can do ?
Regards, Thomas
I don't think so, as it currently stands. This line:
$ret=qx(curl -m $tout -s -k -S $pstr "$url" 2>&1);
in showUrl is the bit that actually fetches the web page. To do a POST
using curl, you would need to change that to:
$ret=qx(curl -m $tout -s -k -S -d $postArgs $pstr "$url" 2>&1);
with matching additions elsewhere to fill the $postArgs variable with
whatever you want to post. If you're wanting to implement something that
performs a login, you'd probably want to track cookies as well.
I'm not much of a perl programmer, so I'm not confident about making such
changes. On the other hand, I've done quite a lot of this in Bourne shell...
Ralph Mitchell
Please be advised that this email may contain confidential information.
If you are not the intended recipient, please do not read, copy or
re-transmit this email. If you have received this email in error,
please notify us by email by replying to the sender and by telephone
(call us collect at +X XXX-XXX-XXXX) and delete this message and any
attachments. Thank you in advance for your cooperation and assistance.
In addition, Danaher and its subsidiaries disclaim that the content of
this email constitutes an offer to enter into, or the acceptance of,
any
contract or agreement or any amendment thereto; provided that the
foregoing disclaimer does not invalidate the binding effect of any
digital or other electronic reproduction of a manual signature that is
included in any attachment to this email.