Page 1 of 1

Nagios send email only to nagiosadmin

Posted: Thu Jul 11, 2024 7:13 am
by kwiatjk
Hello,
I have problem , After last update 2024R1.1.4 nagios send email only to nagiosadmin, dont send emai to contacts
br
JK

Re: Nagios send email only to nagiosadmin

Posted: Thu Jul 11, 2024 9:21 am
by cnorell
kwiatjk,

Do you have any relevant information in the following log?

Code: Select all

/usr/local/nagiosxi/tmp/phpmailer.log
Best Regards,

Cory Norell

Re: Nagios send email only to nagiosadmin

Posted: Thu Jul 11, 2024 9:28 am
by kwiatjk
Hi,
In
Log File Navigation
I see
2 notifiy

Check Updates WARNING 07-11-2024 15:05:04 sms Jarek notify-service-by-email WARNING: 2 new pkgs in updates: ubuntu-server-minimal tzdata
Check Updates WARNING 07-11-2024 15:05:04 nagiosadmin notify-service-by-email WARNING: 2 new pkgs in updates: ubuntu-server-minimal tzdata


Only that.


[07-11-2024 12:48:03] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
[07-11-2024 13:04:43] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 13:12:16] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 13:17:26] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 13:17:39] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 13:32:11] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 14:05:01] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 14:11:29] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 14:16:46] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 14:17:17] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 14:31:20] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 15:05:08] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 15:15:21] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 15:21:17] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 15:22:07] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 15:35:38] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 16:09:28] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 16:12:56] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[07-11-2024 16:19:44] Message sent! (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email



but mail sended only to nagiosadmin

Re: Nagios send email only to nagiosadmin

Posted: Fri Jul 12, 2024 4:18 am
by kwiatjk
solved to close

Re: Nagios send email only to nagiosadmin

Posted: Fri Jul 12, 2024 2:03 pm
by cnorell
You got it working? What did the issue end up being?

Best Regards,

Cory Norell

Re: Nagios send email only to nagiosadmin

Posted: Sun Jul 14, 2024 3:24 am
by kwiatjk
HI , problem was because script xi_service_notification_handler not working with contacts only user must be created

Re: Nagios send email only to nagiosadmin

Posted: Mon Jul 15, 2024 11:12 am
by jsimon
Glad you were able to get this resolved! I'm going to go ahead and lock the thread.