PHP code example of jorgelima / snmp

1. Go to this page and download the library: Download jorgelima/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/ */

    

jorgelima / snmp example snippets


// test-snmp.php
nmp;

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