Include the full snmpd command line in the tests readme.
This commit is contained in:
parent
e587cdcc35
commit
7ecfd69398
1 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
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
|
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`.
|
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`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue