Re: nnmsnmpnotify.ovpl command not create event in Incident Management (846 Views)
Reply
Advisor
Posts: 18
Registered: ‎09-15-2011
Message 1 of 9 (917 Views)

nnmsnmpnotify.ovpl command not create event in Incident Management

Hi all,

I have problem with nnmsnmpnotify.ovpl.

 

I'm using NNMi 9.20 on windows server 2008 r2 64-bit, in Management Event Configurations I created new event with SNMP Object ID: .1.3.6.1.4.1.11.2.17.19.2.0.9999. Then, from CMD, i issue the command below.

 

nnmsnmpnotify.ovpl -c password -v2c -a 192.168.0.11 localhost .1.3.6.1.4.1.11.2.17.19.2.0.9999 .1.3.6.1.4.1.11.2.17.19.2.2.1 Integer 14 .1.3.6.1.4.1.11.2.17.19.2.2.2 OctetString 10.70.128.11 .1.3.6.1.4.1.11.2.17.19.2.2.3 OctetString Serial0/0/0 .1.3.6.1.4.1.11.2.17.19.2.2.4 OctetString "Connected to HSNUN."

 

No error appear when run the command but in Incident Management there is no new alert

 

 

 

Thank you for reading this.

Best Regards,

Honored Contributor
Posts: 791
Registered: ‎05-17-2010
Message 2 of 9 (896 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

So I'll ask the obvious, do you have a SNMP trap with that oid configured and enabled ?

Have a nice day :)

Andy Kemp,  CISSP
Advisor
Posts: 18
Registered: ‎09-15-2011
Message 3 of 9 (886 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

hi,
Yes, I created and enabled in Management Event Configurations.

Thank you
Advisor
Posts: 20
Registered: ‎02-07-2012
Message 4 of 9 (874 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

I thought nnmsnmpnotify.ovpl was used to generate traps? As such, shouldn't you be using the SNMP Trap Configurations in order receive the trap and generate an Incident?

Advisor
Posts: 18
Registered: ‎09-15-2011
Message 5 of 9 (856 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

hi a4nm!

 

Maybe that's the cause. Can you give me some experiences on dealing with nnmsnmpnotify, new event, new trap,..on NNMi 9.

 

Thanks.

Trusted Contributor
Posts: 579
Registered: ‎09-16-2010
Message 6 of 9 (846 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

Can you try nnmtrapdump.ovpl and see if its in NNM DB?

Regards,
hp4u
Honored Contributor
Posts: 791
Registered: ‎05-17-2010
Message 7 of 9 (836 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

Well thats an event, not a trap. If you want to fake an event, you need to open up the JMX-console and inject an incident.

Have a nice day :)

Andy Kemp,  CISSP
Advisor
Posts: 18
Registered: ‎09-15-2011
Message 8 of 9 (830 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

Thanks Dharmnedra_T!

I create SNMP trap event as a4nm said, and the trap appears. nnmsnmpnotify.ovpl create a trap not a NNMi event.
Advisor
Posts: 18
Registered: ‎09-15-2011
Message 9 of 9 (828 Views)

Re: nnmsnmpnotify.ovpl command not create event in Incident Management

hi AndyKemp!
Thank for your help. Can you give me more detail on how to inject new event from command line.
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.