nv-l

RE: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map

2001-11-16 18:55:40
Subject: RE: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map
From: JWhite <JWhite AT PEC DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 16 Nov 2001 18:55:40 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
Thanks, the previous help did work for me.  But I tried deleting some other
devices and it didn't go as smoothly.  Now when I do a search on the map,
the object is not resolved.  However when I do a ovobjprint, part of it does
appear.  Basically the device was a router that I stated to delete from all
submaps.  But I waited for it to be rediscovered(from seed file) and it
didn't.  So I checked with ovobjprint and at least on of the IP associated
with the router is still there with a selection name of "Interface:x.x.x.x".
And when I do a location search it does not appear anywhere on the map.  And
thought that it might be in some other map, so I went and deleted all the
other maps and now just have the "default" map.  Then did the clean up with
ovmapcount -a and ovtopofix -a.  And it still stayed when I did ovobjprint
-s Interface:x.x.x.x.  So my question:  Is there a way to delete an object
from the database manually (CLI/Sol7)?  

Thanks,
-Jin

-----Original Message-----
From: Leslie Clark [mailto:lclark AT us.ibm DOT com]
Sent: Tuesday, November 13, 2001 8:14 PM
To: IBM NetView Discussion
Subject: Re: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map


Did you remove them from all of your maps, or only one of your maps?
They will not be removed from the topology database until they are
gone from all maps. Are they in the Object database? (ovobjprint -s
<name>).
That will tell you how many maps they are still in.

Cordially,

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



 

                    JWhite

                    <JWhite AT PEC DOT co       To:     "'IBM NetView 
Discussion'"

                    m>                    <nv-l AT tkg DOT com>

                    Sent by:             cc:

                    owner-nv-l@tkg       Subject:     [NV-L] RE: Réf. : Re:
[NV-L]     
                    .com                  Remove Workstation from Map

 

 

                    11/13/01 05:30

                    PM

                    Please respond

                    to IBM NetView

                    Discussion

 

 




I also used this method to delete certain devices from my maps, in which it
did and I also did the ovtopofix -a.  However the devices are still in the
database when I do a ovtopodump.  And I don't want netmon to still monitor
them.  Also before and after I deleted the devices, I did a ovtopodump -S
and the number of objects stayed the same.  I was expecting the number to
drop by 300, since I deleted that many from the maps.  What do I need to do
to delete the devices from the database?  Also I recently changed my seed
file to not include the devices that I deleted and I'm not using
auto-discovery.

Thanks,
-Jin
     -----Original Message-----
     From: James Shanks [mailto:jshanks AT US.IBM DOT COM]
     Sent: Monday, November 12, 2001 4:13 PM
     To: IBM NetView Discussion
     Subject: Re: Réf. : Re: [NV-L] Remove Workstation from Map


     On UNIX you use the Smartset/Collection editor.  It has both GUI and
     text editor modes.  You can use the GUI mode.  Just click the buttons.

     Type in "collectioned" or pull down Tools --> Smartset Editor
     To get a smartset with non-SNMP objects, create one with the attribute
     'isSNMPSupported' equal to false.
     To get a smartset with only MS objcets, create one with the vendor
     equal to Microsoft  or  the attribute SNMP sysObjectId like (~)
     1.3.6.1.4.1.311.  (make certain to omit the initial dot "." in string
     here).  Works ofr me.
     You can of course continue this logic to add other vendors or make
     compound conditions for your smartsets.

     James Shanks
     Level 3 Support  for Tivoli NetView for UNIX and NT
     Tivoli Software / IBM Software Group



                                                                          
   bducharme AT avdl DOT com                                                    
 
   Sent by: owner-nv-l AT tkg DOT com         To:        IBM NetView Discussion 
 
                               <nv-l AT tkg DOT com>                            
 
                                       cc:                                
   11/12/2001 03:19 PM                 Subject:        Réf. : Re: [NV-L]  
   Please respond to IBM       Remove Workstation from Map                
   NetView Discussion                                                     
                                                                          
                                                                          




     How to define Smartsets
     that include workstation and non-snmp equipment ?

     Benoit





     "Leslie Clark" <lclark AT US.IBM DOT COM>@tkg.com le 2001-11-12 10:57:04

     Veuillez répondre à IBM NetView Discussion <nv-l AT tkg DOT com>

     Envoyé par :   owner-nv-l AT tkg DOT com


     Pour :    IBM NetView Discussion <nv-l AT tkg DOT com>
     cc :

     Objet :   Re: [NV-L] Remove Workstation from Map


     This is done with the seedfile. There are a couple of ways.

     First, if you have a good addressing scheme, you should exclude them
     by address range. This is the best performer. If you have assigned
     DHCP
     address ranges, put them in your seedfile like this:

     !10.*.23-150.40-255

     If you don't have a tidy addressing scheme, or if you also have a lot
     of workstations that don't abide by the rules, you can exclude them by
     snmp sysObject id. Since most of them will be either non-snmp, or
     Microsoft, you can exclude them like this;

     !@oid 0                                 # excludes non-snmp
     !@oid 1.3.6.1.4.1.311.*      # excludes MS

     The second one would also exclude servers, so you would then add
     in an explicit list of the servers that you do want to allow.

     Make sure netmon is using the seedfile, and has re-read it.

     To get them out of the map after updating the seedfile you can
     either rediscover the entire network, or you can locate and
     delete them. To locate and delete them, define Smartsets
     that include them. Then you can grab them easily and delete
     them. If there are a lot, this can take quite a while, but if you have
     done a lot of map customization it will be worth the wait. I prefer
     to stop netmon during the delete, and after all of the events for
     the deletions have come in, do an ovtopofix -a.


     Cordially,

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




                        bducharme@avdl
                        .com                 To:     nv-l AT tkg DOT com
                        Sent by:             cc:
                        owner-nv-l@tkg       Subject:     [NV-L] Remove
     Workstation from Map
                        .com


                        11/12/01 10:10
                        AM
                        Please respond
                        to IBM NetView
                        Discussion





     How can we remove and prevent Workstation from getting in the Netview
     map ?

     Thanks

     Benoit

 
_________________________________________________________________________

     NV-L List information and Archives: http://www.tkg.com/nv-l



 
_________________________________________________________________________

     NV-L List information and Archives: http://www.tkg.com/nv-l



 
_________________________________________________________________________

     NV-L List information and Archives: http://www.tkg.com/nv-l




_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l

Thanks, the previous help did work for me.  But I tried deleting some other devices and it didn't go as smoothly.  Now when I do a search on the map, the object is not resolved.  However when I do a ovobjprint, part of it does appear.  Basically the device was a router that I stated to delete from all submaps.  But I waited for it to be rediscovered(from seed file) and it didn't.  So I checked with ovobjprint and at least on of the IP associated with the router is still there with a selection name of "Interface:x.x.x.x".  And when I do a location search it does not appear anywhere on the map.  And thought that it might be in some other map, so I went and deleted all the other maps and now just have the "default" map.  Then did the clean up with ovmapcount -a and ovtopofix -a.  And it still stayed when I did ovobjprint -s Interface:x.x.x.x.  So my question:  Is there a way to delete an object from the database manually (CLI/Sol7)? 

Thanks,
-Jin

-----Original Message-----
From: Leslie Clark [mailto:lclark AT us.ibm DOT com]
Sent: Tuesday, November 13, 2001 8:14 PM
To: IBM NetView Discussion
Subject: Re: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map


Did you remove them from all of your maps, or only one of your maps?
They will not be removed from the topology database until they are
gone from all maps. Are they in the Object database? (ovobjprint -s
<name>).
That will tell you how many maps they are still in.

Cordially,

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



                                                                                      
                    JWhite                                                            
                    <JWhite AT PEC DOT co       To:     "'IBM NetView Discussion'"           
                    m>                    <nv-l AT tkg DOT com>                              
                    Sent by:             cc:                                          
                    owner-nv-l@tkg       Subject:     [NV-L] RE: Réf. : Re: [NV-L]    
                    .com                  Remove Workstation from Map                 
                                                                                      
                                                                                      
                    11/13/01 05:30                                                    
                    PM                                                                
                    Please respond                                                    
                    to IBM NetView                                                    
                    Discussion                                                        
                                                                                      
                                                                                      



I also used this method to delete certain devices from my maps, in which it
did and I also did the ovtopofix -a.  However the devices are still in the
database when I do a ovtopodump.  And I don't want netmon to still monitor
them.  Also before and after I deleted the devices, I did a ovtopodump -S
and the number of objects stayed the same.  I was expecting the number to
drop by 300, since I deleted that many from the maps.  What do I need to do
to delete the devices from the database?  Also I recently changed my seed
file to not include the devices that I deleted and I'm not using
auto-discovery.

Thanks,
-Jin
     -----Original Message-----
     From: James Shanks [mailto:jshanks AT US.IBM DOT COM]
     Sent: Monday, November 12, 2001 4:13 PM
     To: IBM NetView Discussion
     Subject: Re: Réf. : Re: [NV-L] Remove Workstation from Map


     On UNIX you use the Smartset/Collection editor.  It has both GUI and
     text editor modes.  You can use the GUI mode.  Just click the buttons.

     Type in "collectioned" or pull down Tools --> Smartset Editor
     To get a smartset with non-SNMP objects, create one with the attribute
     'isSNMPSupported' equal to false.
     To get a smartset with only MS objcets, create one with the vendor
     equal to Microsoft  or  the attribute SNMP sysObjectId like (~)
     1.3.6.1.4.1.311.  (make certain to omit the initial dot "." in string
     here).  Works ofr me.
     You can of course continue this logic to add other vendors or make
     compound conditions for your smartsets.

     James Shanks
     Level 3 Support  for Tivoli NetView for UNIX and NT
     Tivoli Software / IBM Software Group



                                                                         
   bducharme AT avdl DOT com                                                    
   Sent by: owner-nv-l AT tkg DOT com         To:        IBM NetView Discussion 
                               <nv-l AT tkg DOT com>                            
                                       cc:                               
   11/12/2001 03:19 PM                 Subject:        Réf. : Re: [NV-L] 
   Please respond to IBM       Remove Workstation from Map               
   NetView Discussion                                                    
                                                                         
                                                                         




     How to define Smartsets
     that include workstation and non-snmp equipment ?

     Benoit





     "Leslie Clark" <lclark AT US.IBM DOT COM>@tkg.com le 2001-11-12 10:57:04

     Veuillez répondre à IBM NetView Discussion <nv-l AT tkg DOT com>

     Envoyé par :   owner-nv-l AT tkg DOT com


     Pour :    IBM NetView Discussion <nv-l AT tkg DOT com>
     cc :

     Objet :   Re: [NV-L] Remove Workstation from Map


     This is done with the seedfile. There are a couple of ways.

     First, if you have a good addressing scheme, you should exclude them
     by address range. This is the best performer. If you have assigned
     DHCP
     address ranges, put them in your seedfile like this:

     !10.*.23-150.40-255

     If you don't have a tidy addressing scheme, or if you also have a lot
     of workstations that don't abide by the rules, you can exclude them by
     snmp sysObject id. Since most of them will be either non-snmp, or
     Microsoft, you can exclude them like this;

     !@oid 0                                 # excludes non-snmp
     !@oid 1.3.6.1.4.1.311.*      # excludes MS

     The second one would also exclude servers, so you would then add
     in an explicit list of the servers that you do want to allow.

     Make sure netmon is using the seedfile, and has re-read it.

     To get them out of the map after updating the seedfile you can
     either rediscover the entire network, or you can locate and
     delete them. To locate and delete them, define Smartsets
     that include them. Then you can grab them easily and delete
     them. If there are a lot, this can take quite a while, but if you have
     done a lot of map customization it will be worth the wait. I prefer
     to stop netmon during the delete, and after all of the events for
     the deletions have come in, do an ovtopofix -a.


     Cordially,

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




                        bducharme@avdl
                        .com                 To:     nv-l AT tkg DOT com
                        Sent by:             cc:
                        owner-nv-l@tkg       Subject:     [NV-L] Remove
     Workstation from Map
                        .com


                        11/12/01 10:10
                        AM
                        Please respond
                        to IBM NetView
                        Discussion





     How can we remove and prevent Workstation from getting in the Netview
     map ?

     Thanks

     Benoit

     _________________________________________________________________________

     NV-L List information and Archives: http://www.tkg.com/nv-l



     _________________________________________________________________________

     NV-L List information and Archives: http://www.tkg.com/nv-l



     _________________________________________________________________________

     NV-L List information and Archives: http://www.tkg.com/nv-l




_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l





<Prev in Thread] Current Thread [Next in Thread>
  • RE: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map, JWhite <=