Simple SNMP
This repository holds an interface that describes a SNMP client, and some
classes to be used or extended in implementations., (*1)
Install
Via Composer, (*2)
``` bash
$ composer require surrealcristian/simple-snmp, (*3)
## Requirements
- PHP 5.4+
## API
namespace SurrealCristian\SimpleSnmp, (*4)
interface SnmpV2cInterface, (*5)
public array get ( string $host, string $community, string $oid, int $timeout, int $retries ), (*6)
public array getNext ( string $host, string $community, string $oid, int $timeout, int $retries ), (*7)
public array walk ( string $host, string $community, string $oid, int $timeout, int $retries ), (*8)
public array bulkWalk ( string $host, string $community, string $oid, int $timeout, int $retries ), (*9)
public set ( string $host, string $community, string $oid, string $type, string $value, int $timeout, int $retries ), (*10)
namespace SurrealCristian\SimpleSnmp\Exception, (*11)
class SimpleSnmpException extends Exception, (*12)
class TimeoutException extends SimpleSnmpException
```, (*13)
Change log
Please see CHANGELOG for more information, (*14)
License
The MIT License (MIT). Please see License File for more information., (*15)