Page 1 of 1

Nagios 5.8.1. cannot intragate traps with Xi

Posted: Wed Jan 27, 2021 11:18 am
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

Re: Nagios 5.8.1. cannot intragate traps with Xi

Posted: Thu Jan 28, 2021 6:10 pm
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.

Re: Nagios 5.8.1. cannot intragate traps with Xi

Posted: Thu Feb 11, 2021 6:21 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.

Thank you!