Searched refs:snmp (Results 1 – 25 of 53) sorted by relevance
123
/php-src/ext/snmp/ |
H A D | config.w32 | 3 ARG_WITH("snmp", "SNMP support", "no"); 6 …if (CHECK_HEADER_ADD_INCLUDE("snmp.h", "CFLAGS_SNMP", PHP_PHP_BUILD + "\\include\\net-snmp;" + PHP… 7 SETUP_OPENSSL("snmp", PHP_SNMP) >= 2) { 8 if (CHECK_LIB("netsnmp.lib", "snmp", PHP_SNMP)) { 9 EXTENSION('snmp', 'snmp.c'); 10 ADD_EXTENSION_DEP('snmp', 'spl'); 11 AC_DEFINE('HAVE_SNMP', 1, "Define to 1 if the PHP extension 'snmp' is available."); 13 WARNING("snmp not enabled; libraries and headers not found"); 16 WARNING("snmp not enabled; libraries and headers not found");
|
H A D | config.m4 | 1 PHP_ARG_WITH([snmp], 3 [AS_HELP_STRING([[--with-snmp[=DIR]]], 17 [SNMP_CONFIG="$PHP_SNMP/bin/net-snmp-config"]) 21 Could not find net-snmp-config binary. Please check your net-snmp 50 [Define to 1 if the PHP extension 'snmp' is available.])], 72 #include <net-snmp/net-snmp-config.h> 73 #include <net-snmp/net-snmp-includes.h> 82 #include <net-snmp/net-snmp-config.h> 83 #include <net-snmp/net-snmp-includes.h> 89 PHP_NEW_EXTENSION([snmp], [snmp.c], [$ext_shared]) [all …]
|
H A D | php_snmp.h | 43 PHP_MINIT_FUNCTION(snmp); 44 PHP_MSHUTDOWN_FUNCTION(snmp); 45 PHP_MINFO_FUNCTION(snmp); 85 ZEND_BEGIN_MODULE_GLOBALS(snmp) 87 ZEND_END_MODULE_GLOBALS(snmp)
|
/php-src/ext/snmp/tests/ |
H A D | README.md | 1 # The snmp extension tests 5 * PHP compiled with SNMP `--with-snmp` 26 make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`" 37 * On Ubuntu, install `snmpd` and `snmp-mibs-downloader`. (May be `net-snmpd` 39 * Replace config file (by default this is `/etc/snmp/snmpd.conf` on Linux and 40 `/usr/local/etc/snmp/snmpd.conf` on FreeBSD) with `snmpd.conf` supplied. 43 `/var/net-snmp/snmpd.conf`. Delete it if exists. Forgetting to do so will fail 46 * Place `ext/snmp/tests/bigtest` near `snmpd.conf`, tune path to it in
|
H A D | bug72479.phpt | 4 snmp 12 $poc = 'a:3:{i:1;N;i:2;O:4:"snmp":1:{s:11:"quick_print";'.serialize($arr).'}i:1;R:7;}';
|
H A D | CONFLICTS | 1 snmp
|
H A D | snmp_include.inc | 21 $mibdir = getenv('SNMP_MIBDIR') ?: "/usr/local/share/snmp/mibs"; 23 $mibdir = getenv('SNMP_MIBDIR') ?: "/usr/share/snmp/mibs";
|
H A D | snmp_get_quick_print.phpt | 6 snmp
|
H A D | wrong_hostname.phpt | 6 snmp
|
H A D | snmp_set_enum_print.phpt | 6 snmp
|
H A D | snmpd.conf | 27 exec HexTest /bin/sh /etc/snmp/bigtest
|
H A D | bug64159.phpt | 6 snmp
|
H A D | generic_timeout_error.phpt | 6 snmp
|
H A D | ipv6.phpt | 6 snmp
|
H A D | snmp_set_oid_output_format.phpt | 6 snmp
|
H A D | bug60749.phpt | 6 snmp
|
H A D | snmp2_getnext.phpt | 6 snmp
|
H A D | snmpgetnext.phpt | 6 snmp
|
H A D | snmp_read_mib.phpt | 6 snmp
|
H A D | bug64124.phpt | 6 snmp
|
H A D | snmp_get_valueretrieval.phpt | 6 snmp
|
/php-src/.github/actions/setup-x64/ |
H A D | action.yml | 19 sudo cp ext/snmp/tests/snmpd.conf /etc/snmp 20 sudo cp ext/snmp/tests/bigtest /etc/snmp
|
/php-src/.github/scripts/windows/ |
H A D | test_task.bat | 107 rem prepare for snmp 109 …ript\.exe \/nologo %GITHUB_WORKSPACE:\=\/%\/ext\/snmp\/tests\/bigtest\.js/g" %GITHUB_WORKSPACE%\ex… 110 start %DEPS_DIR%\bin\snmpd.exe -C -c %GITHUB_WORKSPACE%\ext\snmp\tests\snmpd.conf -Ln
|
/php-src/.github/actions/apk/ |
H A D | action.yml | 50 net-snmp-dev \
|
/php-src/Zend/tests/ |
H A D | arginfo_zpp_mismatch.inc | 23 || (is_string($function) && str_starts_with($function, 'snmp'))
|
Completed in 17 milliseconds
123