SnmpKit (snmpkit v0.3.6)

Unified API for SnmpKit - A comprehensive SNMP toolkit for Elixir.

This module provides a clean, organized interface to all SnmpKit functionality through context-based sub-modules:

Quick Examples

# SNMP Operations
{:ok, value} = SnmpKit.SNMP.get("192.168.1.1", "sysDescr.0")
{:ok, results} = SnmpKit.SNMP.walk("192.168.1.1", "system")

# MIB Operations
{:ok, oid} = SnmpKit.MIB.resolve("sysDescr.0")
{:ok, compiled} = SnmpKit.MIB.compile("MY-MIB.mib")

# Simulation
{:ok, device} = SnmpKit.Sim.start_device(profile, port: 1161)

For backward compatibility, many common operations are also available directly on the main SnmpKit module.

Summary

Functions

get(target, oid)

See SnmpKit.SnmpMgr.get/2.

get(target, oid, opts)

See SnmpKit.SnmpMgr.get/3.

resolve(name)

See SnmpKit.SnmpMgr.MIB.resolve/1.

set(target, oid, value)

See SnmpKit.SnmpMgr.set/3.

set(target, oid, value, opts)

See SnmpKit.SnmpMgr.set/4.

walk(target, oid)

See SnmpKit.SnmpMgr.walk/2.

walk(target, oid, opts)

See SnmpKit.SnmpMgr.walk/3.