nv-l
[Top] [All Lists]

Re: [nv-l] Automated discovery

To: NV-L@lists.tivoli.com
Subject: Re: [nv-l] Automated discovery
From: "Oliver Bruchhaeuser" <oliver.bruchhaeuser@de.ibm.com>
Date: Thu, 20 Jun 2002 14:57:25 +0200
instead of stopping and restarting netmon .... you only need to send the
event:
event -e CPP_EV

>event -l | grep CPP
CPP_EV       0050790411    7    Change Polling Period

Kind regards

Oliver Bruchhaeuser
Tivoli NetView EMEA L2 Support

IBM Deutschland GmbH - ITS Tivoli - Dept. 7977 - Hechtsheimer Str. 2 -
55131 Mainz - Germany
Phone: +49-6131-84-5108 - Fax: +49-6131-84-6585 - email:
bruchhae@de.ibm.com

Need help with Tivoli Software Products?
Ask Tivoli!
http://www.tivoli.com/asktivoli (login with your customer account)


                                                                                
                                                                     
                      lesdickert@att.ne                                         
                                                                     
                      t                        To:       NV-L@lists.tivoli.com  
                                                                     
                                               cc:                              
                                                                     
                      20.06.2002 14:32         Subject:  [nv-l] Automated 
discovery                                                                  
                      Please respond to                                         
                                                                     
                      lesdickert                                                
                                                                     
                                                                                
                                                                     
                                                                                
                                                                     




Running NetView 7.1.0 on AIX 4.3.3.

I just made a great discovery (sorry) that I
wanted to share.  The router guys asked that I
not have netmon discovery on during the day due
to router CPU impact.  Being a nice guy I obliged,
and routinely turned discovery on at the end of
the day and back off first thing in the morning.
Naturally this was prone to error and I wanted to
automate it, but for the longest time could not
find out how to do that.

Then I found (doscovered) the file:

 /usr/OV/databases/openview/topo/polling

which looks like:

Global_Polling_Switch 1
Status_Polling_Switch 0
Status_Polling_Interval 5 m
Node_Deletion_Interval 7 d
New_Node_Switch 0
New_Node_Auto_Switch 1
New_Node_Interval 15 m
Config_Checking_Switch 0
Config_Polling_Interval 1 d
Threshold_Polling_Switch 1
System_Load_Interval 15 m
Disk_Space_Interval 1 h
Interface_Link_Interval 5 m

Four of the lines control netmon polling and discovery
and match up with the GUI settings as follows:

polling file line             GUI
-----------------             ---
Global_Polling_Switch 1       Enable Polling
                              and Discovery
                              Settings

Status_Polling_Switch 0       Poll for Status

New_Node_Switch 0             Discover New Nodes

Config_Checking_Switch 0      Poll for Configuration
                              Changes

The numbers (0 and 1) at the end of the lines
determine off and on.  You can verify this by
using the GUI to click things on and off and see
that it is reflected immediately in the 'polling'
file.  You can also manually change the 'polling'
file and see those changes reflected in the GUI.

So, I created two copies of the 'polling' file,
one with all of the values set to 0 (polling.off)
and one with the values set to 1 (polling.on).
I have a cron job that runs at 6 PM to turn
discovery on:

   ovstop netmon
   cp polling.on polling
   ovstart netmon

and another cron job that runs at 6 AM to turn
discovery off:

   ovstop netmon
   cp polling.off polling
   ovstart netmon

Works like a dream, now everybody is happy!

Les Dickert
Trigon Blue Cross/Blue Shield



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

Archive operated by Skills 1st Ltd

See also: The NetView Web