Re: Cannot receive snmptraps from Managed Node to NNM 9.11 (2599 Views)
Reply
Occasional Visitor
Voodoman72
Posts: 3
Registered: ‎02-10-2010
Message 1 of 10 (2,638 Views)

Cannot receive snmptraps from Managed Node to NNM 8.10

Hi,

Currently, the managed node is configured to send snmp traps to the Mgmt Server (NNM 8.10).
The managed node is a Linux server. But I cannot see any snmp traps in NNM 8.10 !?

I have configured under Incident Configuration Mgmt to forward all snmp traps to the Mgmt Server.

Still not snmp traps events from Managed Node.

I am not using OVOU to receive traps and there is no OVO agent installed on the managed node.

I just want Mgmt Server to receive the snmp traps from the managed nodes.

Can someone help me on this urgently ? Any kind souls out there to help ?

Please advise...


Thanks a million..


DK
Honored Contributor
ITC_Call_a_Smile
Posts: 402
Registered: ‎12-05-2000
Message 2 of 10 (2,638 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 8.10

Hello DK,

please have a look in the log files trap.*.0.log (in %NnmDataDir%\log\nnm). Perhaps the SNMP traps are dropped. If you are not sure, if the SNMP traps are reaching your management server you should use Whireshark to confirm this.

HTH

Allessandro
Occasional Visitor
Voodoman72
Posts: 3
Registered: ‎02-10-2010
Message 3 of 10 (2,638 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 8.10

Hi,

Thanks for your kindest of reply.

Yes. The OID traps for Nagios are being dropped. It is automatically added into the Block Cache list.

May I know hoe to unblock all traps coming into NNMi 8.10 Mgmt Server ?

I have tried using nnmtrapconfig.ovpl to list the blocked and unblocked OIDs.

I have also tried nnmtrapconfig.ovpl to unblock all traps using the option -unblockTraps but still it was blocked for Nagios OIDs.

Please kindly advise on how to permanently unblock the all traps coming in.


Thanks a million,



DK
Honored Contributor
ITC_Call_a_Smile
Posts: 402
Registered: ‎12-05-2000
Message 4 of 10 (2,638 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 8.10

Hello DK,

to see a SNMP trap of a device you have to configure the SNMP trap in NNMi (nnmincidentcfg.ovpl -loadTraps ) and the node MUST be in NNMi. If you do this you will see the SNMP trap under Incident Browsing > SNMP Traps (or All Incidents).

AFAIK there is no trick to get all SNMP traps from all nodes (as it was the default in NNM 7.x) whithou adding the device and loading the traps.

HTH

Allessandro
Occasional Visitor
Voodoman72
Posts: 3
Registered: ‎02-10-2010
Message 5 of 10 (2,638 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 8.10

Hi Allessandro,

Thanks for your reply. I have done the nnmincidentcfg.ovpl command and it is receiving all the snmptraps now. But all these traps does not have source objects, so it cannot determine the nature of the traps. Can you kindly advise what I am missing now ?

I have attached a screenshot on the problem.


Please kindly advise..


DK
---------------
Honored Contributor
ITC_Call_a_Smile
Posts: 402
Registered: ‎12-05-2000
Message 6 of 10 (2,638 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 8.10

Hello DK,

I have done a little bit of research and I think that the source object is best described in the NNMi online help (e.g. here: "Valid Parameters for Configuring Incident Actions"). So it must be a reference on a database object like interface (you can see this with link up/down traps). I think, that you want to have the service or "object" from Nagios in this field, but this seems to be impossible. If the trap contains that information as a custom attribute you can modify the message text (easy) or can update the field Notes with an Automatic Action script (I use such a script to enrich some incidents).

HTH

Allessandro
Frequent Advisor
HHirt
Posts: 40
Registered: ‎06-11-2008
Message 7 of 10 (2,616 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 9.11

Dear all,

 

I'm having quite the same problem, the system I should receive the traps from is into NNMi but there's no existing MIB for it.

 

Is there a way to unblock the traps coming from it without having to load an MIB file?

 

I see the the traps in Wireshark on the NNMi server.

 

But the OID is currently under :

 


Blocking Caches:

Cache of blocked OIDs:.

1.3.6.1.4.1.11307.10

 

Any help would be greatly appreciated :)

 

Thanks

Honored Contributor
AndyKemp
Posts: 751
Registered: ‎05-17-2010
Message 8 of 10 (2,613 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 9.11

Not with 8.X, that option is only available in 9.1 under the Configuration work space ->Incident Configuration

 
You have the option of a check box to discard or accept non-loaded traps.

 

"Discard Unresolved SNMP Traps "



Have a nice day :)

Andy Kemp,  CISSP
Frequent Advisor
HHirt
Posts: 40
Registered: ‎06-11-2008
Message 9 of 10 (2,609 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 9.11

[ Edited ]

Thank you for your answer, I'm actually running 9.11 so this is no problems,

 

But I know this option and she's actually not checked.

 

I tried with other traps that are not with an MIB and nothing is coming,

 

The windows Firewall is is turned off also

 

any other ideas ?

 

Thanks

Frequent Advisor
HHirt
Posts: 40
Registered: ‎06-11-2008
Message 10 of 10 (2,599 Views)

Re: Cannot receive snmptraps from Managed Node to NNM 9.11

For an unknown reason NNMi was adding 2 zeros after the end of the OID.

 

Which was causing that the trap wasn't visible (I created onyl the Private enterprise first).

 

I had to add the OID with this extra syntax (Review the screenshot below).

 

I was able to troubleshoot using Nnmtrapconfig.ovpl –dumpBlocklist

 

under the Blocking Caches section.

 

When this was properly set I was able to get what I wanted.

 

I hope this will helps someone :-)

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.