nv-l

Re: [nv-l] import oid field in non snmp device

2003-03-12 23:27:15
Subject: Re: [nv-l] import oid field in non snmp device
From: Leslie Clark <lclark AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 12 Mar 2003 23:14:33 -0500



Francois, I would just try it. You could use nvdbimport to set the SNMP
sysObjectID
field to something that the oid_to_type file says has a flag G. I think I
would make up
a fake oid for this purpose. Then stop netmon, and ovtopofix -o <youroid>.
If you see
messages in the output about '...is not a Gateway and should be...fixing',
then you know
you fooled it. To get them popped up to the top level of the map, it may be
necessary
to unmanage and manage the networks they are on.

I've noticed that the SNMP sysObjectID field does not get unset if you lose
snmp
access to a real snmp device, so it should stay set. Apparently it is one
of those
fields that is only set at discovery. If you delete and rediscover the node
you
will of course have to re-import the value.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit



                                                                                
                                                  
                      "Francois Le Hir"                                         
                                                  
                      <flehir AT ca.ibm DOT co        To:       nv-l AT 
lists.tivoli DOT com                                                    
                      m>                       cc:                              
                                                  
                                               Subject:  Re: [nv-l] import oid 
field in non snmp device                           
                      03/12/2003 12:27                                          
                                                  
                      PM                                                        
                                                  
                                                                                
                                                  
                                                                                
                                                  




I don't think it is needed to be able to ping an interface to add it with
the loadhost command. I think it can be created as down and then unmanaged.
There is an option in loadhost to not try to ping an interface when it is
created.
Anyway, It would be difficult to add a loopback interface somewhere for
each of the 200+ routers that we are talking about.

is it not possible to import a value for the object in the database in
order for Netview to see it as a router ?

Thanks,
Salutations, / Regards,

Francois Le Hir
Network Projects & Consulting Services
IBM Global Services
Phone: (514) 205 6695


Date: Mon, 10 Mar 2003 12:54:20 -0600
To: nv-l AT lists.tivoli DOT com
From: Stephen Hochstetler <shochste AT us.ibm DOT com>
Subject: Re: [nv-l] import oid field in non snmp device
Message-ID:
<OFA7F3E14C.8371C97A-ON86256CE5.0066540D-86256CE5.00679D31 AT us.ibm DOT com>

Interesting problem:

Have a router -- but no SNMP access.   I only have one known interface, but
want to see it on submap as a router.   You are using loadhosts -- so the
router interface gets loaded with the proper subnet mask -- good!

Suggestion:
Create additional interfaces in your network that can be "vitually"
identified with the routers so that NetView will see the devices as
routers.

Here is how:
For a router like this, create a new loopback interface on a single
computer which is NOT running SNMP.   In your /etc/hosts add those
interfaces so that one interface gets assigned to each router by hostname.
All those interfaces should be in the same subnet that does not currently
exist in your network.   The computer with loopbacks should be on the same
subnet as your NetView server (to make routing simpler).   It could be a
small PC running Linux or Windows.    At your NetView server you should add
a net route statement so that any pings going to that virtual loopback
network goes to that computer interface.   Now you should be able to ping
those loopbacks from NetView server, if you can't check the default route
in that computer and also check the NetView host route statement.   At this
point you should be able to ping every loopback interface you added.

Now do a loadhost of one of those loopback addresses.  Because the
/etc/hosts has it as the same hostname of router, it should be added to it
and show up as a router in NetView.   If this works, you can simply add
more loopback interfaces for the rest of the routers you want to manage
this way.    If you want to, you can go into those devices and unmanage the
virtual loopback interface after NetView discovers it.

Let me know if are willing to try this...and if it works!

Kind regards,
Stephen Hochstetler              shochste AT us.ibm DOT com
International Technical Support Organization at IBM
11400 Burnet Road   Austin, TX  78758
Office - 512-838-6198 (t/l 678)       FAX - 512-838-6931
------------------------------------------------------------
http://www.redbooks.ibm.com


                      "Francois Le Hir"

                      <flehir AT ca.ibm DOT co        To:
nv-l AT lists.tivoli DOT com
                      m>                       cc:

                                               Subject:  Re: [nv-l] import
oid field in non snmp device
                      03/10/2003 11:16

                      AM




In the environment I am working with, it is not possible to do that. All
the devices that I want to see represented on the map as routers are
controlled by a provider that provide the WAN connectivity to every sites
for the customer. We don't have snmp access to any of theses devices and
therefore each remote site is represented as an "Isolated" network on the
map.
We already load theses devices with loadhost just to make sure that the LAN
interface get the proper subnet mask. We don't know the ip of any of the
WAN interfaces of the routers. We just have the IP of the LAN interface
that connect to our LAN. I would like for each site to see that device
represented as a router (ie stick out of the segment on the map) even if it
is present in Netview with only it's LAN interface. That would help the
operator see when the WAN connectivity goes down for the site.

Thanks,
Salutations, / Regards,

Francois Le Hir
Network Projects & Consulting Services
IBM Global Services
Phone: (514) 205 6695    Pager: (514) 854 5709

Date: Fri, 7 Mar 2003 17:58:48 -0600
To: nv-l AT lists.tivoli DOT com
From: Stephen Hochstetler <shochste AT us.ibm DOT com>
Subject: Re: [nv-l] import oid field in non snmp device
Message-ID:
<OF3934C510.AD41D4A6-ON86256CE2.008352FE-86256CE2.00837E0A AT us.ibm DOT com>

along with Leslie's idea, you also want NetView to discover all the
interfaces on that router.   with SNMP access, NetView would do that
automatically.   Without SNMP access you will want to put all the
interfaces into your netmon seed file.   Do that after you have updated
your /etc/hosts so that they all resolve to the same host name.

Kind regards,
Stephen Hochstetler              shochste AT us.ibm DOT com
International Technical Support Organization at IBM
11400 Burnet Road   Austin, TX  78758
Office - 512-838-6198 (t/l 678)       FAX - 512-838-6931



---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT 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)





---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT 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)