/PHP-8.3/ext/snmp/tests/ |
H A D | snmpget.phpt | 22 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0')); 24 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout)); 26 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 28 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 30 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout… 34 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries)); 36 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries)); 38 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeo… 42 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 44 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries)); [all …]
|
H A D | snmp2_get.phpt | 23 var_dump(snmp2_get($hostname, $community, array(), $timeout, $retries)); 30 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 32 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 34 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeo… 38 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2..1.1.1.0', $timeout, $retries)); 40 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries)); 42 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $tim… 46 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 48 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries)); 50 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.220'), $tim…
|
H A D | skipif.inc | 6 //snmpget ( string $hostname , string $community , 9 if (@snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false) 10 die('skip NO SNMPD on this host or community invalid');
|
H A D | snmp2_walk.phpt | 22 $return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 30 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 35 $return = snmpwalk($hostname, $community, '', $timeout, $retries); 41 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries); 45 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 49 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retri… 51 $return = snmp2_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retri… 55 $return = snmp2_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmpwalk.phpt | 22 $return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 30 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 35 $return = snmpwalk($hostname, $community, '', $timeout, $retries); 41 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries); 45 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 49 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries… 51 $return = snmpwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries… 55 $return = snmpwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmp_getvalue.phpt | 22 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 26 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 30 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 37 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 44 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.88.1.4.2.1.3.6.95.115.110.109.112.100.95.108.105.… 51 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.88.1.4.2.1.3.6.95.115.110.109.112.100.95.108.105.… 60 var_dump(count(snmp2_walk($hostname, $community, '.', $timeout, $retries)));
|
H A D | snmp3-error.phpt | 23 var_dump(snmp3_get($hostname, $community, '', '', '', '', '', '.1.3.6.1.2.1.1.1.0')); 28 var_dump(snmp3_get($hostname, $community, 'bugusPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0')); 33 … var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'TTT', '', '', '', '.1.3.6.1.2.1.1.1.0')); 38 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', '', '', '', '.1.3.6.1.2.1.1.1.0')); 39 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', 'te', '', '', '.1.3.6.1.2.1.1.1.0')); 42 …var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'BBB', '', '.1.3.6.1.2.1.… 47 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1… 48 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', 'ty', '.1.3.6.1.2.1…
|
H A D | snmp2_real_walk.phpt | 21 $return = snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 28 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 36 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retr… 40 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $… 42 $return = snmp2_real_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $… 46 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retr…
|
H A D | snmprealwalk.phpt | 21 $return = snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 28 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 36 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries… 40 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $ret… 42 $return = snmprealwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $ret… 46 $return = snmprealwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries…
|
H A D | snmp2_getnext.phpt | 20 var_dump(snmp2_getnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 22 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 24 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $t…
|
H A D | snmpgetnext.phpt | 20 var_dump(snmpgetnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 22 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 24 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $tim…
|
H A D | bug64124.phpt | 29 var_dump(snmpget($checkvar, $community, '.1.3.6.1.2.1.1.1.0')); 31 var_dump(snmpget($checkvar, $community, '.1.3.6.1.2.1.1.1.0')); 33 var_dump(snmpget($checkvar, $community, '.1.3.6.1.2.1.1.1.0'));
|
H A D | snmp_include.inc | 4 By default tests will try to access SNMP agent @ '127.0.0.1:161' and will use 'public' community fo… 5 requests and 'private' community for write requests. 14 $community = getenv('SNMP_COMMUNITY') ?: 'public';
|
H A D | ipv6.phpt | 24 var_dump(snmpget($hostname6_port, $community, '.1.3.6.1.2.1.1.1.0')); 25 var_dump(snmpget('[dead:beef::', $community, '.1.3.6.1.2.1.1.1.0'));
|
H A D | snmp-object-error.phpt | 26 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, '')); 31 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, '')); 36 var_dump(new SNMP(7, $hostname, $community)); 76 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
|
H A D | snmp-object.phpt | 22 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries); 30 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 36 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 45 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 54 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 63 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 72 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 82 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
|
H A D | snmp-object-errno-errstr.phpt | 23 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 38 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 55 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 61 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 67 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
|
H A D | wrong_hostname.phpt | 19 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
|
H A D | bug64159.phpt | 21 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
|
H A D | generic_timeout_error.phpt | 2 Generic timeout (wrong community)
|
H A D | bug60749.phpt | 22 $session = new SNMP(SNMP::VERSION_1, "$hostname:$port", $community, $timeout, $retries);
|
H A D | README.md | 17 SNMP_COMMUNITY : community name 18 SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()).
|
H A D | snmp-object-properties-error.phpt | 13 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
|
/PHP-8.3/ext/snmp/ |
H A D | snmp.stub.php | 113 function snmpget(string $hostname, string $community, array|string $object_id, int $timeout = -1, i… argument 115 function snmpgetnext(string $hostname, string $community, array|string $object_id, int $timeout = -… argument 117 function snmpwalk(string $hostname, string $community, array|string $object_id, int $timeout = -1, … argument 119 function snmprealwalk(string $hostname, string $community, array|string $object_id, int $timeout = … argument 122 function snmpwalkoid(string $hostname, string $community, array|string $object_id, int $timeout = -… argument 124 function snmpset(string $hostname, string $community, array|string $object_id, array|string $type, … argument 137 function snmp2_get(string $hostname, string $community, array|string $object_id, int $timeout = -1,… argument 139 function snmp2_getnext(string $hostname, string $community, array|string $object_id, int $timeout =… argument 141 function snmp2_walk(string $hostname, string $community, array|string $object_id, int $timeout = -1… argument 143 function snmp2_real_walk(string $hostname, string $community, array|string $object_id, int $timeout… argument [all …]
|
H A D | snmp_arginfo.h | 6 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0) 16 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0) 28 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0) 120 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0)
|