
{"id":7829,"date":"2012-10-25T20:32:42","date_gmt":"2012-10-25T20:32:42","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7829"},"modified":"2012-10-25T20:32:42","modified_gmt":"2012-10-25T20:32:42","slug":"snmpd-and-php-script","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/10\/25\/snmpd-and-php-script\/","title":{"rendered":"snmpd and php script"},"content":{"rendered":"<h4><u>GET THE HANG [ SNMPD AND PHP ]<\/u><\/h4>\n<pre>\n$ 4.2.36 28 528---&gt; php snmp.php\nPHP Warning:  PHP Startup: Unable to load dynamic library '\/usr\/lib\/php5\/20100525\/suhosin.so' - \/usr\/lib\/php5\/20100525\/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0\nSTRING: \"Linux debian 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64\"\nOID: iso.3.6.1.4.1.8072.3.2.10\nTimeticks: (2932) 0:00:29.32\nSTRING: \"Me \"\nSTRING: \"debian\"\nSTRING: \"Sitting on the Dock of the Bay\"\nINTEGER: 72\nTimeticks: (10) 0:00:00.10\nOID: iso.3.6.1.6.3.10.3.1.1\nOID: iso.3.6.1.6.3.11.3.1.1\nOID: iso.3.6.1.6.3.15.2.1.1\nOID: iso.3.6.1.6.3.1\nOID: iso.3.6.1.2.1.49\nOID: iso.3.6.1.2.1.4\nOID: iso.3.6.1.2.1.50\nOID: iso.3.6.1.6.3.16.2.2.1\nSTRING: \"The SNMP Management Architecture MIB.\"\nSTRING: \"The MIB for Message Processing and Dispatching.\"\nSTRING: \"The management information definitions for the SNMP User-based Security Model.\"\nSTRING: \"The MIB module for SNMPv2 entities\"\nSTRING: \"The MIB module for managing TCP implementations\"\nSTRING: \"The MIB module for managing IP and ICMP implementations\"\nSTRING: \"The MIB module for managing UDP implementations\"\nSTRING: \"View-based Access Control Model for SNMP.\"\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (10) 0:00:00.10\nTimeticks: (2758738) 7:39:47.38\nHex-STRING: 07 DC 0A 1A 02 06 23 00 2B 05 1E\nINTEGER: 1536\nSTRING: \"BOOT_IMAGE=\/boot\/vmlinuz-3.2.0-3-amd64 root=UUID=26cca090-8a72-4443-859f-7a67b7188357 ro printk.time=1 initcall_debug quiet\n\"\nGauge32: 2\nGauge32: 145\nINTEGER: 0\n$ 4.2.36 29 529---&gt;\n\n<\/pre>\n<p><\/p>\n<h4><u>CODE RELATED<\/u><\/h4>\n<pre>\n\n$a = snmp2_walk(\"127.0.0.1\", \"public\", \"\");\n\nforeach ($a as $val) {\n    echo \"$valn\";\n}\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>GET THE HANG [ SNMPD AND PHP ] $ 4.2.36 28 528&#8212;&gt; php snmp.php PHP Warning: PHP Startup: Unable to load dynamic library &#8216;\/usr\/lib\/php5\/20100525\/suhosin.so&#8217; &#8211; \/usr\/lib\/php5\/20100525\/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0 STRING: &#8220;Linux debian 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64&#8221; OID: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/10\/25\/snmpd-and-php-script\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;snmpd and php script&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7829"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7829"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7829\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}