# Gateway network connection Status monitoring and alarming

**URL:** <https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678>\
**Category:** Ignition\
**Created:** [April 3, 2020, 9:53pm UTC](https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678 "2020-04-03T21:53:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deancable](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@deancable](https://forum.inductiveautomation.com/u/deancable)\
**Post date:** [April 3, 2020, 9:53pm UTC](https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678/1 "2020-04-03T21:53:06Z")

</div>

I am wondering if there are any TAGS or any way in SCRIPTING to periodically check the STATUS of a Gateway Network Connection to another Ignition Gateway?

I will be creating a Gateway Network from an Ignition 7.9 to an Ignition 8.0.

I am looking for something I could ALARM on to tell operator that the connection is down.  
I also want to “do something” when the connection is “BROKEN”.  
I also want to “do some other things” when the connection is “RE-CONNECTED”

thankns

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [April 4, 2020, 8:10am UTC](https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678/2 "2020-04-04T08:10:12Z")

</div>

As default in 7.9 within the tag structure there are “System” tags. Have you checked them out?

Or you could look into the “Enterprise Administration” Modules

---

<div class="post-metadata">

**Author:** ![deancable](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@deancable](https://forum.inductiveautomation.com/u/deancable)\
**Post date:** [April 6, 2020, 12:16pm UTC](https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678/3 "2020-04-06T12:16:34Z")

</div>

I looked in system.util

I found system.util.getGatewayStatus()

But I that only tells me if the specified GATEWAY is running.  
It does NOT tell me any status on the Gateway Network Connection to the other Gateway.

I also looked through APPENDIX: Scripting Functions,  
I found: system.net.getRemoteServers(). That only gives a list of Gateways that are VISIBLE, that could be many many servers.

Nothing else will provide what I am looking for…hmmm…

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [April 6, 2020, 1:01pm UTC](https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678/4 "2020-04-06T13:01:15Z")

</div>

> [@Matrix\_Engineering](#):
>
> you could look into the “Enterprise Administration” Modules

...you could look into the “Enterprise Administration” Modules....

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [April 6, 2020, 1:04pm UTC](https://forum.inductiveautomation.com/t/gateway-network-connection-status-monitoring-and-alarming/33678/5 "2020-04-06T13:04:33Z")

</div>

FYI by System tags I meant these:

![system%20tags](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f1c6cd731c68afd7b364ad7cccc3fc5323287be4.png)
