Page 1 of 1
email notification
Posted: Wed Feb 17, 2021 2:28 pm
by iqadmin
HI ,
When I am sending to the email group , email is not delivering and I can see log file below error,
But same thing through XI user contact I can receive email notification on my INBOX
what will be the issue to resolve the issue.
Feb 17 21:46:51 Nagios-VM postfix/smtp[56843]: DC5rg7huh: to=<
[email protected]>, relay=viaz-com.mail.protection.outlook.com[1x.x.x]:25, delay=3.6, delays=0.07/0.02/0.81/2.7, dsn=2.6.0, status=sent (250 2.6.0 <
[email protected]> [InternalId=14100377645260, Hostname=XYZR05MB675.namadd05.prod.outlook.com] 7577 bytes in 0.323, 22.897 KB/sec Queued mail for delivery)
Re: email notification
Posted: Wed Feb 17, 2021 5:15 pm
by benjaminsmith
Hi,
The fact that the XI user contact is working but the Group contacts is not working suggests that the contacts in that group do not have the right notification handlers set. Do you know those contacts in the Group also have GUI access (XI user accounts)?
This is covered in the following guide:
Configuring Core Contacts to Use Nagios XI PHPMailer SMTP Settings
If that's not the issue, how do you have the Email Settings configured, using Sendmail or SMTP? You can check this by going to
Admin > System Config > Email Settings
Let me know the Group and the exact name of the user that is working and I'll check the settings in the system profile.
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Thanks,
Benjamin
Reference
Nagios XI - Notification Problems
Re: email notification
Posted: Thu Feb 18, 2021 2:06 am
by iqadmin
Thank u for your reply ,I have configured using SMTP EMAIL Settings.
users created using XI contact and it has GUI access has receiving full notification .
And our group email ids created via CCM contact and set the handler using "notify-host-by-email" "notify-service-by-email "has issue .Instead of sending all email it has sent one or two mail daily to the group…I think its sending via sendmail.
In that case how we can configure to those Email id , As you stated I should use the :Core Notification Handler Script"
and also how we can check the logs of XI user notification sent.
Re: email notification
Posted: Thu Feb 18, 2021 3:41 pm
by benjaminsmith
Hi,
And our group email ids created via CCM contact and set the handler using "notify-host-by-email" "notify-service-by-email "has issue .Instead of sending all email it has sent one or two mail daily to the group…I think its sending via sendmail.
That sounds like the issue here, you'll want to update those contacts to use xi_host_notification_handler and the xi_service_notification_handler.
This can be set in the CCM (Configure > Core Config Manager) under the Alert tab for the contact.
xi-contact-template.png
Change the notification commands.
notifcation-handler.png
Typically, contacts will be inheriting this from a template, so the other option is the change or update the template.