I got a reply from Tivoli support.
The bottom line is that acknowledge/unacknowledge only works with those
objects created and managed by ipmap. ipmap updates isAcknowledged for
an object by using information obtained from the topology database,
which contains only ip objects created by netmon. It does not contain
non-ip or user created objects.
We were using acknowledge/unacknowledge with our own customised objects
in the object database and the facility will not work with these
objects.
Thanks to those who replied.
--
Robin
email: robin.james@thalesatm.com
tel: +44 (0) 1633-862020
fax: +44 (0) 1633-868313 --- Begin Message ---
Sorry for the late reply.
"When w116 is selected and acknowledge is selected the symbol goes dark
green and all the symbols in the child submaps do not change colour."
-- Agreed, and this is as expected.
"When w116 is unacknowledged the colour of w116 reverts
immediately to a non-dark green colour."
-- Just to make sure, when you originally Ack's this symbol, its status was
"Normal" correct? IE it is going back to the status before the ACK? This
is as desired.
"So w1161 doesn't go dark green like w116 did."
"The output from ovmapdump does not show that any of the Object and Status
are Acknowledged"
"A difference is that all the symbols are associated with the same object."
-- My guess here is since "all the symbols are associated with the same
object" when a the operator Acks the Symbol, a normal status gets proigated
to the other Symbols thus removing the Ack since they are all referencing
the same Object. What I would do to test this theory is use the API
callback routines ovwConfirmAcknowledgeObjects and
ovwConfirmUnacknowledgeObjects, and even ovwConfirmSymbolStatusChange and
ovwConfirmObjectStatusChange to print out the state changes. Nothing like
embedded printf's for debugging. FWIW, not sure if you know but, printf's
(stdout) will buffer in Netview and not print out to the nv6000.log until
OVwClose or OVwDone is called.
I dont think it applies to you, but the problem my group was having with
Acks was that only a "Normal" Status would remove an Ack of the parent
Object (submap), ie if I Ack'd a top level icon, below something changed
from red to green, the top level icon would remove the Ack, but if that
lower level status changed from red to yellow, the Ack'd status of the
parent icon would not change...this was not our desired results.
One last thing, we changed our Ack color from the 'Dark Green' to the User1
or User2 color, 'Purple'.
Best of luck with your problem resolution, let us know how it turns out,
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: Friday, May 17, 2002 9:23 AM
To: NetView Discussion
Subject: [nv-l] acknowledged symbol colour
We are using Netview 6.0.3 on Compaq TRU 64 UNIX.
We have produced a customised map for our system and use the API to
create submaps and symbols specific to our setup.
Symbol w116 is associated with an object and explodes into a submap
containing 2 symbols w1161 and w1162.
The symbols w1161 and w1162 are associated with 2 different objects.
w1161 explodes into another submap and contains several symbols, for
example a monitor symbol and a FDDI port symbol. All these symbols are
associated with the same object that is associated with their parent
submap's symbol w1161.
When w116 is selected and acknowledge is selected the symbol goes dark
green and all the symbols in the child submaps do not change colour. The
output from ovmapdump for the Object shows the Object Status and Object
Compound Status as Acknowledged. The Symbol Status for w116 is also
Acknowledged. When w116 is unacknowledged the colour of w116 reverts
immediately to a non-dark green colour.
When w1161 is selected and acknowledge is selected the symbol goes green
and all the symbols in the child submaps also go green. So w1161 doesn't
go dark green like w116 did. A difference is that all the symbols are
associated with the same object. The output from ovmapdump does not show
that any of the Object and Status are Acknowledged.
I am seeing that acknowledge behaves differently. Does anyone know why
acknowledge is behaving differently?
I am also confused by the documentation. Table 3 in the User's Guide for
Beginners says Acknowledged is Dark Green and Normal is Green. Section 3
in the Administrator's Guide says that Acknowledge sets the symbol to
Dark Green. But Table 8 in the Programmer's Guide associates Green with
Acknowledged.
--
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)
--- End Message ---
|