Nagios send email only to nagiosadmin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kwiatjk
Posts: 8
Joined: Tue May 11, 2021 3:02 am

Nagios send email only to nagiosadmin

Post 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
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: Nagios send email only to nagiosadmin

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kwiatjk
Posts: 8
Joined: Tue May 11, 2021 3:02 am

Re: Nagios send email only to nagiosadmin

Post 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
kwiatjk
Posts: 8
Joined: Tue May 11, 2021 3:02 am

Re: Nagios send email only to nagiosadmin

Post by kwiatjk »

solved to close
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: Nagios send email only to nagiosadmin

Post by cnorell »

You got it working? What did the issue end up being?

Best Regards,

Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kwiatjk
Posts: 8
Joined: Tue May 11, 2021 3:02 am

Re: Nagios send email only to nagiosadmin

Post by kwiatjk »

HI , problem was because script xi_service_notification_handler not working with contacts only user must be created
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagios send email only to nagiosadmin

Post by jsimon »

Glad you were able to get this resolved! I'm going to go ahead and lock the thread.
Locked