package netsnmp

  1. Overview
  2. Docs
An interface to the Net-SNMP client library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=f300b9773b47da231c63fd272e171011fc19c79438dd0f18415f59c962f402d2

doc/netsnmp.async/Netsnmp_async/index.html

Module Netsnmp_asyncSource

include Netsnmp.Netsnmp_intf.S with module IO := Netsnmp_async__.Netsnmp_io_impl
module ASN1_value = Netsnmp_raw_monad.ASN1_value

netsnmp provides high level access to SNMP functionality

include module type of struct include Netsnmp.Netsnmp_types end
module Snmp_sec_auth_proto = Netsnmp_raw.Session.Snmp_sec_auth_proto
Sourcemodule Oid : sig ... end
module Mib : Netsnmp_raw_monad.Mib_intf.S with module IO := Netsnmp_async__.Netsnmp_io_impl
Sourcemodule Connection : sig ... end
Sourceval add_mib_paths : string list -> unit Async.Deferred.t

add_mib_paths adds directories to search for mibs in. Note that this will be used for all subsequent mib searches. raises Failure on error

Sourceval get_s : Connection.t -> string list -> (Oid.t * ASN1_value.t) list Async.Deferred.t

get_s - get the values of a list of symbolic oids. The function handles loading mib modules referenced by the supplied oids, eg passing 'SNMPv2-MIB::sysDescr.0' ensures SNMPv2-MIB is loaded.

get - get the values of a list oids

get_next - get the value of the next node after the supplied oid

Sourcemodule Raw : sig ... end
OCaml

Innovation. Community. Security.