Sorry for my unclear question.
My main purpose is to change an object status according to my trigger input
event instead of using NetView to poll the status of the object.
According to my research, I think that I have to change the statuses on the
Object database that consists of Object IP status and map database that
consists of object status and symbol statuses after reading the programmer's
Guide.
I think that I can use the OVwDB api calls to modify the object IP statuses
and use OVwSetStatusOnObject(s) and OVwSetStatusOnSymbols(s) to set the new
status on the map(s). I do not know if this is the correct way to do it.
That is why I was wondering how NetView handles this. It will be nice that
if you can give some advices if my approach to the problem is correct.
You also mentioned about sending my own snmp trap to NetView that interests
me a lot but not yet researches on it much. I know that NetView has defined
a set of NetView events or traps and display them on the event browse
whenever a particular event is met??? Could that be possible that I use
OVSnmp Api to send a trap that contains the status change action to change
the status of an object?
I hope that I explain my problem more clear this time and thank you for your
kindness supports.
Best Regards,
P. Kretek
----- Original Message -----
From: <James_Shanks@tivoli.com>
To: "IBM NetView Discussion" <nv-l@tkg.com>
Sent: Monday, March 05, 2001 3:08 PM
Subject: Re: [NV-L] modify object status?
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
_________________________________________________________________________
|