02-10-2010 05:47 PM
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 ?
Thanks a million..
02-12-2010 02:31 AM
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.
02-12-2010 09:01 PM
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,
02-14-2010 04:26 AM
to see a SNMP trap of a device you have to configure the SNMP trap in NNMi (nnmincidentcfg.ovpl -loadTraps
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.
02-21-2010 07:17 PM
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..
02-23-2010 01:09 AM
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).
08-26-2011 02:49 AM
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 :
Cache of blocked OIDs:.
Any help would be greatly appreciated :)
08-26-2011 03:55 AM
Not with 8.X, that option is only available in 9.1 under the Configuration work space ->Incident Configuration
"Discard Unresolved SNMP Traps "
Andy Kemp, CISSP
08-26-2011 04:20 AM - edited 08-26-2011 04:30 AM
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 ?
08-26-2011 07:41 AM
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 :-)