/PHP-7.2/ext/snmp/tests/ |
H A D | snmpget.phpt | 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)); 29 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 31 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… 35 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries)); 37 var_dump(snmpget($hostname, $community, array('.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)); [all …]
|
H A D | snmp2_get.phpt | 18 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', '')); 19 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, '')); 21 var_dump(snmp2_get($hostname, $community, array(), $timeout, $retries)); 25 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 27 var_dump(snmp2_get($hostname, $community, array('.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', '.1.3.6.1.2.1.1.3.0'), $timeo… 33 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2..1.1.1.0', $timeout, $retries)); 35 var_dump(snmp2_get($hostname, $community, array('.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', '.1.3.6.1.2.1.1.3.0'), $tim… 41 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); [all …]
|
H A D | snmpwalk.phpt | 18 var_dump(snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', '')); 19 var_dump(snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, '')); 23 $return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 31 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 36 $return = snmpwalk($hostname, $community, '', $timeout, $retries); 42 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries); 46 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 50 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries… 52 $return = snmpwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries… 56 $return = snmpwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmp2_walk.phpt | 18 var_dump(snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', '')); 19 var_dump(snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, '')); 23 $return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 31 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 36 $return = snmpwalk($hostname, $community, '', $timeout, $retries); 42 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries); 46 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 50 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retri… 52 $return = snmp2_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retri… 56 $return = snmp2_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmprealwalk.phpt | 18 var_dump(snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', '')); 19 var_dump(snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, '')); 23 $return = snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 30 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 38 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries… 42 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $ret… 44 $return = snmprealwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $ret… 48 $return = snmprealwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries…
|
H A D | snmp2_real_walk.phpt | 18 var_dump(snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', '')); 19 var_dump(snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, '')); 23 $return = snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 30 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 38 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retr… 42 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $… 44 $return = snmp2_real_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $… 48 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retr…
|
H A D | snmp3-error.phpt | 19 var_dump(snmp3_get($hostname, $community, '', '', '', '', '')); 20 var_dump(snmp3_get($hostname, $community, '', '', '', '', '', '.1.3.6.1.2.1.1.1.0')); 21 var_dump(snmp3_get($hostname, $community, 'bugusPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0')); 22 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'TTT', '', '', '', '.1.3.6.1.2.1.1.1.0')); 23 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', '', '', '', '.1.3.6.1.2.1.1.1.0')); 24 var_dump(snmp3_get($hostname, $community, 'authNoPriv', 'MD5', 'te', '', '', '.1.3.6.1.2.1.1.1.0')); 25 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'BBB', '', '.1.3.6.1.2.1.1… 26 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1… 27 var_dump(snmp3_get($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', 'ty', '.1.3.6.1.2.1… 30 var_dump(snmp3_set($hostname, $community, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '', 's'…
|
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.… 56 var_dump(count(snmp2_walk($hostname, $community, '.', $timeout, $retries)));
|
H A D | skipif.inc | 8 //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 D | snmp2_getnext.phpt | 18 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 D | snmpgetnext.phpt | 18 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 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 | snmp_include.inc | 4 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') ? getenv('SNMP_COMMUNITY') : 'public';
|
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'));
|
H A D | snmp-object.phpt | 20 $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 D | snmp-object-error.phpt | 23 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)); 65 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
|
H A D | snmp-object-errno-errstr.phpt | 20 $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 D | wrong_hostname.phpt | 17 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
|
H A D | bug64159.phpt | 18 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
|
H A D | generic_timeout_error.phpt | 2 Generic timeout (wrong community)
|
H A D | README | 15 SNMP_COMMUNITY : community name 16 SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()).
|
H A D | bug60749.phpt | 20 $session = new SNMP(SNMP::VERSION_1, "$hostname:$port", $community, $timeout, $retries);
|
H A D | reflection.phpt | 30 Parameter #2 [ <required> $community ]
|
/PHP-7.2/ext/snmp/ |
H A D | snmp.c | 134 ZEND_ARG_INFO(0, community) 142 ZEND_ARG_INFO(0, community) 150 ZEND_ARG_INFO(0, community) 158 ZEND_ARG_INFO(0, community) 166 ZEND_ARG_INFO(0, community) 193 ZEND_ARG_INFO(0, community) 201 ZEND_ARG_INFO(0, community) 209 ZEND_ARG_INFO(0, community) 217 ZEND_ARG_INFO(0, community) 225 ZEND_ARG_INFO(0, community) [all …]
|
/PHP-7.2/ |
H A D | README.MAILINGLIST_RULES | 40 research before posting to the entire developer community. 74 Finally, additional hints on how to behave inside the virtual community can be
|