class SNMP::Client

Defined in:

snmp/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, session : SNMP::Session | SNMP::V3::Session, timeout : Int32 = 3, port : Int32 = 161) #

[View source]
def self.new(host : String, community = "public", timeout : Int32 = 3, port : Int32 = 161) #

[View source]

Instance Method Detail

def get(oid : String) : SNMP::Message #

[View source]
def get_next(oid : String) : SNMP::Message #

[View source]
def host : String #

[View source]
def port : Int32 #

[View source]

[View source]
def socket : UDPSocket #

[View source]
def timeout : Int32 #

[View source]
def walk(oid : String) : Array(SNMP::Message) #

[View source]
def walk(oid : String, &) #

[View source]