Skip to main content

SNMP (net-snmp)

v0.2.1

Read a network device over SNMP with the net-snmp CLI — system group, interface table, BGP peers (BGP4-MIB) and OSPF neighbors / general group (OSPF-MIB), plus a generic single-OID get and a bounded subtree walk. The routing reads exist to give operators visibility into BGP / OSPF state on devices this control plane can't reach by a native API — e.g. a pfSense + FRR edge firewall, where the REST API exposes no routing-protocol state. All read-only.

7 allowed by default
Pack ID
snmp
Vendor
emisar
OS
linux
Actions
7
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
snmpget snmpbulkwalk

Install

emisar pack install validates the pack and verifies its content hash before copying it into /etc/emisar/packs. The --hash below pins the install to the exact bytes on this page — a tampered copy is rejected. After install, reload the runner; it re-reads the catalog and advertises every action.

content hash: sha256:751dd09d8deaf6834e3aa0f888a7eb42792945e8580cb4a7bbc0d468ee839427

on the runner host
sudo emisar pack install snmp \
  --hash sha256:751dd09d8deaf6834e3aa0f888a7eb42792945e8580cb4a7bbc0d468ee839427 \
  --dest /etc/emisar/packs

# Reload so the runner re-reads the catalog:
sudo systemctl reload emisar

Actions 7 total

View on GitHub