snmp-0.1.0.2: API for write snmp client.

Safe HaskellNone

Network.Snmp.Client

Contents

Synopsis

types

type Port = StringSource

type Hostname = StringSource

type Login = ByteStringSource

type Password = ByteStringSource

data Version Source

Snmp version tag

Constructors

Version1 
Version2 
Version3 

newtype Community Source

(snmp2 only) Community for 2(1) version

Constructors

Community ByteString 

data Coupla Source

Coupla oid -> value

Constructors

Coupla 

Fields

oid :: OID
 
value :: Value
 

Instances

Eq Coupla 
Show Coupla 

newtype Suite Source

Variable bindings

Constructors

Suite [Coupla] 

Instances

data PrivAuth Source

(snmp3 only) rfc3412, type for create message flag

Instances

Eq PrivAuth 
Show PrivAuth 

data AuthType Source

Constructors

MD5 
SHA 

Instances

Eq AuthType 
Show AuthType 

data Value Source

Snmp data types

Constructors

OI OID 
Zero 
Integer Int32 
String ByteString 
IpAddress Word8 Word8 Word8 Word8 
Counter32 Word32 
Gaude32 Word32 
TimeTicks Word32 
Opaque ByteString 
Counter64 Word64 
ZeroDotZero 

Instances

client

client methods

close :: Client -> IO ()Source

usefull functions

oidFromBS :: ByteString -> [Integer]Source