# Alarm and trend configuration lost when transferring UDT from edge to MQTT server

**URL:** <https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491>\
**Category:** Ignition\
**Created:** [November 26, 2021, 3:14pm UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491 "2021-11-26T15:14:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [November 26, 2021, 3:14pm UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491/1 "2021-11-26T15:14:23Z")

</div>

I tried to transfer all tags from Edge to Cloud Server via MQTT. The tags can be transferred together with its UDT, but the alarm and historian configured in the UDT are lost.

Can anyone help to advise why and how it can be resolved?

Here’s the alarm configured for the UDT tags sitting in the edge device.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/c/8ca48a526b96e4b23fe9894560d339a47acbbcfb.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/3/8345cbd8d64f094c345259c5bf1626ab56735e93.png)

But I couldn’t find the alarm configuration when they are transferred to MQTT Server.

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

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [November 27, 2021, 2:29pm UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491/2 "2021-11-27T14:29:30Z")

</div>

Does anyone have similar issue before?

---

<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, 2021, 6:03pm UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491/3 "2021-11-27T18:03:38Z")

</div>

Can you clarify here? Is your setup something like this?

```auto
Ignition Edge -publish-> MQTT Broker <-consume- Ignition #2

```

and you expect alarms defined on tags in the Edge gateway to be present on MQTT tags from that broker in gateway #2?

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [November 28, 2021, 3:41am UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491/4 "2021-11-28T03:41:51Z")

</div>

Hi Kevin,

Yes, I have a NUC running edge panel and iot license as a local HMI, meanwhile sending all data via MQTT to the cloud Ignition gateway. All alarm and historian configuration of the tags in the UDT definition were gone. for example, the “almHi” tag has been transferred over, but the alarm configuration and historian configuration of this tag were gone.  
What I am doing now is to create another set of tags in the gateway referring the MQTT node tags, and recreate the alarm and historian configuration for these tags.  
This is kind of redundant configuration but I have to get the project going.

---

<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 28, 2021, 2:00pm UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491/5 "2021-11-28T14:00:44Z")

</div>

I don’t think this functionality is available when using MQTT to connect the gateways.

Sounds like you want to set up a Gateway Network connection between the two and use a Remote Tag Provider.

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [August 2, 2023, 12:06am UTC](https://forum.inductiveautomation.com/t/alarm-and-trend-configuration-lost-when-transferring-udt-from-edge-to-mqtt-server/53491/6 "2023-08-02T00:06:26Z")

</div>

I know this is an old post but I thought I would try to add some clarity. Back in 2017 MQTT did send meta data (history) along with the tag. It was pretty handy to be able to duplicate history as the OP requested. However, the feature was easily broken so it was removed and most meta data is no longer connected to the MQTT tags.
