Home
last modified time | relevance | path

Searched refs:community (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.0/ext/snmp/
H A Dsnmp.stub.php5 function snmpget(string $hostname, string $community, array|string $object_id, int $timeout = -1, i… argument
7 function snmpgetnext(string $hostname, string $community, array|string $object_id, int $timeout = -… argument
9 function snmpwalk(string $hostname, string $community, array|string $object_id, int $timeout = -1, … argument
11 function snmprealwalk(string $hostname, string $community, array|string $object_id, int $timeout = … argument
14 function snmpwalkoid(string $hostname, string $community, array|string $object_id, int $timeout = -… argument
16 function snmpset(string $hostname, string $community, array|string $object_id, array|string $type, … argument
29 function snmp2_get(string $hostname, string $community, array|string $object_id, int $timeout = -1,… argument
31 function snmp2_getnext(string $hostname, string $community, array|string $object_id, int $timeout =… argument
33 function snmp2_walk(string $hostname, string $community, array|string $object_id, int $timeout = -1… argument
35 function snmp2_real_walk(string $hostname, string $community, array|string $object_id, int $timeout… argument
[all …]
H A Dsnmp_arginfo.h6 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0)
16 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0)
28 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0)
120 ZEND_ARG_TYPE_INFO(0, community, IS_STRING, 0)
/PHP-8.0/ext/snmp/tests/
H A Dsnmpget.phpt19 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));
27 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout…
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));
35 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeo…
39 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries));
41 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries));
[all …]
H A Dsnmp2_get.phpt20 var_dump(snmp2_get($hostname, $community, array(), $timeout, $retries));
27 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
29 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
31 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeo…
35 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2..1.1.1.0', $timeout, $retries));
37 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries));
39 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $tim…
43 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries));
45 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries));
47 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.220'), $tim…
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.…
56 var_dump(count(snmp2_walk($hostname, $community, '.', $timeout, $retries)));
H A Dsnmp2_walk.phpt19 $return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
27 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
32 $return = snmpwalk($hostname, $community, '', $timeout, $retries);
38 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries);
42 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
46 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retri…
48 $return = snmp2_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retri…
52 $return = snmp2_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dsnmpwalk.phpt19 $return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
27 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
32 $return = snmpwalk($hostname, $community, '', $timeout, $retries);
38 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries);
42 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries);
46 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries…
48 $return = snmpwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries…
52 $return = snmpwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
H A Dskipif.inc8 //snmpget ( string $hostname , string $community ,
11 if (@snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
12 die('skip NO SNMPD on this host or community invalid');
H A Dsnmp3-error.phpt20 var_dump(snmp3_get($hostname, $community, '', '', '', '', '', '.1.3.6.1.2.1.1.1.0'));
25 var_dump(snmp3_get($hostname, $community, 'bugusPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0'));
30 … var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'TTT', '', '', '', '.1.3.6.1.2.1.1.1.0'));
35 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', '', '', '', '.1.3.6.1.2.1.1.1.0'));
36 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', 'te', '', '', '.1.3.6.1.2.1.1.1.0'));
39 …var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'BBB', '', '.1.3.6.1.2.1.…
44 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1…
45 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', 'ty', '.1.3.6.1.2.1…
H A Dsnmp2_real_walk.phpt19 $return = snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
26 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
34 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retr…
38 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $…
40 $return = snmp2_real_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $…
44 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retr…
H A Dsnmprealwalk.phpt19 $return = snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
26 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries);
34 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries…
38 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $ret…
40 $return = snmprealwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $ret…
44 $return = snmprealwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries…
H A Dsnmp2_getnext.phpt18 var_dump(snmp2_getnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
20 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
22 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $t…
H A Dsnmpgetnext.phpt18 var_dump(snmpgetnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
20 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
22 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $tim…
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 Dsnmp_include.inc4 By default tests will try to access SNMP agent @ '127.0.0.1:161' and will use 'public' community fo…
5 requests and 'private' community for write requests.
14 $community = getenv('SNMP_COMMUNITY') ?: 'public';
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'));
H A Dsnmp-object-error.phpt23 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, ''));
28 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, ''));
33 var_dump(new SNMP(7, $hostname, $community));
73 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
H A Dsnmp-object.phpt20 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
28 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
34 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
43 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
61 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
70 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
80 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
H A Dsnmp-object-errno-errstr.phpt20 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
35 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
58 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
64 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
H A Dwrong_hostname.phpt17 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
H A Dbug64159.phpt18 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
H A Dgeneric_timeout_error.phpt2 Generic timeout (wrong community)
H A Dbug60749.phpt20 $session = new SNMP(SNMP::VERSION_1, "$hostname:$port", $community, $timeout, $retries);
H A DREADME.md17 SNMP_COMMUNITY : community name
18 SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()).
/PHP-8.0/docs/
H A Dmailinglist-rules.md37 research before posting to the entire developer community.
71 Finally, additional hints on how to behave inside the virtual community can be

Completed in 30 milliseconds

12