Closed ryan-sg closed 2 months ago
Thanks Ryan for raising, it
we have removed the wrong reference and we have removed the trap command as it needs to be re-worked to use the snmp client binary , the fix is in commit efd37145daca2646b4ed8c8d1c3eb319000c95df
Thanks again for raising it It is very much appreciated
efd37145daca2646b4ed8c8d1c3eb319000c95df fixes this issue
snmpctl(8) was retired in OpenBSD 6.6 https://www.openbsd.org/66.html
It looks like the only place this was used in
nsh
, was for the ability to send SNMP traps. For fun I tried thisThis seems to work OK
Without, it complains that
/usr/sbin/snmpctl
cannot be found. While this (seems to) work**, it seems almost awkward to leave it this way as its not really actl
program at all. I'm not smart enough to try and shuffle things around to make 'snmp' a non-configure command.** I don't use SNMP traps enough to know how to test it properly, I'm sure 'hi' is not enough.