From 7ecfd69398dcabf2d4e41f232699eeaedf97d711 Mon Sep 17 00:00:00 2001 From: Kristofer Hallin Date: Sat, 9 Jul 2022 21:32:26 +0200 Subject: [PATCH] Include the full snmpd command line in the tests readme. --- test/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/README.md b/test/README.md index 30b8843c..2a5a5617 100644 --- a/test/README.md +++ b/test/README.md @@ -155,7 +155,9 @@ There are also client-cert tests, eg `test_ssl_certs.sh` Clixon snmp frontend tests require a running netsnmpd and converted YANG files from MIB. Netsnmpd is 5.9 or later and can be started via systemd. For the tests -to run, the systems IFMIB should be disabled: `-I -ifTable,ifNumber,ifXTable`, etc. +to run, the systems IFMIB should be disabled: `-I -ifTable,ifNumber,ifXTable,`, etc. + +One way to start snmpd on Ubuntu, known to be working for the tests are: snmpd -Lo -p /var/run/snmpd.pid -I -ifXTable -I -ifTable -I -system_mib -I -sysORTable -I -snmpNotifyFilterTable -I -snmpNotifyTable -I -snmpNotifyFilterProfileTable Converted YANG files are available at `https://github.com/clicon/mib-yangs` or alternatively use `smidump` version 0.5 or later. Clixon expects them to be at `/usr/local/share/mib-yangs/` by default, or configured by `--with-mib-generated-yang-dir=DIR`.