Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am developing a plugin which has

Status
Not open for further replies.

vipinbhatia

Programmer
Dec 23, 2002
2
IN
I am developing a plugin which has to listen to all the events and snmp traps occuring in HP OpenView and forward it to my server, what is the best approach to follow in order to get the information about events and traps happening on HP OpenView?
The 2 possibilities that i have been able to think of are -->
1. Download the SDK of HP OpenView NNM and write a c plugin using the API. (is there java API exposed?), is there anywhere existing code (like the fwdTrap.exe i found on the HP site which forwards all SNMP trap to a particular ip and port) that can be used for this purpose
2. Export the data to the NNM DataWareHouse using the commands given by NNM and use the JDBC-ODBC bridge to talk to the database through ODBC (as the document of HP OpenView claims that there data wearhousing software is ODBC complaint).

I have to explore any of these options, the aim is to get a plugin up in the shortest time frame. Can anybody help on this any links suggestions will are welcome.
all those who took the patience of reading this ling question thanks and all those who will be coming forward with suggestions(helpful or otherwise) thanks in advance.
 
Hi,

The approach generally taken when forwarding event from Openview is to only forward individual events which are required. These usually tend to be Node up/down, Link Up/Down type events - the major service affecting events which you need to be aware of.

This is usually achieved by running a script called from the event action field in the event configuration of each event which is required.

If you forward all events, you will certainly have a large task on your hands to filter out what is required on your server, as OV creates an awful lot of events which you just don't need to see.

Hope this helps and best of luck with the plug-in.

Nigel.
 
thanks a lot, it is a gr8 option, the possible use of the above option i understand is as follows -->

what i can do is for every type of event that i am intersested in i can fire a command which will call my java function and as a parameters to that function i can send the information needed which would be -->
fault description
affected asset
severity
fault code (whatever that means, optional)

Is it possible for me to get this information at the time the command is getting fired (assuming i have configured NNM to fire this command)?

Another question which would make it obvious that i am just a java developer with little knowledge about these tools is where can i set this mapping to the commands being fired on particular events, i checked out 'Events Configuration' under 'Options' but could not find a way to specify a shell cript to be run on a particular event...
i am using NNM 6.2 on windows 2000. kindly guide me to the screen where i can set this mapping..


thanks in advance..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top