SNMP trap not captured by Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jkettu
Posts: 2
Joined: Fri Feb 09, 2018 5:49 am

SNMP trap not captured by Nagiosxi

Post by jkettu »

Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 16&t=47413

In the future, please create a new thread and link to the old one instead of adding on.


Hi,

I'm having the exact same issue with few new devices.
I can't see the trap in /var/log/messages

tcpdump output:

Code: Select all

08:31:01.953222 IP (tos 0x0, ttl 248, id 5, offset 0, flags [none], proto UDP (17), length 195)
    1.2.3.4.62235 > nagiosxi.snmptrap: [udp sum ok]  
{ 
SNMPv2c C=5tK42fMW { V2Trap(148) R=31  system.sysUpTime.0=1399809958 S:1.1.4.1.0=S:1.1.5.4 interfaces.ifTable.ifEntry.ifIndex.3=3 interfaces.ifTable.ifEntry.ifDescr.3="GigabitEthernet0/1" interfaces.ifTable.ifEntry.ifType.3=6 E:cisco.2.2.1.1.20.3="Link up" } 
}
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: SNMP trap not captured by Nagiosxi

Post by npolovenko »

Hello, @jkettu.
Can you upload /etc/snmp/snmptt.conf and /etc/snmp/snmptt.ini files?

Were SNMP traps working previously for you? Did you follow https://assets.nagios.com/downloads/nag ... 2hEALw_wcB or another guide/steps?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nfv_nagios
Posts: 35
Joined: Sun Jan 08, 2017 8:00 pm

Re: SNMP trap not captured by Nagiosxi

Post by nfv_nagios »

Hi Support

Please refer to attached for the tcpdump, snmptt.ini and snmptt.conf.

So far this is the only node which i do not see any messages logged in /var/log/snmptt or /var/log/messages, i do not have issues with other nodes.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: SNMP trap not captured by Nagiosxi

Post by cdienger »

The config looks good. There could be firewall rules dropping traffic from this specific client. Run:

iptables -L

and check for anything that may be DROP or REJECT that applie to the client's traffic.

If that doesn't help resolve the problem, please open a ticket at support.nagios.com/tickets/ and provide a profile which can be generated under Admin > System Config > System Profile > Download System Profile.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nfv_nagios
Posts: 35
Joined: Sun Jan 08, 2017 8:00 pm

Re: SNMP trap not captured by Nagiosxi

Post by nfv_nagios »

There is nothing in iptables.

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I have logged a support ticket and waiting for response.

Thank you.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: SNMP trap not captured by Nagiosxi

Post by cdienger »

Thanks. We'll continue to work through the ticket then.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked