Robin,
We used the Ack facility for a bit. I needed to write some 'messy'
callbacks for it to work how we wanted it to work on our system. It sounds
like the same sort of issue you are having. Before I can make
recommendations though, can you tell me a bit more about what you are trying
to do?
For example, our problem was that we wanted our operators to acknowledge a
container icon on the top level map. We wanted the Ack to be removed when
-any- status changed underneath. As it turned out, if the object below the
container went from ovwCriticalStatus -> ovwMarginalStatus, nothing
happened, the top level remained Acked. While if the underneath object
changed to ovwNormalStatus, the upper level Container would show the status
change. The "monitor_ack" API app I wrote -changed- this so any lower level
status change would be reflected up the map thus removing the Acknowledged
status.
Thanks,
Jason Allison
Principal Engineer
ARINC Incorporated
Office: (410) 266-2006
FAX: (410) 573-3026
-----Original Message-----
From: Robin James [mailto:robin.james@thalesatm.com]
Sent: Monday, November 11, 2002 12:53 PM
To: NetView Discussion
Subject: [nv-l] adding events to Netview
Acknowledge/Unacknowledge does not work with our customised objects and
maps because these options only work properly with objects in the
topology database.
Hence we are trying to introduce an alternative mechanism.
The Programmer's Guide describes how to make use of callbacks for
standard Netview events but it doesn't look like you can add new events.
Can anyone suggest a method for sending a customised event to our map
application based on an object that has been selected from a submap? We
would only be changing the status of symbols on our customised maps and
we would leave the standard Netview IP Internet submaps well alone.
The best I can think of so far is:
1. Add the new Netview option to the ovw registration file.
2. Select an object via a symbol on the maps in the normal way.
2. Select the new option on the Netview menu and generate an event using
something like snmptrap passing the selected object as a parameter to
the event.
3. Our map application handles the new event and updates the colour of
the map appropriately.
Is there a more elegant solution that has eluded me?
Thanks for any help.
--
Robin
email: robin.james@thalesatm.com
tel: +44 (0) 1633-862020
fax: +44 (0) 1633-868313
---------------------------------------------------------------------
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)
|