surrealcristian/simple-snmp

Interfaces and classes that describes a SNMP client.

1.0.0 2016-11-09 17:19 UTC

This package is not auto-updated.

Last update: 2024-09-29 01:17:41 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.