nv-l

Re: [nv-l] Unmanage via Ruleset?

2002-01-29 07:11:26
Subject: Re: [nv-l] Unmanage via Ruleset?
From: "James Shanks" <jshanks AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 29 Jan 2002 07:11:26 -0500
I am not sure what you are asking.

You can do an ovobjprint and for any object on a map you will see two
fields, OV Maps Exist and OV Maps Managed.
I don't know where in the map database this information is stored (I don't
work in that area) but these counts are what you will see change when you
have multiple maps and the object is managed in one and not the other.

Unlike being managed/unmanaged, IP status is an object property, and when a
previously unmanaged object is managed via the GUI, a trap is sent to
netmon, which immediately polls the object and sets its status in the
topology and object database.  If the object is managed in one map and not
the other, then IP status will not change to "unmanaged"  but will remain
what netmon sets it to.   It will show up as the "wheat" unmanaged color in
the map where it is unmanaged, however.  When there is only one map, the
object's IP status changes to "unmanaged" when it is.  I suppose they could
have used some other value here (undetermined?) but they did not.

Don't believe me?  Try it and see.

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




                                                                                
                              
                      awatthey AT mmm DOT com                                   
                                     
                                               To:       nv-l AT lists.tivoli 
DOT com                                
                      01/29/02 04:06 AM        cc:                              
                              
                                               Subject:  Re: [nv-l] Unmanage 
via Ruleset?                     
                                                                                
                              
                                                                                
                              
                                                                                
                              



James,

Could you enlighten me a little more as this interests me.  Netview 7.1 on
W2K SP2 (although I don't think this matters here).

We have Netview set up to discover the local subnet only.  When it does
this it finds routers that it sets to unmanaged.  According to me this is
the IP Status field (field ID 74) in the database which has nothing to do
with which map the device is displayed on.  If I select the router on the
GUI and manage it, this database field goes to 'normal' or 'unknown' or
'marginal'.  If I unmanage it again it goes back to 'unmanaged'.

If this managed status is per map, where is it stored?  Admittedly, I don't
have multiple maps yet as I am still trying to get to grips with the basic
stuff so perhaps I haven't discovered something yet that I need to.

Alan.





                    "James Shanks"

                    <jshanks AT us DOT ibm      To:     nv-l AT lists.tivoli 
DOT com

                    .com>                cc:     (bcc: Alan
Watthey/UK-Europe/3M/US)
                                         Subject:     Re: [nv-l] Unmanage
via Ruleset?
                    28/01/2002

                    21:20








But there is not.  This usually gets asked as "How can I do this from the
command line?"  In the current design, you cannot.
Managed/Unmanaged is relative to a map, not to an object.  You can have
multiple maps and the object can be managed on some and unmanaged on
others.  So the only  way you can manage or unmanage an object is to have
the map open read-write.  Which means you have to do it from the GUI.

Of course, if you always want to have your HP printers discovered
unmanaged, and they all have SNMP turned on, and they all have a unique
OID, then you could modify the /usr/OV/conf/oid_to_type file to make that
happen.  Read the comments and create an entry like this
<HP PRINTER OID>:  :  :U
But this only works with ones you have not yet discovered of course, and
they must have SNMP active at the time of discovery.

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






"Scott Bursik" <tivoliesm AT hotmail DOT com>
01/28/2002 10:01 AM


        To:     nv-l AT lists.tivoli DOT com
        cc:
        Subject:        [nv-l] Unmanage via Ruleset?



NetView 6.0.2 AIX 4.3.3
Is there a way to unmanage nodes that match a smartset? Example:
I have HP Print Servers that I do not want to manage at this time but I
need to see that they exist.
I set up a smartset based on the object OID. I have been manually
unmanaging them, but there has to be a better way.

Thanks,
Scott Bursik
Pepsico Business Solutions Group
scott.bursik AT pbsg DOT com

MSN Photos is the easiest way to share and print your photos: Click Here
--------------------------------------------------------------------- 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)




<< File att1.htm not included with reply >>





---------------------------------------------------------------------
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)





<Prev in Thread] Current Thread [Next in Thread>