Nagios 5.8.1. cannot intragate traps with xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
richie7tech
Posts: 14
Joined: Mon Sep 28, 2020 7:29 am

Nagios 5.8.1. cannot intragate traps with xi

Post by richie7tech »

Hello
myself and another team are tring to test
Nagios 5.8.1 on Ubuntu 20.04 LTS we are having issues integrating the traps into xi
as per the documentation .

both teams have the same issue after following the instructions

https://assets.nagios.com/downloads/nag ... ios_xi.pdf

we are not seeing the expected logs in /usr/local/nagios/var/nagios.log file:
attached file showing extract of nagios log file and snmptt log
integrating snmptras with nxti error.txt
note the [1611713602] External command returned error Malformed command. ????

i have updated the snmptt.conf file as per instructions
https://support.nagios.com/kb/article.php?id=559

i can see traps in the RECEIVED TRAPS tab of SNMP trap interface of xi
but nothing is actioned with in the xi

i have also noticed that EXEC php line within the traps is also missing.

regards
richie
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 5.8.1. cannot intragate traps with xi

Post by ssax »

Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

Additionally, run this command as root and send me the resulting /tmp/SNMPFILES.zip file:

Code: Select all

zip -r /tmp/SNMPFILES.zip /etc/snmp /usr/share/snmp/mibs
Do you have log_external_commands=1 set in your /usr/local/nagios/etc/nagios.cfg? If not, set it, and restart the nagios service and tail the nagios.log again while submitting results.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 5.8.1. cannot intragate traps with xi

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.

Thank you!