2017 © Pedro Peláez
 

library snmp

PHP Class for net-snmp commands

image

nelisys/snmp

PHP Class for net-snmp commands

  • Tuesday, November 10, 2015
  • by nelisys
  • Repository
  • 1 Watchers
  • 7 Stars
  • 319 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

snmp

PHP Class for net-snmp commands, (*1)

Requirements

Requires: net-snmp-utils, (*2)

For RedHat/CentOS 6, 7, (*3)

[root@centos ~]# yum install net-snmp-utils

Installation with Composer

$ composer require nelisys/snmp

Usage

Example php file., (*4)

// test-snmp.php
require 'vendor/autoload.php';

use Nelisys\Snmp;

$snmp = new Snmp('127.0.0.1', 'public');
print_r($snmp->get('.1.3.6.1.2.1.1.1.0'));

Test run php file., (*5)

$ php test-snmp.php
Array
(
    [.1.3.6.1.2.1.1.1.0] => Linux test.example.com
)

The Versions

10/11 2015

dev-master

9999999-dev

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys

10/11 2015

1.0.0

1.0.0.0

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys