/php-src/ext/snmp/tests/ |
H A D | snmpget.phpt | 2 Function snmpget 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)); 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)); 42 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 73 Warning: snmpget(): Invalid object identifier: .1.3.6.1.2.1..1.1.0 in %s on line %d 77 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 | 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 | 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 | 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 | 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.…
|
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 $ext_output = snmpget($hostname, $community, '.1.3.6.1.4.1.2021.8.1.101.1');
|
H A D | snmpset-nomib.phpt | 34 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 40 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 43 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
H A D | snmp2_set-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-src/ext/snmp/ |
H A D | snmp.stub.php | 113 function snmpget(string $hostname, string $community, array|string $object_id, int $timeout = -1, i… function
|
H A D | snmp_arginfo.h | 166 ZEND_FUNCTION(snmpget); 199 ZEND_FE(snmpget, arginfo_snmpget)
|
H A D | snmp.c | 1308 PHP_FUNCTION(snmpget) in PHP_FUNCTION() argument
|