Re: How to migrate HP NNM 7.53 SNMP API programs to NNMi 9.x ? (163 Views)
Reply
Occasional Advisor
William Yee
Posts: 9
Registered: ‎02-22-2006
Message 1 of 3 (318 Views)

How to migrate HP NNM 7.53 SNMP API programs to NNMi 9.x ?

I have a sitiuation where we have C programs developed and running under HP NNM 7.53 SNMP API and now have to move them over to run on newer HP servers with NNMi 9.x environment.  

So the question I have is does the new HP server with NNMi 9.x support the old C language SNMP API calls?

If not, is there equivalent replacement calls provided in the new SDK or something?

How do we migrate these programs over to run under the new HP NMMi 9.x ?

 

To give you an example and point of reference if it helps, here are some SNMP API calls and include header files from HP NNM 7.53 API such as: (are these still available in NNMi 9.x) ?

 

#include <OV/OVsnmp.h>

#include <OV/OVsnmpAsn1.h>

#include "snmpdemo.h"

 

OVsnmpOpen( SNMP_USE_DEFAULT_COMMUNITY, 

                              fwdSys,

                              SNMP_USE_DEFAULT_RETRIES,   

                              SNMP_USE_DEFAULT_TIMEOUT,     

                              SNMP_USE_DEFAULT_LOCAL_PORT,  

                              fwdPort,

                              NULL,

                              (void *)NULL );

 

OVsnmpClose(session);

 

OVsnmpEventOpen(remote,               /* OVEvent Server */

                                  progname,             /* entity name */

                                  process_pdu,          /* callback */

                                  (void *) NULL,        /* cb data */

                                  fwdFilter );             /* event filter */

 

OVsnmpRead()

OVsnmpOidToStr()

OVsnmpOidFromStr()

OVsnmpAddTypedVarBind()

 

Thank You!

Please use plain text.
Occasional Contributor
Craig C Lee
Posts: 5
Registered: ‎04-09-2009
Message 2 of 3 (163 Views)

Re: How to migrate HP NNM 7.53 SNMP API programs to NNMi 9.x ?

I'm also running into this with compiling some older C based HPOM customizations. 

 

Does anyone know where I can get the OVsnmp.h file? 

 

I have NNMi  9.0 and HPOM 9 and its not available in either package.

 

 

Please use plain text.
Honored Contributor
AndyKemp
Posts: 738
Registered: ‎05-17-2010
Message 3 of 3 (157 Views)

Re: How to migrate HP NNM 7.53 SNMP API programs to NNMi 9.x ?

Considering NNMi is a complete rewrite of the codebase I think you'll need to take a look at the code exaples included with

HP Network Node Manager Software Developer   license as the ecosystem paradiagm has signficanlty changed.

Have a nice day :)

Andy Kemp,  CISSP
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation