nv-l
[Top] [All Lists]

RE: [nv-l] Updating Gui items on the map - still struggling thanks Ray

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] Updating Gui items on the map - still struggling thanks Ray
From: "Pretorius, Vynita" <VPretorius@fnb.co.za>
Date: Wed, 23 Feb 2005 16:09:02 +0200
Delivery-date: Wed, 23 Feb 2005 14:10:10 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcUZTTrVFwXotSQFQEG/vK1bpbnt4QAZec1Q
Thread-topic: [nv-l] Updating Gui items on the map - still struggling thanks Ray
Thank Ray for all your help - I jigged it a bit and it is working.
 
Thanks
Vynita


From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Ray Westphal
Sent: 23 February 2005 4:11
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] Updating Gui items on the map - still struggling

Hello Vynita,
 
Here is how I handled the ID issues. I open an xterm window and present the user with a menu. Option #1 is to use their NetView ID, ${USER}. Option #2 is to let them enter the user ID.
 
I'm not much of a programmer. I'm sure you can improve on this.
 
Let me know what you think.
 
Have Fun!
Ray Westphal
Enterprise Rent-A-Car
 
#!/bin/ksh
#
#######################################################
/usr/bin/clear
 
select=""
secure=""
 
echo "          Your NetView user ID is ${USER}."
echo "                 Make a selection"
print '                                                 '
print '                  1. Use NetView ID              '
print '                  2. Enter SECURE ID             '
print '                                                 '
print '                                                 '
print -n '                   Selection:  '
    read select
if [ ${select} = "1" ]
then
/usr/bin/ssh -1
${USER}@${OVwSelection1}
else

   if [ ${select} = "2" ]
   then
   /usr/bin/clear
   print '\n              SECURE ID is case-sensitive '
   print '               Enter your SECURE ID:\n'
   print -n ' --->  '
   read secure

      if [[ ${secure} != "" ]]
      then
      /usr/bin/ssh -1
${secure}@${OVwSelection1}
      else
      print '           Invalid entry ..... Exiting.'
      sleep 1
      exit
      fi
   fi
fi
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]On Behalf Of Pretorius, Vynita
Sent: Tuesday, February 22, 2005 10:19 AM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] Updating Gui items on the map - still struggling

hi all
 
Thanks to Ray and James for getting back to me, but I am having problems. I amended the NNM...rsam file and the menu has been update however nothing happens. looking at the rsam file it ssh is being passed the nodename i.e router1 so I am trying to execute ssh router1. What I need to run is ssh userid@router1 i.e. ssh vynita@router1.
 
I have a couple of issues 
   1) the map name is test
    2) my aix logon is ee12345
    3) the map is started using ee12345
 
So how do I pass these parameters on.
I tried the following but it did not work
 
    /* action to invok telnet aixterm  */
    Action 'sshremote' {
        MinSelected     1;
        MaxSelected     1;
        SelectionRule   ( isNode ) ;
        NameField       'IP Hostname', 'IP Address', 'Selection Name';
        Command         '${xterm:-/usr/bin/ovwRunXterm /usr/bin/X11/xterm} -T \"SSH (xter
m) to ${OVwSelection1}\" -name \"XNmterm\"  -xrm \"XNmterm*iconName: ${OVwSelection1}\" -
e /usr/bin/ssh
ee12345@router1  >/dev/null 2>&1';
  
Thanks
Vynita

From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Ray Westphal
Sent: 18 February 2005 4:49
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] Updating Gui items on the map

Vynita,
Search the archives for a recent article by Mark F Sklenarik. It has was entitled c_arf2srf. Mark actually provided the code necessary. If you are using NV security then it will require some more work.
 
Have fun!
 
Ray Westphal
Enterprise Rent-A-Car
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]On Behalf Of Pretorius, Vynita
Sent: Friday, February 18, 2005 2:22 AM
To: nv-l@lists.tivoli.com
Subject: [nv-l] Updating Gui items on the map

Hi all

I am running Netview on AIX ver 7.1.2
At present the operators select a router off the map, right click, select administer, select telnet xterm and they can get into the router. However now due to security precautions telent has been switched off and they have to ssh to the router, and they want to do this from the map like they are used to. Can it be done? And how do I set it up?

Waiting in anticipation.

Thanks
Vynita
082 856 0321

___________________________________________

The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group an Authorised Financial Service Provider or its management.
The information in this e-mail is confidential and is intended solely for the addressee.
Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted
or does not reach its intended destination.

__________________________________


___________________________________________

The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group an Authorised Financial Service Provider or its management.
The information in this e-mail is confidential and is intended solely for the addressee.
Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted
or does not reach its intended destination.

__________________________________


___________________________________________

The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group an Authorised Financial Service Provider or its management.
The information in this e-mail is confidential and is intended solely for the addressee.
Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted
or does not reach its intended destination.

__________________________________


<Prev in Thread] Current Thread [Next in Thread>
  • RE: [nv-l] Updating Gui items on the map - still struggling thanks Ray, Pretorius, Vynita <=

Archive operated by Skills 1st Ltd

See also: The NetView Web