Re: nnmsnmpnotify.ovpl command not create event in Incident Management (610 Views)
Reply
Advisor
nguyenthaihung
Posts: 18
Registered: ‎09-15-2011
Message 1 of 9 (699 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,

Please use plain text.
Honored Contributor
AndyKemp
Posts: 712
Registered: ‎05-17-2010
Message 2 of 9 (678 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
Please use plain text.
Advisor
nguyenthaihung
Posts: 18
Registered: ‎09-15-2011
Message 3 of 9 (668 Views)

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

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

Thank you
Please use plain text.
Advisor
a4nm
Posts: 18
Registered: ‎02-07-2012
Message 4 of 9 (656 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?

Please use plain text.
Advisor
nguyenthaihung
Posts: 18
Registered: ‎09-15-2011
Message 5 of 9 (638 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.

Please use plain text.
Trusted Contributor
hp4u
Posts: 545
Registered: ‎09-16-2010
Message 6 of 9 (628 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
Please use plain text.
Honored Contributor
AndyKemp
Posts: 712
Registered: ‎05-17-2010
Message 7 of 9 (618 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
Please use plain text.
Advisor
nguyenthaihung
Posts: 18
Registered: ‎09-15-2011
Message 8 of 9 (612 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.
Please use plain text.
Advisor
nguyenthaihung
Posts: 18
Registered: ‎09-15-2011
Message 9 of 9 (610 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.
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