note 127050 added to function.snmp-set-oid-output-format
| From: | niarnrmd at yandex dot ru | Date: | Thu, 12 May 2022 13:47:29 +0000 |
| Subject: | note 127050 added to function.snmp-set-oid-output-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218374@lists.php.net to get a copy of this message | ||
/******************** Loading Mibs **************/
$mib_path='/usr/share/snmp/mibs/ietf/';
if ($handle = opendir($mib_path))
{ echo "Directory handle: $handle <br>";
echo "Files: <br>";
while (false !== ($file = readdir($handle)))
{ if($file!='.')
{ if($file!='..')
{ echo "Read : ";
echo "$mib_path"."$file";
if(snmp_read_mib($mib_path.$file)) echo " Succesful <br>";
else echo " Failed <br>";
}
}
}
}
//load only one dir
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.47 (proxied: 94.25.115.139)
----
Manual Page -- https://php.net/manual/en/function.snmp-set-oid-output-format.php
Edit -- https://main.php.net/note/edit/127050
Del: integrated -- https://main.php.net/note/delete/127050/integrated
Del: useless -- https://main.php.net/note/delete/127050/useless
Del: bad code -- https://main.php.net/note/delete/127050/bad+code
Del: spam -- https://main.php.net/note/delete/127050/spam
Del: non-english -- https://main.php.net/note/delete/127050/non-english
Del: in docs -- https://main.php.net/note/delete/127050/in+docs
Del: other reasons-- https://main.php.net/note/delete/127050
Reject -- https://main.php.net/note/reject/127050
Search -- https://main.php.net/manage/user-notes.php