Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
SNMP (net-snmp)
v0.2.1Read 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.
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
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-
snmpwalk BGP4-MIB bgpPeerTable (1.3.6.1.2.1.15.3)
-
snmpget a single OID
-
snmpwalk IF-MIB ifTable (1.3.6.1.2.1.2.2)
-
snmpwalk OSPF-MIB ospfGeneralGroup (1.3.6.1.2.1.14.1)
-
snmpwalk OSPF-MIB ospfNbrTable (1.3.6.1.2.1.14.10)
-
snmpwalk system group (1.3.6.1.2.1.1)
-
snmpwalk an OID subtree