Why don't you explain what it is you are trying to do, rather than us
trying to explain to you how NetView works internally? It is hard to know
where to start with your answers. Basically, everything you need to know
about writing your own NetView application is in the Programmer's Guide and
I highly recommend you read the relevant sections there before trying to
code anything. As far as sending events, you can do that with snmptrap,
which is a command line executable or you can use the OVsnmp functions
(OVsnmpCreatePDU, OVsnmpSend, etc) to create your trap PDU and send it
yourself within your C /C++ program.
To answer your questions as best as I can, NeView, that is netmon, makes
changes to the topology database and the object database when nodes are
discovered or status changes. These topology changes are read by ipmap
when the GUI is running and he changes the status of the symbols on the
map. That in a nutshell is how it works. But depending on what you
want to do, you may require a different mechanism.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
"Paul Kretek" <p.kretek@web.de>@tkg.com on 03/02/2001 01:30:17 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: nv-l@tkg.com
cc:
Subject: [NV-L] modify object status?
Hello,
can anyone tell me how NetView changes the status of an object on a map
when there is a change on the status of a physical object?
Does NetView only change the object status? or Does it change all the
symbol status corresponding to this object?
Are the child objects on the submap of the object got changed as well?
Can I simulate this behaviour with NetView OVw Api calls,
OVwSetStatusOnObject(s) and OVwSetStatusOnSymbol(s)? However, how can I
generate a log event for the change?
Thank you for helps in advance.
P. Kretek
_______________________________________________________________________________
Alles unter einem Dach: Informationen, Fun, E-Mails. Bei WEB.DE:
http://web.de
Die große Welt der Kommunikation: E-Mail, Fax, SMS, WAP:
http://freemail.web.de
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|