Page 2 of 2

Re: Nagiosxi does not send mail via contacts

Posted: Tue Jan 05, 2021 12:49 pm
by diegosiassb
so, I did some tests today and the situation is the following:
if I use generic-services in my service the mails arrive as nagiosadmin.
If I remove generic-services in my control and leave only my group in the contacts, no mails arrive.
my contact is not a user who must log in.
i dont understand i have checked with my old nagios and it looks configured the same.

Bye
Diego

Re: Nagiosxi does not send mail via contacts

Posted: Tue Jan 05, 2021 5:39 pm
by cdienger
Have you followed the steps in https://assets.nagios.com/downloads/nag ... Mailer.pdf. I think this will fix the problem - the nagiosadmin account uses the SMTP settings set in the XI interface while the other account will use different settings if this document isn't followed. Please send me a copy of the CCM database after going through this document if there is still an issue. The database can be gathered with:

Code: Select all

mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
Send me the nagiosql.sql file in a private message.