/PHP-8.1/ext/snmp/tests/ |
H A D | snmpget.phpt | 2 Function snmpget 21 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0')); 23 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout)); 25 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 27 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 33 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries)); 35 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries)); 41 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 72 Warning: snmpget(): Invalid object identifier: .1.3.6.1.2.1..1.1.0 in %s on line %d 76 Warning: snmpget(): Invalid object identifier: .1.3.6.1.2.1...1.1.0 in %s on line %d [all …]
|
H A D | snmpset.phpt | 38 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 41 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 47 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 50 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 55 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 56 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue2)); 59 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 60 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $oldvalue2)); 65 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 66 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue1)); [all …]
|
H A D | snmp2_set.phpt | 38 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 41 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 47 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 51 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 56 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 57 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue2)); 64 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 65 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $oldvalue2)); 70 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 71 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue1)); [all …]
|
H A D | generic_timeout_error.phpt | 19 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 20 var_dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retrie… 24 Warning: snmpget(): No response from %s in %s on line %d 27 Warning: snmpget(): No response from %s in %s on line %d
|
H A D | skipif.inc | 5 // this require snmpget to work ... 6 //snmpget ( string $hostname , string $community , 9 if (@snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
|
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')); 30 Warning: snmpget(): Malformed IPv6 address, closing square bracket missing in %s on line %d
|
H A D | snmp_getvalue.phpt | 20 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 24 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 28 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 35 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 42 $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.… 49 $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.…
|
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 | wrong_hostname.phpt | 19 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 23 Warning: snmpget(): php_network_getaddresses:%s in %s on line %d
|
H A D | bug64159.phpt | 2 Bug #64159: Truncated snmpget 20 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
|
H A D | snmpset-nomib.phpt | 33 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 39 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 42 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
H A D | snmp2_set-nomib.phpt | 32 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 38 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 41 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
/PHP-8.1/ext/snmp/ |
H A D | snmp_arginfo.h | 167 ZEND_FUNCTION(snmpget); 201 ZEND_FE(snmpget, arginfo_snmpget)
|
H A D | snmp.stub.php | 5 function snmpget(string $hostname, string $community, array|string $object_id, int $timeout = -1, i… function
|
H A D | snmp.c | 1310 PHP_FUNCTION(snmpget) in PHP_FUNCTION() argument
|