package netsnmp

  1. Overview
  2. Docs

Parameters

module IO : IO

Signature

module ASN1_value = Netsnmp_raw_monad.ASN1_value

netsnmp provides high level access to SNMP functionality

include module type of struct include Netsnmp_types end
module Snmp_sec_auth_proto = Netsnmp_raw.Session.Snmp_sec_auth_proto
module Snmp_v1_2c_auth_data = Netsnmp_types.Snmp_v1_2c_auth_data
module Snmp_v3_auth_data = Netsnmp_types.Snmp_v3_auth_data
module Snmp_version_auth = Netsnmp_types.Snmp_version_auth
module Connection_info = Netsnmp_types.Connection_info
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