Jane,
I managed to get something to work by redirecting the URL of the web
browser opened by Netview to an other URL on an other web server (same or
different physical machine).
>From there I can have the user enter some information (including his id
...) and execute an other script (using cgi).
The following script is what is executed when the user select a menu entry
in the web console:
======================================================
#! /bin/ksh
myurl="http://XX.43.250.8/network/Maintenance.htm"
node=$1
echo "<html>"
echo "<head>"
echo "<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=iso-8859-1\">"
echo "</head>"
echo "<script>"
echo "document.location = \"${myurl}?Node=${node}\";"
echo "</script>"
echo "</html>"
====================================================
It redirect to a web page on the same server but on port 80. From there it
is possible to call any script with cgi ...
Let me know if you need more detail.
Thanks,
Salutations, / Regards,
Francois Le Hir
Network Projects & Consulting Services
IBM Global Services
Phone: (514) 205 6695
Jane Curry
<jane.curry@skills To: Francois Le
Hir/Quebec/IBM@IBMCA
-1st.co.uk> cc:
Subject: Re: [nv-l] Tracking
Acknowledged Object
08/28/2003 12:37
PM
Someone else asked about this - I've not tried it but some elements of
the samples should be adaptable. The bit you will need to redesign will
be the piece that gets the name of the operator doing the Ack. Either
you need to write something in Java that replaces the x-based stuff, or
I don't know if there is a way to tap in to the userid that your web
console user signed on as???
I'd be very interested if you do get this to work....
Cheers,
Jane
Francois Le Hir wrote:
>Thank you !
>
>Do you know if there is a way to accomplish the same but with the Java
>console ? (without using XWindows )
>
>Thanks,
>Salutations, / Regards,
>
>Francois Le Hir
>Network Projects & Consulting Services
>IBM Global Services
>Phone: (514) 205 6695 Pager: (514) 854 5709
>
>
>
> Jane Curry
> <jane.curry@skills To: Francois Le
Hir/Quebec/IBM@IBMCA
> -1st.co.uk> cc:
> Subject: Re: [nv-l]
Tracking Acknowledged Object
> 08/25/2003 02:57
> PM
>
>
>
>
>OK - no guarantees but here's my samples to start from.
>Cheers,
>Jane
>
>Francois Le Hir wrote:
>
>
>
>>Hello Jane,
>>
>>Could you please sent it to me ?
>>
>>Thanks,
>>Salutations, / Regards,
>>
>>Francois Le Hir
>>Network Projects & Consulting Services
>>IBM Global Services
>>Phone: (514) 205 6695 Pager: (514) 854 5709
>>
>>Date: Fri, 15 Aug 2003 18:57:11 +0100
>>To: Anthony J Segelhorst <ajs15@meadwestvaco.com>,
>> NetView mailing list <nv-l@lists.tivoli.com>
>>From: Jane Curry <jane.curry@skills-1st.co.uk>
>>Subject: Re: [nv-l] Tracking Acknowledged Object
>>Message-ID: <3F3D1EF7.40906@skills-1st.co.uk>
>>
>>Hi Anthony,
>>I had a bit of a go at this a few months back. I created new Ack /
>>Unack menus which called my own little script which prompted the
>>Operator for their name. It then set a new field, whoAck, in the object
>>database and filled it in with the name supplied.
>>
>>I have prototype stuff if you want a copy but I will send it to you
>>personally, given the flak that Bernard has had recently. If anyone
>>else wants a copy, feel free to email me but please note I am now away
>>for 10 days so I will process them August 26th.
>>
>>Cheers,
>>Jane
>
>--
>Tivoli Certified Consultant & Instructor
>Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
>Tel: +44 (0)1628 782565
>Copyright (c) 2003 Jane Curry <jane.curry@skills-1st.co.uk>. All rights
>reserved.
>
>(See attached file: whoAck.ZIP)
>
>
>
--
Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2003 Jane Curry <jane.curry@skills-1st.co.uk>. All rights
reserved.
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|