Don't load any of the MIBs we want to test, we will register the OIDs ourselves.

This commit is contained in:
Kristofer Hallin 2022-05-26 20:27:08 +02:00
parent 4d82b69946
commit a8175e3c63
3 changed files with 3 additions and 3 deletions

View file

@ -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 # 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. # 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 # Alt: let backend be in foreground, but test scripts may
# want to restart backend # want to restart backend

View file

@ -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 # 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. # 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 # Alt: let backend be in foreground, but test scripts may
# want to restart backend # want to restart backend

View file

@ -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 # 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. # 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 # Alt: let backend be in foreground, but test scripts may
# want to restart backend # want to restart backend