npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-snmp

v1.0.0

Published

A n8n node that allows communication with SNMP-enabled devices

Readme

n8n-nodes-snmp

This is an n8n community node. It lets you access SNMP-enabled devices in your n8n workflows.

SNPM is a network management protocol that is widely used to monitor and control network devices (e.g. routers and switches), as well as other network-connected devices such as servers, IP phones and printers.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Resources
Version history

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

List OIDs

Retrieves a part of the device's MIB, starting at a certain root element. Similar in functionality to the snmpwalk command.

By default, this operation walks the subtree rooted at SNMPv2-SMI::mib-2 (1.3.6.1.2.1, or iso.org.dod.internet.mgmt.mib-2), like snmpwalk. This should surface most standardized fields, but it'll leave out, for example, any vendor-specific fields (which may be under 1.3.6.1.4.1, the Private Enterprises section). This can be configured with the advanced option Root OID.

Get Values

Reads one or multiple OIDs. Static OIDs (or expressions that resolve to a single OID) can be written in the OIDs list.

If you need to read a variable list of OIDs (where the number of items isn't known and comes from an expression), add an item to the list of OIDs and write an expression that resolves to an array. The node supports a mix of single and multiple OIDs:

a screenshot of the SNMP node showing the Read OIDs operation with an array on the field for the OIDs to read

Get Table

There are parts of MIB trees that contain table data (two-dimensional lists), in column-major order (all the values for column A first, then all the values for column B, and so on). For example, 1.3.6.1.2.1.2.2 is the interfaces table, comprised of all the values of the form <BASE_OID>.1.<COLUMN_INDEX>.<ENTRY_INDEX>:

| ↓ ENTRY_INDEX | COLUMN_INDEX = 1 = ifIndex | COLUMN_INDEX = 2 = ifDescr | COLUMN_INDEX = 3 = ifType | ... | |---------------|----------------------------|----------------------------|---------------------------|-----| | 1 | 1 | lo | 24 | ... | | 2 | 2 | eth1 | 6 | ... | | ... | | | | |

To read a table, provide the OID under which the table is stored. Do not include the final .1 that is typically ( always?) appended to it. This operation will return multiple output items, all with the same shape/schema (dictated by the fields returned by the SNMP agent while listing all children of the Base OID)

Write

It's possible to write values back to the SNMP agent. Which OIDs are writable and the data types of each depends on the exact device that is being managed.

NOTE: For now, please note that data types are slightly awkward to handle. If you try to write to an OID that accepts integers, for example, you can't just write 1 in the Value field, because it'll be interpreted as a string with a single character. To force an actual number, switch the Value field to Expression mode and write {{ 1 }}, which will be treated as a proper number. String fields can be written directly (or as expressions too, for variable values)

Trigger

Trap Trigger

The SNMP Trap Trigger node opens a UDP port and listens to SNMP Traps (either v1 or v2) and Informs. Traps are fire-and-forget and the sending agent won't have confirmation of their receipt, whereas Informs will be acknowledged by N8N.

To use this node, optionally provide a credential (which will be used to check all incoming requests, so they must have a certain community name or user info) and specify the port that the trigger will listen on. Please note that this port must not already be in use because it'll be bound exclusively by the trigger, so you can't have multiple triggers ( whether on the same WF or on different WFs) using the same port. For the same reason, it isn't possible to run the WF manually while it's active, because in that case both the running WF and the manual execution would try to bind to the same port. To test the WF manually, deactivate it first, then test it, and then activate it again. Alternatively, manually pin data on the trigger, or, if you have access to it, use the Debug in editor button.

If you're deploying N8N in Docker, you may need to allow the container to bind to the desired ports by using Docker's port forwarding features ( or use a range of ports, as some Dockerized FTP servers suggest doing)

Credentials

This node supports the authentication methods of SNMP v1, v2c (both just use a Community Name) and v3 (username and, optionally, separate passwords for message authentication and encryption).

The node can also be used without a credential, in which case it'll default to v2c with the community public. To use v1 or v3, provide a credential (which is necessary in any case for v3 because there isn't a v3 equivalent to the public community that is very widely used in v1/v2c).

Compatibility

This node has been developed in N8N v1.111. It should work on somewhat older versions (released a few months ago before 2025-09). Please open an issue if you encounter any problems.

Resources

Version history

See the CHANGELOG.md file