surrealcristian/simple-snmp

Interfaces and classes that describes a SNMP client.

Installs: 669

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/surrealcristian/simple-snmp

1.0.0 2016-11-09 17:19 UTC

This package is not auto-updated.

Last update: 2025-10-12 05:57:14 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.