Alarm sms notification has stopped working
-
- Posts: 131
- Joined: Wed Feb 20, 2019 3:46 pm
Alarm sms notification has stopped working
My sms alarm notification has stopped working. I can still send a test sms from user menu and it is successful. When looking at logs it looks like the test uses a FQDN and the real alarm notification is not using the FQDN. I have mail logs and profile I can send via private message.
Re: Alarm sms notification has stopped working
Hello @dslaughter
Thanks for reaching out, understand that you have collected the logs and System Profile and want to also get the following:
Please go to Admin > Manage Email Settings:
- Make sure Logging is checked
- Click the Update Settings button
Then run this tail command as root (and leave it running):
And
You can break these two commands when you have completed the sending on test SMS messages.
Then masquerade as one of them that isn't receiving the verification code. After masquerading enter this in your address bar and hit enter to resend the verification code:
- Change YOURXISERVER
Then PM me the full output from the still running tail command after about 30 seconds have passed.
PM me a copy of your profile.zip as well, you can download it from Admin > System Profile by clicking the Download Profile button.
Thanks,
Perry
Thanks for reaching out, understand that you have collected the logs and System Profile and want to also get the following:
Please go to Admin > Manage Email Settings:
- Make sure Logging is checked
- Click the Update Settings button
Then run this tail command as root (and leave it running):
Code: Select all
tail -Fn0 /var/log/maillog /usr/local/nagiosxi/tmp/phpmailer.log /usr/local/nagiosxi/var/eventman.log /var/log/httpd/error_log /var/log/httpd/ssl_error_log >> /tmp/results.txt
Code: Select all
journalctl -u postfix -f >> /tmp/postfix.txt
Then masquerade as one of them that isn't receiving the verification code. After masquerading enter this in your address bar and hit enter to resend the verification code:
- Change YOURXISERVER
Code: Select all
http://YOURXISERVER/nagiosxi/account/notifymethods.php?sendkey=1
PM me a copy of your profile.zip as well, you can download it from Admin > System Profile by clicking the Download Profile button.
Thanks,
Perry
-
- Posts: 131
- Joined: Wed Feb 20, 2019 3:46 pm
Re: Alarm sms notification has stopped working
It looks like AT&T were blocking the real alarms. The test alert always worked. Using the test I received email and sms but if a real alarm came in I only got the email.
Why would the test deliver and the real alarm fail? I can send the logs I have if you think it will help find the difference between the test and real alarm sms.
I sent the profile in my snmp question if you want to go over it.
Why would the test deliver and the real alarm fail? I can send the logs I have if you think it will help find the difference between the test and real alarm sms.
I sent the profile in my snmp question if you want to go over it.
Re: Alarm sms notification has stopped working
Hello @dslaughter
Thanks for following up, good to know that the test SMS works. We see that from the previous System Profile that was sent over that the service check was executed but 'No message to process'. Want to do some further checking into this:
Example:
Please send over the '/tmp/eventlogs.tar.gz' via Private Message.
Thanks,
Perry
p.s.
Thanks for following up, good to know that the test SMS works. We see that from the previous System Profile that was sent over that the service check was executed but 'No message to process'. Want to do some further checking into this:
Example:
Want to get the Eventman and cmdsys logs so we can see what is going on:SERVICE CHECK -> Host Name: 'nagiosxi-da1', Service Description: 'DA1 rantcellSMSTest', Return Code: '0', Output: 'No messages to process'
Code: Select all
tar -czvf /tmp/eventlogs.tar.gz /usr/loca/nagiosxi/var/ /var/log/messages/ /var/log/syslog /usr/local/nagios/var/*.log
Thanks,
Perry
p.s.
We're moving to a new support system!
The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.
Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users
After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.
Re: Alarm sms notification has stopped working
Wondering if does not recognize the "contact" or phone number that it is coming from and is getting blocked. Are they the same contact/phone number from the test message versus the alert?dslaughter wrote:It looks like AT&T were blocking the real alarms. The test alert always worked. Using the test I received email and sms but if a real alarm came in I only got the email.
Why would the test deliver and the real alarm fail? I can send the logs I have if you think it will help find the difference between the test and real alarm sms.
I sent the profile in my snmp question if you want to go over it.
Thanks,
Perry
-
- Posts: 131
- Joined: Wed Feb 20, 2019 3:46 pm
Re: Alarm sms notification has stopped working
Sorry for late reply. I was unexpectedly out for several days. I'll gather the information and send tomorrow.
-
- Posts: 131
- Joined: Wed Feb 20, 2019 3:46 pm
Re: Alarm sms notification has stopped working
Sorry for the late reply. Go ahead and close this topic. If I experience this problem again I'll secure the logs.