nv-l
[Top] [All Lists]

RE: [nv-l] question about modifying objects in netview 7.1.3

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] question about modifying objects in netview 7.1.3
From: "Allison, Jason \(JALLISON\)" <JALLISON@arinc.com>
Date: Tue, 21 Sep 2004 13:28:24 -0400
Delivery-date: Tue, 21 Sep 2004 18:50:44 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcSf7zWomccIPZznTlC7B+7dZRa6qAAACWwAAAEnMCAAADyOgAABwpBAAAA9qlA=
Thread-topic: [nv-l] question about modifying objects in netview 7.1.3
Ok, I see what your saying.  However, shouldnt you be more proactive of checking a potentially flapping node other then keying off of an event received by trapd?  Thats up to you, but it sounds like you want some sort of 'heartbeat probe' (either COTS or homegrown) that will frequently check potentially flapping nodes.  We wrote one that will dynamically tune itself with polling depending on how long a node is down and how critical the node is thus reducing unneeded network traffic.
 
Not trying to reinvent your wheel, so to answer your question:  You can change the status of the node using that OVw call.  You will most likely need to change your current paradigm of 'tailing trapd' and move to OVwAddActionCallback->OVwConfirmObjectStatusCB.  You cant use the trapd.log approach as you need to register with OVw to use OVwSetStatusOnObject and in order to register with OVw your process needs to be "kicked off by OVw".  Make sense?  Let me also say I have not used the 7.1.3 API so if there have been additions or new capabilities I have not seen them.
 
The man pages should get you started, but if your looking for examples on how to do it you wont find much of anything on the net.  I have written a number of them to 'tune' NetView to favor our in-house NMS solution.  Registering with OVw is very powerfull but if you make mistakes to the OVwDB there are zero ways to correct it except by deleting the entire DB or manually/programatically correcting them as Objects are not always acceable from the GUI.
 
Good luck,

Jason Allison
Principal Engineer
ARINC Incorporated
Office:  (410) 266-2006
FAX:  (410) 573-3026

-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Freeman, Michael
Sent: Tuesday, September 21, 2004 1:01 PM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] question about modifying objects in netview 7.1.3

Well its not an issue of wether or not netmon is picking it up in real time, because as I said earlier we’re tailing the trapd.log and that’s how we find out a node went Down or Up. What we’re looking to do is verification that the Down was a positive down, not some sort of flapping. We know in NetView that netmon will eventually pick it up and change the state of the object to Marginal or Up or whatever it is, but we don’t want to insert anything into the database unless its confirmed. SO if we see a Node Down, we verify it by opening up a tcp connection to a known open port X times, if it is down, we insert data into Oracle. Its not so much real-time, but just for verification. At the same time, we have operators that monitor the NetView console and open tickets when they receive Node Down events. We would like to prevent that from happening by changing the status of the object if we know it was a false down up, because our script would verify it immediately after the Node Down event came through the trapd.log. I hope I am making sense..

 


From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Allison, Jason (JALLISON)
Sent: Tuesday, September 21, 2004 11:11 AM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] question about modifying objects in netview 7.1.3

 

Well, I think you have a number of options.  Lets take a step back and make sure I have an understanding of what the problem statement is:

 

You are using Node Up/Down events to gather SLA stats (stored in an Oracle DB).  You have found that Netview is not issueing the Node Up/Down in "real-time", i.e some time after the device actually changed state.  You are looking for means proactively change a state of an object w/in Netview to facilitate closer "real-time" gathering of SLA stats.

 

Does that sound about right?

 

Jason Allison
Principal Engineer
ARINC Incorporated

 

 

 -----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Freeman, Michael
Sent: Tuesday, September 21, 2004 12:04 PM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] question about modifying objects in netview 7.1.3

Well we have netmon polling it, but we are relying on information from the trapd.log to use for SLA data. Like if we get a Node Down event or Node Up event, we put that into an Oracle database. We are trying to verify that the Node is really down, in a lot of cases in our network a Node will go down, and then an operator will do a demand poll or ping it, and then it will start responding again. So we have a script that tails the trapd.log file looking for Node Downs and if it receives one, it does a test trying to open a tcp connection a few times to verify that its really down, if it is, it gets inserted into the database. We also want to change the status of that object back to Node Up before netmon gets a chance to do it. Now of course there are other ways to do this verification by having a ruleset that has an inline function that does this but we had some problems with that..

 

So what do you think I should do? Use the API and OVwSetStatusOnObject to change the status, or is there an easier way?

 

Thanks in advance!

Mike Freeman


From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Allison, Jason (JALLISON)
Sent: Tuesday, September 21, 2004 10:31 AM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] question about modifying objects in netview 7.1.3

 

You can use the API, but if you have netmon polling that IP device on interval, it will notice the incorrect status and change it back.  Start at "man OVwSetStatusOnObject", this will give you a start.  If you have any specific questions, feel free to ask.  Some statuses are "Reserved" and it wont allow you to change it via the API (eg Acknowledged), but there are programmatic ways around that.

 

Good luck,

 

Jason Allison
Principal Engineer
ARINC Incorporated

 

 -----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Freeman, Michael
Sent: Tuesday, September 21, 2004 11:25 AM
To: nv-l@lists.tivoli.com
Subject: [nv-l] question about modifying objects in netview 7.1.3

We are trying to find a way to modify an object in NetView. If we know the node name, and want to change its status from say down, to up, because of an additional verification that proved it was up, how would we go about doing it? Are there any utilities or where should I look in the API?

 

Thanks,

Mike

 

*** Note new e-mail address

--

Michael J. Freeman

Netco Government Services

mfreeman@netcogov.com

--

 

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

Archive operated by Skills 1st Ltd

See also: The NetView Web