Home
last modified time | relevance | path

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

123

/PHP-8.2/ext/snmp/
H A Dconfig.w323 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) > 0) {
8 if (CHECK_LIB("netsnmp.lib", "snmp", PHP_SNMP)) {
9 EXTENSION('snmp', 'snmp.c');
12 WARNING("snmp not enabled; libraries and headers not found");
15 WARNING("snmp not enabled; libraries and headers not found");
H A Dconfig.m41 PHP_ARG_WITH([snmp],
3 [AS_HELP_STRING([[--with-snmp[=DIR]]],
9 AC_PATH_PROG(SNMP_CONFIG,net-snmp-config,,[/usr/local/bin:$PATH])
11 SNMP_CONFIG="$PHP_SNMP/bin/net-snmp-config"
30 AC_MSG_ERROR([Could not find the required paths. Please check your net-snmp installation.])
36 AC_MSG_ERROR([Could not find net-snmp-config binary. Please check your net-snmp installation.])
73 PHP_NEW_EXTENSION(snmp, snmp.c, $ext_shared)
H A Dphp_snmp.h43 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-8.2/ext/snmp/tests/
H A DREADME.md1 # 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 Dbug72479.phpt4 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 DCONFLICTS1 snmp
H A Dsnmp_include.inc21 $mibdir = getenv('SNMP_MIBDIR') ?: "/usr/local/share/snmp/mibs";
23 $mibdir = getenv('SNMP_MIBDIR') ?: "/usr/share/snmp/mibs";
H A Dsnmp_get_quick_print.phpt6 snmp
H A Dwrong_hostname.phpt6 snmp
H A Dsnmp_set_enum_print.phpt6 snmp
H A Dsnmpd.conf27 exec HexTest /bin/sh /etc/snmp/bigtest
H A Dbug64159.phpt6 snmp
H A Dgeneric_timeout_error.phpt6 snmp
H A Dipv6.phpt6 snmp
H A Dbug60749.phpt6 snmp
H A Dsnmp_set_oid_output_format.phpt6 snmp
H A Dsnmp2_getnext.phpt6 snmp
H A Dsnmp_read_mib.phpt6 snmp
H A Dsnmpgetnext.phpt6 snmp
H A Dbug64124.phpt6 snmp
H A Dsnmp_get_valueretrieval.phpt6 snmp
/PHP-8.2/.github/actions/setup-x64/
H A Daction.yml22 sudo cp ext/snmp/tests/snmpd.conf /etc/snmp
23 sudo cp ext/snmp/tests/bigtest /etc/snmp
/PHP-8.2/Zend/tests/
H A Darginfo_zpp_mismatch.inc20 || (is_string($function) && str_starts_with($function, 'snmp'))
/PHP-8.2/.github/
H A Dlabeler.yml167 "Extension: snmp":
168 - ext/snmp/**/*
/PHP-8.2/.github/actions/apt-x64/
H A Daction.yml45 snmp-mibs-downloader \

Completed in 23 milliseconds

123