Gamil APP Passowrd not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sona9768
Posts: 3
Joined: Fri Dec 21, 2018 10:57 am

Gamil APP Passowrd not working

Post by sona9768 »

Trying to setup Gmail for Alert notification using the App password feature of gmail, but while testing the Email settings it is getting failed.
Raised a ticket but nagios customer care says that the gmail app password is not supported on nagios xi.
Cant buy this because it was working fine earlier, and some times i do get email alerts from the Nagios XI using the Gmail account.
Ticket No. 595295
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Gamil APP Passowrd not working

Post by dchurch »

Should be in the email logs in Nagios XI if it's failing to authenticate.

Keep in mind that SMTP authentication needs to include the full email address in the user name field. For example:

- From: [email protected]
- Username: myaccount
- App Password: abcdefghasdf1234
- SMTP host: smtp.gmail.com
- SMTP port: 587

Keep in mind that Gmail will reject sending mail with a "From" address field that it doesn't recognize as belonging to you (check inside Gmail settings to add addresses).

If you PM me a system profile I can diagnose further. Get one by going to Admin (top menu) => System Profile (in the left menu), then clicking the blue button.

If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked