I have been trying to set up SNMP traps and email alerts on our NAGIOSXI server. I believe I am 99.9 percent there. I have followed this article:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf and I an receiving the traps on the Service Status Page. I then followed this article: https://assets.nagios.com/downloads/nag ... Mailer.pdf
If I send a custom notification from the Host Status Email page\advanced I do receive it. However, When I send a trap from the UPS itself, it populates the device status page but I don't receive the email.
I do see a log in the /var/log/snmptt.log. I also see the "Service Alert" log for the device trap I initiated in the /var/log/messages and everything looks good there.
I do see updates every 5 minutes in the /var/log/maillog, however I can't seem to find a reference to my specific trap email. It just seems to be general longs from all emails.
I was seeing a lot of "Error writing Message, File to large" messages but I increased the mailbox size and I am no longer seeing those error.
Is there a bad spacing issue in my notify_host_xi_contact or notify_sevice_xi_contact commands? I have posted them herein.
All other email notifications, both Host and Service, are working just fine.