Skip to content

johnyHV/Arduino-SNMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Usage code https://code.google.com/p/agentuino/

Implemented SNMP trap functions from Enmyerp http://forum.arduino.cc/index.php?topic=50848.60

@EDIT M. Pivovarsky  <[email protected]>

Extended version - with memory library
Simple version - without memory library 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

SNMP v1

PDU Types
    GET-Request
    SET-Request
    Response
    Trap
    
Syntax Types
    Null
    Boolean
    Bits (WIP)
    Octet-String
    Object-Identifier (WIP)
    Integer and Integer32
    Counter and Counter64
    Gauge
    Time-Ticks
    IP-Address
    Opaque
    Network-Service-Access-Point (NSAP) Address
    
Limitations
    Agentuino's limitation is dependent on the amount of SRAM available.

    Maximum Community Names (Get/Set) Length: 20 bytes
    Maximum Object-Identifier Length: 64 bytes
    Maximum Value Length: 64 bytes
    Maximum Packet Length: 153 bytes
    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------    

Net-Snmp Get-Request

snmpget -v 1 -r 1 -c public 192.168.2.64 sysUpTime.0

Net-Snmp Set

snmpset -v 1 -r 1 -c private 192.168.2.64 sysName.0 s NewName

snmpget -v 1 -r 1 -c public 192.168.2.64 sysName.0

About

Agentuino - Arduino SNMP Get, Set, Response, Trap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages