More SNMP dependency questions, also assertions.
Gary E. Miller
gem at rellim.com
Sun Apr 30 05:16:57 UTC 2017
Yo Ian!
On Fri, 28 Apr 2017 16:17:29 -0500
Ian Bruene via devel <devel at ntpsec.org> wrote:
> assert: the daemon name should be ntpsnmpd
Sure.
> assert: both ipv4 and ipv6 should be implemented
Yes.
> assert: if both exist, they should be bound at the same time
If yu bind to the IPv6, you get the IPv4 for free. No need to bind both.
> assert: the port(s) should be choosable
Yes, but default to the snmp port in /etc/services.
> assert: security should be optional
I would want default, but that that can't work without a default passwowrd,
which is worse...
> The need for pysnmp is obvious, and has already been discussed. pysmi
> is by the same author, and is an MIB compiler for pysnmp.
To start with, yes. Once you get it running may may chnage your minde.
> python-daemon is an implementation of PEP 3143. According to the PEP
> and other
> info getting a daemon right is finicky, python-daemon exists to
> handle that.
Daemonizing is at most a dozen lines of code. Play with it, but
you will likely decide that it is too trivial to add as a dependency.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170429/6ce3767b/attachment.bin>
More information about the devel
mailing list