Problem with logon after upgrade to v5.3.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sujayb
Posts: 4
Joined: Mon Sep 19, 2016 9:12 pm

Problem with logon after upgrade to v5.3.3

Post by sujayb »

Hi

I recently upgraded (via the interface) the xi from 5.3.0 to 5.3.2 and since then having issues with notifications with both Users set up via the Admin->Manage Users (via LDAP) and also when setup as a Contact. From the home page clicking on Notifications under Incident Management shows the Contact as nagiosadmin. I have setup Contact Groups and in-turn a Host template which is assigned to the Contacts (Both Core Contact and XI user Contact) and still unable to get notifications.

Also enabled the debug log under Mail settings and cannot see a phpmailer.log.

Any information would be helpful.

Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Problem with logon after upgrade to v5.3.3

Post by avandemore »

In the Incident Manager click on a service you want notifications from then > gear tab > re-configure this service > notifications

Please send a screenshot of this.
Previous Nagios employee
sujayb
Posts: 4
Joined: Mon Sep 19, 2016 9:12 pm

Re: Problem with logon after upgrade to v5.3.3

Post by sujayb »

Hi Avandemore

Thank you for the response. I re-configured the host and assigned the user to receive the notifications.Checking Notifications under Incident Management the notifications appear to be sent to the user but they don't get delivered.

This is when using a Contact and not as an XI user.

Getting the following error

553 #5.1.8 Domain of sender address <[email protected]> does not exist

I have also added the Nagios server domain name in the hosts file.

I have even tried as an XI user assigned with an Xi handler and the user doesn't get a notification.

Thanks for your assistance.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Problem with logon after upgrade to v5.3.3

Post by rkennedy »

Can you show us a screenshot of your manage email settings page?
Former Nagios Employee
sujayb
Posts: 4
Joined: Mon Sep 19, 2016 9:12 pm

Re: Problem with logon after upgrade to v5.3.3

Post by sujayb »

Hi

Please find attached image. Also one of the other changes i made was based on this article. Not sure if this resulted in the issue as I was able to receive test notifications before when clicking on Send a Test Email under Mail Settings.

https://assets.nagios.com/downloads/nag ... Mailer.pdf

Have also included the phpmailer log
[11-11-2016 22:37:47] SMTP Error: Could not authenticate. (method=smtp;host=192.168.X.X;port=25;smtpauth=true;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
Thank you for your help.
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Problem with logon after upgrade to v5.3.3

Post by avandemore »

The phpmailer message indicates a completely different error than the one you referenced earlier.

1. phpmailer message indicates your credentials are incorrect for your SMTP host.
2. Previous error indicates the MTA has accepted the message, but is configured not to send it.

You should contact your email administrator for either one of these problems. However you may be able to fix the latter by simply changing the sender address under XI > Account Information > Email address:
Previous Nagios employee
sujayb
Posts: 4
Joined: Mon Sep 19, 2016 9:12 pm

Re: Problem with logon after upgrade to v5.3.3

Post by sujayb »

Hi

Thanks for your reply. I have reverted the mail settings to sendmail and have added the domain and the Exchange server details to the postifx config (main.cf). I can now see emails being sent to the defined XI Contact and the user. But for some reason not all notifications get sent to the other users. For ex, all users get host being down for certain hosts and the nagiosadmin receives all notifications ( Host down, Disk Low). Not sure what setting I have missed. I have a combination of hosts/Services with Active and Passive Checks. I have defined Host groups and Service Groups and assigned the defined Service Group to the "generic service template" and the Host group to the "generic host template".

Can you please advise.

Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Problem with logon after upgrade to v5.3.3

Post by ssax »

Please PM one of us a copy of your profile, you can download it by going to Admin > System Config > System Profile and click the Download Profile button in the top right corner.

I think the issue with your previous email settings and the "SMTP Error: Could not authenticate" was because you should blank out the username and password (your email relay doesn't require authentication) and your username and password are being auto-populated by your web browser, clear the credentials out (just blank them out) and then click the Update Settings button if you want to use the relay.

Thank you
Locked