summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure/apt.yml3
-rw-r--r--azure/configure.yml1
-rw-r--r--azure/setup.yml6
3 files changed, 10 insertions, 0 deletions
diff --git a/azure/apt.yml b/azure/apt.yml
index e8da9b001d..703e5753d3 100644
--- a/azure/apt.yml
+++ b/azure/apt.yml
@@ -35,8 +35,11 @@ steps:
libsodium-dev \
libargon2-0-dev \
libmm-dev \
+ libsnmp-dev \
postgresql \
postgresql-contrib \
+ snmpd \
+ snmp-mibs-downloader \
llvm \
${{ parameters.packages }}
displayName: 'APT'
diff --git a/azure/configure.yml b/azure/configure.yml
index e9e49bf98a..fd0191528b 100644
--- a/azure/configure.yml
+++ b/azure/configure.yml
@@ -56,6 +56,7 @@ steps:
--with-mhash \
--with-sodium \
--enable-dba \
+ --with-snmp \
--enable-werror \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d
diff --git a/azure/setup.yml b/azure/setup.yml
index 523bb3b401..825ca4d5f6 100644
--- a/azure/setup.yml
+++ b/azure/setup.yml
@@ -10,4 +10,10 @@ steps:
displayName: 'Setup'
- script: ./azure/setup-slapd.sh
displayName: 'Configure slapd'
+ - script: |
+ set -e
+ sudo cp ext/snmp/tests/snmpd.conf /etc/snmp
+ sudo cp ext/snmp/tests/bigtest /etc/snmp
+ sudo service snmpd restart
+ displayName: 'Configure snmpd'