package netsnmp

  1. Overview
  2. Docs
include module type of struct include Netsnmp_raw.Session end
module Snmp_version = Netsnmp_raw.Session.Snmp_version

Supported SNMP versions

module Snmp_sec_auth_proto = Netsnmp_raw.Session.Snmp_sec_auth_proto

Supported SNMP authentication protocols for V3

val snmp_sess_init : unit -> netsnmp_session Async.Deferred.t
val snmp_sess_open : netsnmp_session:netsnmp_session -> version:Snmp_version.t -> retries:int -> timeout:int -> peername:string -> localname:string -> local_port:int -> community:string -> securityName:string -> securityAuthProto:Snmp_sec_auth_proto.t -> securityAuthPassword:string -> unit -> t Async.Deferred.t
val snmp_sess_close : t -> unit Async.Deferred.t
val snmp_sess_synch_response : t -> Netsnmp_raw.Pdu.t -> (Netsnmp_raw.Oid.t * Netsnmp_raw.ASN1_value.t) list Async.Deferred.t
OCaml

Innovation. Community. Security.