nv-l
[Top] [All Lists]

Re: [nv-l] Howto list only managed nodes ???

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Howto list only managed nodes ???
From: Paul Stroud <nvladmin@gmail.com>
Date: Thu, 03 Nov 2005 14:09:50 -0500
Delivery-date: Thu, 03 Nov 2005 19:10:31 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <20051103183313.GC6672@localhost.localdomain>
References: <20051103151703.GB6672@localhost.localdomain> <436A30D3.4010000@gmail.com> <20051103183313.GC6672@localhost.localdomain>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Are the nodes actually unmanaged or only the interfaces?
It does not sound to me like the actual device is unmanaged.
You can run "ovobjprint -s <hostname>" to see the IP Status
of the device...

Paul

Michael D Schleif wrote:

* Paul Stroud <nvladmin@gmail.com> [2005:11:03:10:46:27-0500] scribed:
Try this on for size:

smartsetutil e '"IP Status"!=Unmanaged && isNode=TRUE"

This shoud give you a list of all managed nodes on the map.

Paul

O, the dreaded single vs. double quote windoze shell issue ...

This does not return and error ;>

   smartsetutil e "'IP Status'!=Unmanaged && isNode=TRUE"

However, it returns *EVERY* node it knows about, _including_ un-Managed
nodes ;<

In fact, the following returns _nothing_:

   smartsetutil e "'IP Status'=Unmanaged && isNode=TRUE"

As others have suggested, I created Smartsets with these two (2)
rulesets:

   ("IP Name" ~ "^P4.*$") AND ("IP Status" = "Unmanaged") AND (isNode = TRUE)

   ("IP Name" ~ "^P4.*$") AND ("IP Status" != "Unmanaged") AND (isNode = TRUE)

I am told that the convention at this customer is to prefix PC hostnames
with `P4', hence the "IP Name" criterion.

Once created, I display the submaps; and the results are identical to
your CLI: the un-Managed Smartset is *empty*; and the Managed Smartset
shows un-Managed nodes.  Yes, we display un-Managed nodes in a different
color; and when the icon is right-clicked, the topmost option is
`Manage', as opposed to `Unmanage' for Managed nodes.

What am I missing?

What do you think?

Thank you, all of you, for your attention to these issues ...


Michael D Schleif wrote:

Netview/Window, v7.1.4, FP3

I am trying to automate un-managing discrete sets of nodes after
discovery finds them.  nvmaputil facilitates this; but, first, I need to
identify and list appropriate nodes.

I have not found necessary information from ovmapdump nor ovtopodump
output.

Ideally, we will periodically dump a list of managed node, parse that
list for nodes to be un-managed, and un-manage them.  It is not
desirable to try to un-manage nodes that are already un-managed ;<



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

Archive operated by Skills 1st Ltd

See also: The NetView Web