Home
last modified time | relevance | path

Searched refs:SNMP (Results 1 – 16 of 16) sorted by relevance

/PHP-8.2/ext/snmp/tests/
H A Dsnmp-object-errno-errstr.phpt21 echo "SNMP::ERRNO_NOERROR\n";
22 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
37 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
54 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
60 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
66 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
72 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
82 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
104 SNMP::ERRNO_NOERROR
108 SNMP::ERRNO_TIMEOUT
[all …]
H A Dsnmp-object-error.phpt20 var_dump(new SNMP(SNMP::VERSION_1, $hostname));
25 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, ''));
30 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, ''));
35 var_dump(new SNMP(7, $hostname, $community));
41 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
48 $session->exceptions_enabled = SNMP::ERRNO_ANY;
58 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
75 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
94 SNMP::__construct(): Argument #1 ($version) must be a valid SNMP protocol version
106 Invalid or uninitialized SNMP object
[all …]
H A Dsnmp-object-properties-error.phpt2 Test SNMP object property errors
13 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
77 Cannot write read-only property SNMP::$info
78 Cannot write read-only property SNMP::$info
79 Cannot assign array to property SNMP::$max_oids of type ?int
80 SNMP::$max_oids must be greater than 0 or null
81 Cannot assign array to property SNMP::$valueretrieval of type int
82 Cannot assign array to property SNMP::$quick_print of type bool
83 Cannot assign array to property SNMP::$enum_print of type bool
84 Cannot assign array to property SNMP::$oid_output_format of type int
[all …]
H A Dsnmp-object.phpt22 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
30 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
36 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
45 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
54 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
63 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
72 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
112 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
120 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
136 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
[all …]
H A Dsnmp-object-properties.phpt2 OO API: SNMP object properties
23 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
83 object(SNMP)#%d (%d) {
108 object(SNMP)#%d (%d) {
133 object(SNMP)#%d (%d) {
162 Deprecated: Creation of dynamic property SNMP::$123 is deprecated in %s on line %d
163 object(SNMP)#%d (%d) {
194 Warning: Undefined property: SNMP::$there is no such parameter in %s on line %d
197 SNMP retrieval method must be a bitmask of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN, and SNMP_VALUE_OBJ…
198 SNMP output print format must be an SNMP_OID_OUTPUT_* constant
[all …]
H A Dbug60749.phpt2 Bug #60749: SNMP module should not strip non-standard SNMP port from hostname
22 $session = new SNMP(SNMP::VERSION_1, "$hostname:$port", $community, $timeout, $retries);
H A Dsnmp-object-setSecurity_error.phpt2 OO API: SNMP::setSecurity (errors)
19 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
66 Warning: SNMP::setSecurity(): Error generating a key for authentication pass phrase '': Generic err…
69 Warning: SNMP::setSecurity(): Error generating a key for authentication pass phrase 'te': Generic e…
74 Warning: SNMP::setSecurity(): Error generating a key for privacy pass phrase '': Generic error (The…
77 Warning: SNMP::setSecurity(): Error generating a key for privacy pass phrase 'ty': Generic error (T…
80 Warning: SNMP::setSecurity(): Bad engine ID value 'dsa' in %s on line %d
H A DREADME.md5 * PHP compiled with SNMP `--with-snmp`
6 * An SNMP server running.
14 SNMP_HOSTNAME : IPv4 of remote SNMP agent
15 SNMP_HOSTNAME : IPv6 or remote SNMP agent
16 SNMP_PORT : SNMP port for queries
30 will fail if your SNMP configuration does not fit into default values specified
H A Dbug72479.phpt2 Bug #72479: Use After Free Vulnerability in SNMP with GC and unserialize()
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…
/PHP-8.2/ext/snmp/
H A Dsnmp_arginfo.h189 ZEND_METHOD(SNMP, __construct);
190 ZEND_METHOD(SNMP, close);
191 ZEND_METHOD(SNMP, setSecurity);
192 ZEND_METHOD(SNMP, get);
193 ZEND_METHOD(SNMP, getnext);
194 ZEND_METHOD(SNMP, walk);
195 ZEND_METHOD(SNMP, set);
196 ZEND_METHOD(SNMP, getErrno);
197 ZEND_METHOD(SNMP, getError);
233 ZEND_ME(SNMP, get, arginfo_class_SNMP_get, ZEND_ACC_PUBLIC)
[all …]
H A Dconfig.m42 [for SNMP support],
4 [Include SNMP support])])
33 AC_MSG_ERROR([Net-SNMP version 5.3 or greater required (detected $snmp_full_version).])
44 AC_MSG_ERROR([SNMP sanity check failed. Please check config.log for more information.])
H A DCREDITS1 SNMP
H A Dconfig.w323 ARG_WITH("snmp", "SNMP support", "no");
H A Dsnmp.c1528 PHP_METHOD(SNMP, __construct) in PHP_METHOD() argument
1572 PHP_METHOD(SNMP, close) in PHP_METHOD() argument
1590 PHP_METHOD(SNMP, get) in PHP_METHOD() argument
1597 PHP_METHOD(SNMP, getnext) in PHP_METHOD() argument
1604 PHP_METHOD(SNMP, walk) in PHP_METHOD() argument
1611 PHP_METHOD(SNMP, set) in PHP_METHOD() argument
1618 PHP_METHOD(SNMP, setSecurity) in PHP_METHOD() argument
1639 PHP_METHOD(SNMP, getErrno) in PHP_METHOD() argument
1655 PHP_METHOD(SNMP, getError) in PHP_METHOD() argument
H A Dsnmp.stub.php184 class SNMP class

Completed in 24 milliseconds