# Checking if network is working properly with SNMP

**URL:** <https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 6, 2023, 8:15am UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647 "2023-03-06T08:15:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.inductiveautomation.com/u/Jeremy)\
**Post date:** [March 6, 2023, 8:15am UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/1 "2023-03-06T08:15:03Z")

</div>

Hello,

From a previous formation on Ignition (a few years ago...) I was remembering that it was possible to connect to switches or such with SNMP to read information from compatible device but I cannot find any information about this.

In my specific case, we have a network in ring configuration, 4 switches compatible SNMP, with RSTP set-up and I would like to now if the switches a connected and alive and if not, I would like to raise an alarm or show a warning on Vision.

- Is it still possible?
- Does it require a module?
- How does it work?

Best regards !

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [March 6, 2023, 1:40pm UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/2 "2023-03-06T13:40:08Z")

</div>

I think kepware/top server has an opc driver for snmp. That might be the easiest point and click method.

---

<div class="post-metadata">

**Author:** ![djs](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@djs](https://forum.inductiveautomation.com/u/djs)\
**Post date:** [March 6, 2023, 1:49pm UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/3 "2023-03-06T13:49:38Z")

</div>

It would probably be easiest to use a module. Here's a 3rd party module:

> **[Kymera Systems Inc | IIoT Solutions - Kymera SNMP Driver](https://www.kymerasystems.com/kymera-snmp-driver/)**
>
> The Kymera SNMP Driver retrieves data from SNMP V1, V2c and V3 agents making it available via OPC so that Ignition and other...

Also:

> [@SNMP function for Ignition version 8](https://forum.inductiveautomation.com/t/snmp-function-for-ignition-version-8/35167):
>
> Hi all. [Here](https://github.com/gitRaiku/Snmp-Ignition-Module) you have a simple SNMP function tested with v1/v2c devices under V8 As of now the only operation available is snmp Get and can be called by using system.snmp.snmpGet(‘community’, ‘address’, port, ‘OID’) Returns value as string I was in need of a simple function for SNMP. The driver on market seems a little complicated and the free one made by BYES for V7.9 is not free anymore for V8 ( for a good reason ) So I asked my son for help, we took the function example, tweaked the cod…

I guess it would be _possible_ to do it without a module... quick google search reveals some [snmp python libraries](https://pysnmp.readthedocs.io/en/latest/), but I've never messed with them.

---

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.inductiveautomation.com/u/Jeremy)\
**Post date:** [March 7, 2023, 7:07am UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/4 "2023-03-07T07:07:34Z")

</div>

Hum, I was remembering something more integrated than that but I guess I am misremembering...  
Well, I will try the free module as I don't want anything too complicated.

Thanks for the answers !

---

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.inductiveautomation.com/u/Jeremy)\
**Post date:** [March 9, 2023, 3:37pm UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/5 "2023-03-09T15:37:36Z")

</div>

Hello,

Just to inform that I have use the free module. It is simple but it work once you have understood how snmp works.

Thanks to all the answers.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [March 10, 2023, 9:07pm UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/6 "2023-03-10T21:07:05Z")

</div>

Which free module are you referring to?

---

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.inductiveautomation.com/u/Jeremy)\
**Post date:** [March 13, 2023, 7:05am UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/7 "2023-03-13T07:05:57Z")

</div>

The module mentioned here:

> [@SNMP function for Ignition version 8](https://forum.inductiveautomation.com/t/snmp-function-for-ignition-version-8/35167):
>
> Hi all. [Here](https://github.com/gitRaiku/Snmp-Ignition-Module) you have a simple SNMP function tested with v1/v2c devices under V8 As of now the only operation available is snmp Get and can be called by using system.snmp.snmpGet(‘community’, ‘address’, port, ‘OID’) Returns value as string I was in need of a simple function for SNMP. The driver on market seems a little complicated and the free one made by BYES for V7.9 is not free anymore for V8 ( for a good reason ) So I asked my son for help, we took the function example, tweaked the cod…

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [March 13, 2023, 6:22pm UTC](https://forum.inductiveautomation.com/t/checking-if-network-is-working-properly-with-snmp/70647/8 "2023-03-13T18:22:31Z")

</div>

Ah I didn't see that. The Kymera module is probably the integrated solution you mentioned. It exposes devices as a OPC device, so you can use the data in tags.
