From a8175e3c6305613b67a232f4eb3519a69fc3b937 Mon Sep 17 00:00:00 2001 From: Kristofer Hallin Date: Thu, 26 May 2022 20:27:08 +0200 Subject: [PATCH] Don't load any of the MIBs we want to test, we will register the OIDs ourselves. --- docker/main/startsystem.sh | 2 +- docker/main/startsystem_fcgi.sh | 2 +- docker/main/startsystem_native.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/main/startsystem.sh b/docker/main/startsystem.sh index b6c2df96..a7f90b6f 100755 --- a/docker/main/startsystem.sh +++ b/docker/main/startsystem.sh @@ -84,7 +84,7 @@ chmod 775 /usr/local/bin/test/site.sh # Start snmpd, we need this for the SNMP tests and the app clixon_snmp. Log to stdout, then we can # use Docker logs to see what's happening. -snmpd -Lo -p /var/run/snmpd.pid +snmpd -Lo -p /var/run/snmpd.pid -I -ifXTable -I -ifTable -I -system_mib -I -sysORTable # Alt: let backend be in foreground, but test scripts may # want to restart backend diff --git a/docker/main/startsystem_fcgi.sh b/docker/main/startsystem_fcgi.sh index b3339b9e..bf88fa50 100755 --- a/docker/main/startsystem_fcgi.sh +++ b/docker/main/startsystem_fcgi.sh @@ -132,7 +132,7 @@ chmod g+w /www-data/fastcgi_restconf.sock # Start snmpd, we need this for the SNMP tests and the app clixon_snmp. Log to stdout, then we can # use Docker logs to see what's happening. -snmpd -Lo -p /var/run/snmpd.pid +snmpd -Lo -p /var/run/snmpd.pid -I -ifXTable -I -ifTable -I -system_mib -I -sysORTable # Alt: let backend be in foreground, but test scripts may # want to restart backend diff --git a/docker/main/startsystem_native.sh b/docker/main/startsystem_native.sh index 13e476eb..a7b83a92 100755 --- a/docker/main/startsystem_native.sh +++ b/docker/main/startsystem_native.sh @@ -127,7 +127,7 @@ openssl req -x509 -config ./ca.cnf -nodes -newkey rsa:4096 -keyout /etc/ssl/priv # Start snmpd, we need this for the SNMP tests and the app clixon_snmp. Log to stdout, then we can # use Docker logs to see what's happening. -snmpd -Lo -p /var/run/snmpd.pid +snmpd -Lo -p /var/run/snmpd.pid -I -ifXTable -I -ifTable -I -system_mib -I -sysORTable # Alt: let backend be in foreground, but test scripts may # want to restart backend