surrealcristian / simple-snmp
Interfaces and classes that describes a SNMP client.
1.0.0
2016-11-09 17:19 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-02-02 02:52:11 UTC
README
This repository holds an interface that describes a SNMP client, and some classes to be used or extended in implementations.
Install
Via Composer
$ composer require surrealcristian/simple-snmp
Requirements
- PHP 5.4+
API
namespace SurrealCristian\SimpleSnmp
interface SnmpV2cInterface
public array get ( string $host, string $community, string $oid, int $timeout, int $retries )
public array getNext ( string $host, string $community, string $oid, int $timeout, int $retries )
public array walk ( string $host, string $community, string $oid, int $timeout, int $retries )
public array bulkWalk ( string $host, string $community, string $oid, int $timeout, int $retries )
public set ( string $host, string $community, string $oid, string $type, string $value, int $timeout, int $retries )
namespace SurrealCristian\SimpleSnmp\Exception
class SimpleSnmpException extends Exception
class TimeoutException extends SimpleSnmpException
Change log
Please see CHANGELOG for more information
License
The MIT License (MIT). Please see License File for more information.