# Snmp-Ignition-Module SNMP v3 Setup

**URL:** <https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151>\
**Category:** 3rd Party Modules\
**Tags:** ignition81, scripting, perspective\
**Created:** [October 2, 2025, 7:40am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151 "2025-10-02T07:40:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [October 2, 2025, 7:40am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/1 "2025-10-02T07:40:44Z")

</div>

Continuing the discussion from [SNMP function for Ignition version 8](https://forum.inductiveautomation.com/t/snmp-function-for-ignition-version-8/35167/14):

Has anyone successfully configured SNMP v3 with this module?

> **[GitHub - kiilez/Snmp-Ignition-Module: A module that allows the user to use snmp...](https://github.com/kiilez/Snmp-Ignition-Module)**
>
> A module that allows the user to use snmp operations in scripts

SNMP v2c works great, but I'm having trouble getting SNMP v3 to function.

Specifically, I'm trying to use authentication (SHA512) and privacy (AES128), which typically require separate passwords for auth and priv. But the module's getV3 function seems to only accept a single password argument, like this:  
`system.snmp.getV3('Ipaddress', 161, OIDs, 3, user, pass, 2, 2)`  
The error is:  
`com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last): File "", line 25, in ValueError: Length of values does not match length of paths`  
The module is free so It's hard to complain! Just leaving some feedback in case someone will have the same issue. I might open an issue on GitHub too.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [October 2, 2025, 7:45am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/2 "2025-10-02T07:45:28Z")

</div>

I swear I played around with this one, I never built it as its using Gradle and I'm normally using Maven to work with.  
I have had limited success with authentication on some of these.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [October 2, 2025, 7:55am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/3 "2025-10-02T07:55:33Z")

</div>

So, looking at the Java, we have this:

```java
UsmUser usr = new UsmUser(
    			new OctetString(user),
    			AuthMD5.ID,
    			new OctetString(pass),
    			PrivDES.ID,
    			new OctetString(pass)
		);

```

So that is calling the following function:

```java
UsmUser(OctetString securityName, OID authenticationProtocol, OctetString authenticationPassphrase, OID privacyProtocol, OctetString privacyPassphrase){
}

```

So in the code, it is using the same passphrase for both Auth and Priv.

---

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [October 2, 2025, 7:59am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/4 "2025-10-02T07:59:14Z")

</div>

I used the module that someone built here:

> [@SNMP function for Ignition version 8](https://forum.inductiveautomation.com/t/snmp-function-for-ignition-version-8/35167/13):
>
> [Norcal-SNMP-Driver-signed.modl](https://forum.inductiveautomation.com/uploads/short-url/4OCqAaLakmfsLYstPOT8bwh7T3P.modl) (608.0 KB) I don't know how to do that either, but had one of my other engineers do it for me. See attached. Hopefully this helps.

> [@David\_Stone](#):
>
> So in the code, it is using the same passphrase for both Auth and Priv.

I think I use the same password for both, I need to check.

---

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [October 2, 2025, 8:03am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/5 "2025-10-02T08:03:40Z")

</div>

> [@David\_Stone](#):
>
> So, looking at the Java, we have this:
> 
> ```python
> UsmUser usr = new UsmUser(
> new OctetString(user),
> AuthMD5.ID,
> new OctetString(pass),
> PrivDES.ID,
> new OctetString(pass)
> );
> 
> ```

What if I don't use MD5 or DES? 🤔

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [October 2, 2025, 1:11pm UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/6 "2025-10-02T13:11:07Z")

</div>

I am part way through checking this code, I’m not getting the same error with a mikrotik router as the snmp source.

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [October 2, 2025, 2:52pm UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/7 "2025-10-02T14:52:45Z")

</div>

Would any of you be open to testing my new SNMP driver module? It provides OPC UA device drivers for SNMP v1/v2c/v3.

It will eventually be included in Embr after more testing.

I’m specifically looking for SNMP v3 testing.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [October 2, 2025, 8:31pm UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/8 "2025-10-02T20:31:31Z")

</div>

Yes I’m very keen, I’ve got a bunch of half finished snmp code myself.

---

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [October 3, 2025, 9:24am UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/9 "2025-10-03T09:24:37Z")

</div>

> [@David\_Stone](#):
>
> I’m very keen

Me too. An OPC UA device would be more user-friendly than writing values through scripting.

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [October 3, 2025, 11:28pm UTC](https://forum.inductiveautomation.com/t/snmp-ignition-module-snmp-v3-setup/111151/10 "2025-10-03T23:28:22Z")

</div>

> [@Musson Industrial's Embr-SNMP Module (BETA)](https://forum.inductiveautomation.com/t/musson-industrials-embr-snmp-module-beta/111185):
>
> Embr-SNMP (BETA) Stability Warning This module is still in beta, and therefore breaking configuration changes may occur between now and the final release. Use at your own risk. This thread is for discussion related to Musson Industrial's Embr-SNMP module. Embr-SNMP provides a set of OPC UA device drivers for SNMPv1, SNMPv2c, and SNMPv3. Usage Install the module. Add your devices under OPC UA/Device Connections. Point your tags at the OPC UA device using the OID as the Node ID. Example (re…
