/PHP-7.3/ext/snmp/tests/ |
H A D | snmpget.phpt | 2 Function snmpget 18 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', '')); 19 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')); 25 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout)); 27 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 35 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries)); 43 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 54 Warning: snmpget() expects parameter 4 to be int,%s given in %s on line %d 57 Warning: snmpget() expects parameter 5 to be int,%s given 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)); 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 | 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 | 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));
|
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));
|
/PHP-7.3/ext/snmp/ |
H A D | php_snmp.h | 49 PHP_FUNCTION(snmpget);
|
H A D | snmp.c | 370 PHP_FE(snmpget, arginfo_snmpget) 1509 PHP_FUNCTION(snmpget) in PHP_FUNCTION() argument
|