Home
last modified time | relevance | path

Searched refs:snmpget (Results 1 – 14 of 14) sorted by relevance

/PHP-7.0/ext/snmp/tests/
H A Dsnmpget.phpt2 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 integer,%s given in %s on line %d
57 Warning: snmpget() expects parameter 5 to be integer,%s given in %s on line %d
[all …]
H A Dsnmp2_set.phpt36 $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 Dsnmpset.phpt36 $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 Dgeneric_timeout_error.phpt17 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 Dskipif.inc7 // 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 Dipv6.phpt22 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 Dsnmp_getvalue.phpt18 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 Dbug64124.phpt27 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 Dwrong_hostname.phpt17 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 Dbug64159.phpt2 Bug #64159: Truncated snmpget
18 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
H A Dsnmp2_set-nomib.phpt32 $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 Dsnmpset-nomib.phpt33 $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.0/ext/snmp/
H A Dphp_snmp.h51 PHP_FUNCTION(snmpget);
H A Dsnmp.c382 PHP_FE(snmpget, arginfo_snmpget)
1550 PHP_FUNCTION(snmpget) in PHP_FUNCTION() argument

Completed in 34 milliseconds