Nagios MMS not being received by ATT Iphones
Re: Nagios MMS not being received by ATT Iphones
I am receiving my mms messages through ATT and one thing you can try is removing nagios from the send from
tag of the email....we use [email protected] and send to mms.att.net
to get our messages..
tag of the email....we use [email protected] and send to mms.att.net
to get our messages..
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios MMS not being received by ATT Iphones
Not a bad point either, with everyone else using the default nagios@ or nagios in the subject, I would not be surprised if they were specifically filtering for that.
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: Nagios MMS not being received by ATT Iphones
Didn't help.
I've even gone as far as to try bouncing the alert off a gmail server. After setting up the fowarding number and a filter, the alert hits gmail, it gets forwarded to at&t, and then poof. It never hits the phone. What's even more maddening though is if I go in and manually click forward on the message in gmail and forward that, it will get to the phone. I feel like I'm taking crazy pills here.
I've even gone as far as to try bouncing the alert off a gmail server. After setting up the fowarding number and a filter, the alert hits gmail, it gets forwarded to at&t, and then poof. It never hits the phone. What's even more maddening though is if I go in and manually click forward on the message in gmail and forward that, it will get to the phone. I feel like I'm taking crazy pills here.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios MMS not being received by ATT Iphones
Actually what you describe sounds like at&t is filtering messages from [email protected]. I say this because if you have it auto forward at gmail, the sender will be the same as the original,however if you click the forward from the inbox, the message is being sent from the gmail account....GldRush98 wrote:Didn't help.
I've even gone as far as to try bouncing the alert off a gmail server. After setting up the fowarding number and a filter, the alert hits gmail, it gets forwarded to at&t, and then poof. It never hits the phone. What's even more maddening though is if I go in and manually click forward on the message in gmail and forward that, it will get to the phone. I feel like I'm taking crazy pills here.
If it was me I would contact at&t and raise hell.... But, make sure the email address [email protected] exists and is valid, because I have seen them reject messages because the domain didn't actually exist, using local domains, etc...
Re: Nagios MMS not being received by ATT Iphones
I went through this last year and felt the same way...
try also changing the MMS template your using. I cut mine way down.
%type% Host Alert
Host: %host%
State: %hoststate%
Address: %hostaddress%
Info: %hostoutput%
Date/Time: %datetime%
Respond: %responseurl%
%type% Service Alert
Service: %service%
Host: %hostalias%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%
Respond: %responseurl%
try also changing the MMS template your using. I cut mine way down.
%type% Host Alert
Host: %host%
State: %hoststate%
Address: %hostaddress%
Info: %hostoutput%
Date/Time: %datetime%
Respond: %responseurl%
%type% Service Alert
Service: %service%
Host: %hostalias%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%
Respond: %responseurl%
Re: Nagios MMS not being received by ATT Iphones
and as Scott said our email send from address of [email protected] is a valid email address on our network.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios MMS not being received by ATT Iphones
Yes, this could cause issues as well. Believe it or not, the major carriers do infact have "spam" protection for SMS/MMS and you could be getting caught in the "spam filter". the tricky part is figuring out what is triggering it.isadmin wrote:I went through this last year and felt the same way...
try also changing the MMS template your using. I cut mine way down.
%type% Host Alert
Host: %host%
State: %hoststate%
Address: %hostaddress%
Info: %hostoutput%
Date/Time: %datetime%
Respond: %responseurl%
%type% Service Alert
Service: %service%
Host: %hostalias%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%
Respond: %responseurl%
On one of my phones, I seem to get everything, on another, if I have the systems email address set to the default nagios@localhost I will never get it.
I know it can be frustrating, but sometimes it is best to reach out to support at the carrier and explain the issue and have them dig into it.
-
jvanbooven
- Posts: 1
- Joined: Fri Sep 11, 2015 7:13 pm
Re: Nagios MMS not being received by ATT Iphones
Figured out the problem, and how to fix it, at least if you use the PHP Mailer in Nagios XI.
I’ve been working on this issue with AT&T since June, and was escalated through many tiers of support in an effort to determine the cause. Ultimately, after working with Paul Mason, Principal Technical Architect, MMS Messaging (Tier 4) in their Operational Certification & Advanced Technical Support department, we have found that AT&T’s Nokia MMSC/NEMS platform is dropping these messages due to an RFC compliance issue in the email message header.
Specifically, part of the message headers appear like this:
However, the spaces in ‘charset = "UTF-8"’ are not allowed per the RFC. That section should appear as:
We worked with Nagios support, and they have indicated that the issue has been corrected and will be included in the next release. In the interim, if you want to fix this on your own instance, you can modify the file /usr/local/nagiosxi/html/includes/phpmailer/class.phpmailer.php line 1282 (might be different on your system but should be close), which is where the extra spaces are added. The following line:
should be changed to:
Now, we can finally use mms.att.net instead of txt.att.net. Message formatting is sooo much better when sent through mms.att.net
I’ve been working on this issue with AT&T since June, and was escalated through many tiers of support in an effort to determine the cause. Ultimately, after working with Paul Mason, Principal Technical Architect, MMS Messaging (Tier 4) in their Operational Certification & Advanced Technical Support department, we have found that AT&T’s Nokia MMSC/NEMS platform is dropping these messages due to an RFC compliance issue in the email message header.
Specifically, part of the message headers appear like this:
Code: Select all
--b1_45a70008b4cc38472cc7e640786c55f6
Content-Type: text/plain; charset = "UTF-8"
Content-Transfer-Encoding: 8bitCode: Select all
--b1_45a70008b4cc38472cc7e640786c55f6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bitCode: Select all
$result .= sprintf("Content-Type: %s; charset = \"%s\"", $contentType, $charSet);Code: Select all
$result .= sprintf("Content-Type: %s; charset=\"%s\"", $contentType, $charSet);Re: Nagios MMS not being received by ATT Iphones
Thank you for posting this! I hope it can help some people out that have the issue.
Former Nagios Employee.
me.
me.