2017 © Pedro Peláez
 

library snmp

PHP Class for net-snmp commands

image

dcortez/snmp

PHP Class for net-snmp commands

  • Thursday, April 19, 2018
  • by dcortez
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % 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

For Debian/Ubuntu, (*4)

[root@debian ~]# apt-get install snmp

Installation with Composer

$ composer require dcortez/snmp

Usage

Example php file., (*5)

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

use dcortez\Snmp;

$snmp = new Snmp('127.0.0.1', 'public', '2c', '5'); // <ip>, <community>, <snmp_version>, <timeout>
print_r($snmp->get('.1.3.6.1.2.1.1.1.0'));

Test run php file., (*6)

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

The Versions

19/04 2018

dev-master

9999999-dev

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys
by Jorge Lima
by Dustin Cortez

19/04 2018

1.2.0

1.2.0.0

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys
by Jorge Lima
by Dustin Cortez

17/02 2017

1.1.1

1.1.1.0

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys
by Jorge Lima

17/02 2017

1.1.0

1.1.0.0

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys
by Jorge Lima

10/11 2015

1.0.0

1.0.0.0

PHP Class for net-snmp commands

  Sources   Download

MIT

by Avatar nelisys