Module Netsnmp_monad.Netsnmp

Parameters

Signature

module IO : Netsnmp_raw_monad.Io_intf.S
module ASN1_value = Netsnmp_raw_monad.ASN1_value

netsnmp provides high level access to SNMP functionality

module Oid : sig ... end
module Mib : Netsnmp_raw_monad.Mib_intf.S with module IO := IO
module Connection : sig ... end
val add_mib_paths : string list -> unit IO.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

val get_s : Connection.t -> string list -> (Oid.t * ASN1_value.t) list IO.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.

val get : Connection.t -> Oid.t list -> (Oid.t * ASN1_value.t) list IO.t

get - get the values of a list oids

val get_next : Connection.t -> Oid.t -> (Oid.t * ASN1_value.t) list IO.t

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

module Raw : sig ... end