package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.15.0.tar.gz
sha256=4c9b6bae3b61d85d92f80fb5c0fe3fd6db498512eeaa3d332eed284f4693d269

doc/netsnmp.async/Netsnmp_async/index.html

Module Netsnmp_asyncSource

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

netsnmp provides high level access to SNMP functionality

include module type of struct include Netsnmp.Netsnmp_types end
Sourcemodule Oid : sig ... end
Sourcemodule 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.