Install the needed MIB for our Docker tests and wait a few seconds for snmpd to start.

This commit is contained in:
Kristofer Hallin 2022-05-30 14:17:55 +02:00 committed by Olof hagsand
parent 9d5a14ef99
commit 53cd1fdf09
2 changed files with 6 additions and 0 deletions

View file

@ -129,6 +129,8 @@ openssl req -x509 -config ./ca.cnf -nodes -newkey rsa:4096 -keyout /etc/ssl/priv
# use Docker logs to see what's happening.
snmpd -Lo -p /var/run/snmpd.pid -I -ifXTable -I -ifTable -I -system_mib -I -sysORTable
sleep 3
# Alt: let backend be in foreground, but test scripts may
# want to restart backend
/bin/sleep 100000000