Home
last modified time | relevance | path

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

/PHP-7.2/ext/snmp/tests/
H A Dreflection.phpt4 <?php if (!extension_loaded('snmp')) die ("skip no snmp extension"); ?>
11 reflection::export(new reflectionmethod('snmp', 'close'));
13 reflection::export(new reflectionmethod('snmp', 'get'));
16 reflection::export(new reflectionmethod('snmp', 'set'));
36 Method [ <internal:snmp> public method close ] {
55 Method [ <internal:snmp> public method get ] {
63 Method [ <internal:snmp> public method getnext ] {
71 Method [ <internal:snmp> public method walk ] {
81 Method [ <internal:snmp> public method set ] {
90 Method [ <internal:snmp> public method getErrno ] {
[all …]
H A DREADME5 - PHP compiled with SNMP (--with-snmp)
21 > make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`"
32 - Replace config file (by default this is /etc/snmp/snmpd.conf on Linux and
33 /usr/local/etc/snmp/snmpd.conf on FreeBSD) with snmpd.conf supplied.
35 Before launching daemon make sure that there is no file /var/net-snmp/snmpd.conf
H A Dskipif.inc2 extension_loaded('snmp') or die('skip snmp extension not available in this build');
H A Dsnmp_include.inc21 $mibdir = getenv('SNMP_MIBDIR') ? getenv('SNMP_MIBDIR') : "/usr/local/share/snmp/mibs";
23 $mibdir = getenv('SNMP_MIBDIR') ? getenv('SNMP_MIBDIR') : "/usr/share/snmp/mibs";
H A Dsnmpd.conf27 exec HexTest /bin/sh /etc/snmp/bigtest.sh
H A Dbug72479.phpt10 $poc = 'a:3:{i:1;N;i:2;O:4:"snmp":1:{s:11:"quick_print";'.serialize($arr).'}i:1;R:7;}';
/PHP-7.2/ext/snmp/
H A Dconfig.w324 ARG_WITH("snmp", "SNMP support", "no");
7 …if (CHECK_HEADER_ADD_INCLUDE("snmp.h", "CFLAGS_SNMP", PHP_PHP_BUILD + "\\include\\net-snmp;" + PHP…
8 SETUP_OPENSSL("snmp", PHP_SNMP) > 0) {
9 if (CHECK_LIB("netsnmp.lib", "snmp", PHP_SNMP)) {
10 EXTENSION('snmp', 'snmp.c');
14 WARNING("snmp not enabled; libraries and headers not found");
17 WARNING("snmp not enabled; libraries and headers not found");
H A Dconfig.m45 PHP_ARG_WITH(snmp,for SNMP support,
6 [ --with-snmp[=DIR] Include SNMP support])
14 AC_PATH_PROG(SNMP_CONFIG,net-snmp-config,,[/usr/local/bin:$PATH])
16 SNMP_CONFIG="$PHP_SNMP/bin/net-snmp-config"
35 AC_MSG_ERROR([Could not find the required paths. Please check your net-snmp installation.])
41 AC_MSG_ERROR([Could not find net-snmp-config binary. Please check your net-snmp installation.])
62 PHP_NEW_EXTENSION(snmp, snmp.c, $ext_shared)
H A Dphp_snmp.h47 PHP_MINIT_FUNCTION(snmp);
48 PHP_MSHUTDOWN_FUNCTION(snmp);
49 PHP_MINFO_FUNCTION(snmp);
125 ZEND_BEGIN_MODULE_GLOBALS(snmp)
127 ZEND_END_MODULE_GLOBALS(snmp)
H A Dsnmp.c419 ZEND_GET_MODULE(snmp)
1797 PHP_METHOD(snmp, close) in PHP_METHOD() argument
1816 PHP_METHOD(snmp, get) in PHP_METHOD() argument
1832 PHP_METHOD(snmp, walk) in PHP_METHOD() argument
1840 PHP_METHOD(snmp, set) in PHP_METHOD() argument
2297 PHP_MINIT_FUNCTION(snmp) in PHP_MINIT_FUNCTION() argument
2397 PHP_MINFO_FUNCTION(snmp) in PHP_MINFO_FUNCTION() argument
2423 PHP_MINIT(snmp),
2424 PHP_MSHUTDOWN(snmp),
2427 PHP_MINFO(snmp),
[all …]
/PHP-7.2/appveyor/
H A Dbuild_task.bat53 set EXT_EXCLUDE_FROM_TEST=snmp,oci8_12c,pdo_oci,pdo_odbc,odbc,pdo_firebird,interbase,ldap,imap,ftp
/PHP-7.2/
H A DEXTENSIONS411 EXTENSION: snmp
H A Dphp.ini-development913 ; See http://www.php.net/manual/en/snmp.installation.php
914 ;extension=snmp
H A Dphp.ini-production915 ; See http://www.php.net/manual/en/snmp.installation.php
916 ;extension=snmp

Completed in 46 milliseconds