package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=f300b9773b47da231c63fd272e171011fc19c79438dd0f18415f59c962f402d2

doc/netsnmp.async/Netsnmp_async/Raw/Session/index.html

Module Raw.Session

include module type of struct include Netsnmp_raw.Session end
val session_id : t -> int
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_open : 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.