Email notifications cannot send. I have configured email notifications to be sent via SMTP. I have verified that the SMTP settings within the web interface in system config\manage email settings\mail settings page. When I send a test email, I receive the following error: Mailer said: Language string failed to load.
I am using the Nagios XI installation downloaded as a Windows Hyper-V VHD image.
Any help would be greatly appreciated, thanks.
SMTP Mailer said: Language string failed to load
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SMTP Mailer said: Language string failed to load
Just to verify, you are using english as the language? Also if you could run the following:
Code: Select all
rpm -qa | grep phpNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: SMTP Mailer said: Language string failed to load
This error is usually related to the authentication strings. Do you use any non standard ascii characters for your smtp password? Have you completely filled out the smtp settings?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: SMTP Mailer said: Language string failed to load
@SReinhardt: I am using English. I ran the code you provided (Thank you) and I believe the code ran successfully, but it did not resolve the issue.
@Abrist: There are only letters and numbers in the SMTP password. I have only configured the email/SMTP settings within the web interface of Nagios which has been completely filled out.
Nagios and CentOS were preinstalled from the downloaded VHD image, so I have done nothing within the Linux environment itself (except for SReinhardt code) . Everything I have done to Nagios has been through the web interface of Nagios.
Thank you both for your advice and help.
@Abrist: There are only letters and numbers in the SMTP password. I have only configured the email/SMTP settings within the web interface of Nagios which has been completely filled out.
Nagios and CentOS were preinstalled from the downloaded VHD image, so I have done nothing within the Linux environment itself (except for SReinhardt code) . Everything I have done to Nagios has been through the web interface of Nagios.
Thank you both for your advice and help.
Re: SMTP Mailer said: Language string failed to load
Just out of curiosity, what do the maillogs look like?
Code: Select all
tail -25 /var/log/maillogFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: SMTP Mailer said: Language string failed to load
The following is from "tail -25 /var/log/maillog" as suggested:
[root@ssc-ups /]# tail -25 /var/log/maillog
Sep 12 08:00:04 ssc-ups postfix/pickup[1385]: 4903646F6: uid=0 from=<root>
Sep 12 08:00:04 ssc-ups postfix/cleanup[4468]: 4903646F6: message-id=<[email protected]>
Sep 12 08:00:04 ssc-ups postfix/qmgr[1386]: 4903646F6: from=<[email protected]>, size=610, nrcpt=1 (queue active)
Sep 12 08:00:04 ssc-ups postfix/local[4470]: 43C2C46F7: to=<[email protected]>, orig_to=<root@localhost>, relay=local, delay=0.21, delays=0.14/0.04/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 08:00:04 ssc-ups postfix/qmgr[1386]: 43C2C46F7: removed
Sep 12 08:00:05 ssc-ups postfix/local[4471]: 4903646F6: to=<[email protected]>, orig_to=<root>, relay=local, delay=2.9, delays=1.9/0.01/0/1, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 08:00:05 ssc-ups postfix/qmgr[1386]: 4903646F6: removed
Sep 12 08:03:36 ssc-ups postfix/qmgr[1386]: 4906F40CD: from=<>, size=3944, nrcpt=1 (queue active)
Sep 12 08:03:36 ssc-ups postfix/qmgr[1386]: 8FBF81073: from=<>, size=3939, nrcpt=1 (queue active)
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: 8FBF81073: to=<[email protected]>, relay=none, delay=84684, delays=84684/0.03/0.01/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: 4906F40CD: to=<[email protected]>, relay=none, delay=126687, delays=126687/0.04/0.01/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
Sep 12 08:08:36 ssc-ups postfix/qmgr[1386]: CD8642D99: from=<>, size=3289, nrcpt=1 (queue active)
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: CD8642D99: to=<[email protected]>, relay=none, delay=156087, delays=156087/0.03/0.09/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
[root@ssc-ups /]#
I apologize for the delay as I am a Windows Admin, but Linux Noob. Thanks again for your assistance and time.
[root@ssc-ups /]# tail -25 /var/log/maillog
Sep 12 08:00:04 ssc-ups postfix/pickup[1385]: 4903646F6: uid=0 from=<root>
Sep 12 08:00:04 ssc-ups postfix/cleanup[4468]: 4903646F6: message-id=<[email protected]>
Sep 12 08:00:04 ssc-ups postfix/qmgr[1386]: 4903646F6: from=<[email protected]>, size=610, nrcpt=1 (queue active)
Sep 12 08:00:04 ssc-ups postfix/local[4470]: 43C2C46F7: to=<[email protected]>, orig_to=<root@localhost>, relay=local, delay=0.21, delays=0.14/0.04/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 08:00:04 ssc-ups postfix/qmgr[1386]: 43C2C46F7: removed
Sep 12 08:00:05 ssc-ups postfix/local[4471]: 4903646F6: to=<[email protected]>, orig_to=<root>, relay=local, delay=2.9, delays=1.9/0.01/0/1, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 08:00:05 ssc-ups postfix/qmgr[1386]: 4903646F6: removed
Sep 12 08:03:36 ssc-ups postfix/qmgr[1386]: 4906F40CD: from=<>, size=3944, nrcpt=1 (queue active)
Sep 12 08:03:36 ssc-ups postfix/qmgr[1386]: 8FBF81073: from=<>, size=3939, nrcpt=1 (queue active)
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: 8FBF81073: to=<[email protected]>, relay=none, delay=84684, delays=84684/0.03/0.01/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: 4906F40CD: to=<[email protected]>, relay=none, delay=126687, delays=126687/0.04/0.01/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
Sep 12 08:08:36 ssc-ups postfix/qmgr[1386]: CD8642D99: from=<>, size=3289, nrcpt=1 (queue active)
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: CD8642D99: to=<[email protected]>, relay=none, delay=156087, delays=156087/0.03/0.09/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
[root@ssc-ups /]#
I apologize for the delay as I am a Windows Admin, but Linux Noob. Thanks again for your assistance and time.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SMTP Mailer said: Language string failed to load
Hey no problem at all. It looks like you are being rejected by postini. Do you have a username and password set in the authentication settings of the smtp configuration? Also you should make sure your IP that nagios is sending from is not on a blacklist. Finally, do you house an internal mail server that you use postini to filtering for? If so, you could send directly there instead and avoid this issue.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: SMTP Mailer said: Language string failed to load
There was an authentication issue when Nagios was sending through the SMTP replay. The issue was not related to Nagios at all. The error messages when sending test emails through Nagios were Language string failed to load which threw me off. Thank you all for your help and advice. This issue was been resolved.
Re: SMTP Mailer said: Language string failed to load
Glad to hear it is resolved. Enjoy the rest of the week!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.