# Send out Alarm when there is an error sending SMS

**URL:** <https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189>\
**Category:** Ignition\
**Created:** [November 27, 2024, 4:47pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189 "2024-11-27T16:47:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carson\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Carson\_Hunter](https://forum.inductiveautomation.com/u/Carson_Hunter)\
**Post date:** [November 27, 2024, 4:47pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/1 "2024-11-27T16:47:21Z")

</div>

In this system we have both text and email alarms, with a priority on text. Over the weekend the AirLink device had some problems and did not send any alarms messages out. I was wondering if there was a way to create an alarm that I can send out through the email when there is an error sending sms.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/a/2a119459e2bdbb8d433b0926baf32c2083f48837.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 27, 2024, 4:51pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/2 "2024-11-27T16:51:45Z")

</div>

This doesn't seem to be related to Perspective. Remove the tag?

---

<div class="post-metadata">

**Author:** ![Carson\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Carson\_Hunter](https://forum.inductiveautomation.com/u/Carson_Hunter)\
**Post date:** [November 27, 2024, 5:01pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/3 "2024-11-27T17:01:49Z")

</div>

Removed, any ideas on this though?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 27, 2024, 5:02pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/4 "2024-11-27T17:02:54Z")

</div>

Ignition's Airlink driver uses UDP to send messages, so it is fire-and-forget. I don't think there's a way to detect that the Airlink isn't listening.

---

<div class="post-metadata">

**Author:** ![Carson\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Carson\_Hunter](https://forum.inductiveautomation.com/u/Carson_Hunter)\
**Post date:** [November 27, 2024, 5:05pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/5 "2024-11-27T17:05:59Z")

</div>

I see that is unfortunate.... Is it possible to have a script read when a logger is created? It shows in the logger when the sms has an error sending out, but I don't see anywhere else where it shows that the sms failed to send

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 27, 2024, 5:11pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/6 "2024-11-27T17:11:58Z")

</div>

I don't know enough about the Airlink to say more. Consider asking IA support, but I recall prior topics about this not being resolved.

---

<div class="post-metadata">

**Author:** ![Carson\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Carson\_Hunter](https://forum.inductiveautomation.com/u/Carson_Hunter)\
**Post date:** [November 27, 2024, 5:17pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/7 "2024-11-27T17:17:11Z")

</div>

That is fair, thank you for your time!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 27, 2024, 5:50pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/8 "2024-11-27T17:50:07Z")

</div>

This is a failing of all the notification profile types, not just Airlink.

They all log errors/failures, but there's no way to actually act on that information.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 27, 2024, 5:57pm UTC](https://forum.inductiveautomation.com/t/send-out-alarm-when-there-is-an-error-sending-sms/99189/9 "2024-11-27T17:57:33Z")

</div>

I have no idea and have never used Airlink or its equivalent, but I'd be surprised if there isn't a log in the device accessible by a browser / HTTP request. Have a look for that and see if there's any way to retrieve that information and parse it for your purposes. You don't want all the HTML stuff - you only want the data so see if it makes an AJAX request or something similar that you can call in a script.
