package netsnmp

  1. Overview
  2. Docs
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
module Snmp_v1_2c_auth_data = Netsnmp.Netsnmp_types.Snmp_v1_2c_auth_data
module Snmp_v3_auth_data = Netsnmp.Netsnmp_types.Snmp_v3_auth_data
module Snmp_version_auth = Netsnmp.Netsnmp_types.Snmp_version_auth
module Connection_info = Netsnmp.Netsnmp_types.Connection_info
module Oid : sig ... end
module Mib : Netsnmp_raw_monad.Mib_intf.S with module IO := Netsnmp_async__.Netsnmp_io_impl
module Connection : sig ... end
val 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

val 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.

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

get - get the values of a list oids

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

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

module Raw : sig ... end
OCaml

Innovation. Community. Security.