Skip to content

surrealcristian/simple-snmp-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple SNMP

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.

About

Interfaces and classes that describes a SNMP client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages