PHP code example of nelisys / snmp
1. Go to this page and download the library: Download nelisys/snmp library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nelisys / snmp example snippets
// test-snmp.php
p;
$snmp = new Snmp('127.0.0.1', 'public');
print_r($snmp->get('.1.3.6.1.2.1.1.1.0'));