/PHP-8.0/ext/snmp/tests/ |
H A D | snmpget.phpt | 2 Function snmpget 19 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0')); 21 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout)); 23 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 25 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 31 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries)); 33 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries)); 39 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 70 Warning: snmpget(): Invalid object identifier: .1.3.6.1.2.1..1.1.0 in %s on line %d 74 Warning: snmpget(): Invalid object identifier: .1.3.6.1.2.1...1.1.0 in %s on line %d [all …]
|
H A D | snmp2_set.phpt | 36 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 39 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 45 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 49 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 54 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 55 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue2)); 62 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 63 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $oldvalue2)); 68 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 69 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue1)); [all …]
|
H A D | snmpset.phpt | 36 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 39 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 45 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 48 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 53 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 54 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue2)); 57 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 58 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $oldvalue2)); 63 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 64 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $newvalue1)); [all …]
|
H A D | generic_timeout_error.phpt | 17 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 18 var_dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retrie… 22 Warning: snmpget(): No response from %s in %s on line %d 25 Warning: snmpget(): No response from %s in %s on line %d
|
H A D | skipif.inc | 7 // this require snmpget to work ... 8 //snmpget ( string $hostname , string $community , 11 if (@snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
|
H A D | ipv6.phpt | 22 var_dump(snmpget($hostname6_port, $community, '.1.3.6.1.2.1.1.1.0')); 23 var_dump(snmpget('[dead:beef::', $community, '.1.3.6.1.2.1.1.1.0')); 28 Warning: snmpget(): Malformed IPv6 address, closing square bracket missing in %s on line %d
|
H A D | snmp_getvalue.phpt | 18 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 22 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 26 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 33 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 40 $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.… 47 $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 | 27 var_dump(snmpget($checkvar, $community, '.1.3.6.1.2.1.1.1.0')); 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'));
|
H A D | wrong_hostname.phpt | 17 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 21 Warning: snmpget(): php_network_getaddresses:%s in %s on line %d
|
H A D | bug64159.phpt | 2 Bug #64159: Truncated snmpget 18 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
|
H A D | snmp2_set-nomib.phpt | 30 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 36 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 39 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
H A D | snmpset-nomib.phpt | 31 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 37 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 40 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
/PHP-8.0/ext/snmp/ |
H A D | snmp_arginfo.h | 165 ZEND_FUNCTION(snmpget); 199 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 | 1291 PHP_FUNCTION(snmpget) in PHP_FUNCTION() argument
|