nv-l
[Top] [All Lists]

Re: Re: Re: Re: [nv-l] Auto Unmanage To Objects

To: nv-l@lists.us.ibm.com
Subject: Re: Re: Re: Re: [nv-l] Auto Unmanage To Objects
From: Leslie Clark <lclark@us.ibm.com>
Date: Mon, 14 Jun 2004 23:02:49 -0400
Delivery-date: Tue, 15 Jun 2004 04:13:25 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <200406090949.i599ngY07853@omail1.walla.co.il>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com

This feature is only supported on Unix platforms, as far as I know. Did it get added to Windows recently, Oliver.

Anyway, I often find it useful to add the ability to do certain things when nodes are added. You can automate on the trap 'Node Added'.  On Unix platforms, I would do this using a Netview Ruleset. On Windows, I think I would just trigger it right in the event configuration (trapd). There is a place in there where you can trigger your own script or bat file or program.

Windows is not my strongest skill, so I won't go into details here. There are a number of notes on the topic of event automation in Netview for Windows in the archives of this list. I would go about it this way, however. First, customize the event to call your bat file, passing it the name of the node from the trap ($2). I know you have to give it the whole path to your bat file. Just have it write to a log until you get the invocation figured out. And practice at the commandline using the smartsetutil command to query field values for the node. The field you are looking for is 'isSNMPSupported' (try ovobjprint -s <nodename> to see all of the fields). And try the nvmaputil command for managing and unmanaging a node. Once you have mastered the syntax, add them to your bat file.

I find all sorts of uses for a hook like this.

Cordially,

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



netace1@walla.co.il
Sent by: owner-nv-l@lists.us.ibm.com

06/09/2004 05:49 AM
Please respond to
nv-l

To
oliver.bruchhaeuser@de.ibm.com
cc
nv-l@lists.us.ibm.com
Subject
Re: Re: Re: Re: [nv-l] Auto Unmanage To Objects





Hi, Oliver

Have you tried this at your Netview , because it didn't worked in mine....

 

Thanks

Shay

<oliver.bruchhaeuser@de.ibm.com>
Re: Re: Re: [nv-l] Auto Unmanage To Objects


according to the the oid_to_type man page there have to be spaces between the colons:

------

      DEFAULT_IP Enables you to specify certain default characteristics for

      nodes without SNMP (or nodes with SNMP but with incorrect community

      names). For example, to have nodes without SNMP discovered as

      unmanaged, add the following line to the oid_to_type file:


      DEFAULT_IP:  :  :U


 Ensure that you place spaces between the colons.

------


Oliver


----- Forwarded by Oliver Bruchhaeuser/Germany/Contr/IBM on 01.06.2004 11:06 -----

netace1@walla.co.il
Sent by: owner-nv-l@lists.us.ibm.com

01.06.2004 10:28


Please respond to
nv-l


To
jane.curry@skills-1st.co.uk, nv-l@lists.us.ibm.com
cc
Subject
Re: Re: [nv-l] Auto Unmanage To Objects







Hi, Jane.


I tried what you wrote and it didn't work....


do you have any idea why? or any other solustion for this probleme?


 


thanks


shay


<jane.curry@skills-1st.co.uk>
Re: [nv-l] Auto Unmanage To Objects


You can use oid_to_type to discover non-snmp nodes as unmanaged.

Make the LAST entry in this file:

DEFAULT_IP:::U

That is 3 colon symbols, no spaces, in the middle.



Cheers,

Jane



netace1@walla.co.il wrote:



>

> Hello Everybody,

> I want to configure NetView 7.1.4 (win) to automaticaly put objects

> that don't answer to SNMP or that are with a spacific ip address, at

> Unmange mode.

> which mean if the netview will discover node x and it don't answer

> SNMP get requests then it's mode will automaticaly becomes Unmanage.

> Anyone knows how to do that???

>  

> Thanks in advance,

> Shay.

> -------------------------! -----------------------------------------------

>

>

> ------------------------------------------------------------------------

> Walla! Mail, Get Your Private, Free E-mail from Walla! at:


http://mail.walla.co.il





--

Tivoli Certified Consultant & Instructor

Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK

Tel: +44 (0)1628 782565

Copyright (c) 2004 Jane Curry <jane.curry@skills-1st.co.uk>.  All rights

reserved.













Walla! Mail, Get Your Private, Free E-mail from Walla! at:
http://mail.walla.co.il









Walla! Mail, Get Your Private, Free E-mail from Walla! at:
http://mail.walla.co.il
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web