Home
last modified time | relevance | path

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

/php-src/ext/snmp/tests/
H A Dsnmp-object-errno-errstr.phpt22 echo "SNMP::ERRNO_NOERROR\n";
23 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
38 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
55 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
61 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
67 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
73 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
83 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
105 SNMP::ERRNO_NOERROR
109 SNMP::ERRNO_TIMEOUT
[all …]
H A Dsnmp-object-error.phpt21 var_dump(new SNMP(SNMP::VERSION_1, $hostname));
26 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, ''));
31 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, ''));
36 var_dump(new SNMP(7, $hostname, $community));
42 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
49 $session->exceptions_enabled = SNMP::ERRNO_ANY;
59 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
76 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
95 SNMP::__construct(): Argument #1 ($version) must be a valid SNMP protocol version
107 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-src/ext/snmp/
H A Dconfig.m42 [for SNMP support],
4 [Include SNMP support. Use PKG_CONFIG_PATH (or SNMP_CFLAGS and SNMP_LIBS)
6 customize where to look for the net-snmp-config utility of the NET-SNMP
12 [PKG_CHECK_MODULES([SNMP], [netsnmp >= 5.3], [snmp_found=yes], [:])])
28 Net-SNMP version 5.3 or greater required (detected $snmp_version).
51 [AC_MSG_FAILURE([SNMP sanity check failed.])],
57 [Define to 1 if SNMP library has the 'shutdown_snmp_logging' function.])],
68 [Define to 1 if SNMP library has the 'usmHMAC192SHA256AuthProtocol'
78 [Define to 1 if SNMP library has the 'usmHMAC384SHA512AuthProtocol'
H A Dsnmp_arginfo.h188 ZEND_METHOD(SNMP, __construct);
189 ZEND_METHOD(SNMP, close);
190 ZEND_METHOD(SNMP, setSecurity);
191 ZEND_METHOD(SNMP, get);
192 ZEND_METHOD(SNMP, getnext);
193 ZEND_METHOD(SNMP, walk);
194 ZEND_METHOD(SNMP, set);
195 ZEND_METHOD(SNMP, getErrno);
196 ZEND_METHOD(SNMP, getError);
230 ZEND_ME(SNMP, get, arginfo_class_SNMP_get, ZEND_ACC_PUBLIC)
[all …]
H A DCREDITS1 SNMP
H A Dconfig.w323 ARG_WITH("snmp", "SNMP support", "no");
H A Dsnmp.c1526 PHP_METHOD(SNMP, __construct) in PHP_METHOD() argument
1570 PHP_METHOD(SNMP, close) in PHP_METHOD() argument
1588 PHP_METHOD(SNMP, get) in PHP_METHOD() argument
1595 PHP_METHOD(SNMP, getnext) in PHP_METHOD() argument
1602 PHP_METHOD(SNMP, walk) in PHP_METHOD() argument
1609 PHP_METHOD(SNMP, set) in PHP_METHOD() argument
1616 PHP_METHOD(SNMP, setSecurity) in PHP_METHOD() argument
1637 PHP_METHOD(SNMP, getErrno) in PHP_METHOD() argument
1653 PHP_METHOD(SNMP, getError) in PHP_METHOD() argument
H A Dsnmp.stub.php184 class SNMP class

Completed in 21 milliseconds