1.0.1 and ntpsnmpd

Jason Azze jason at azze.org
Fri Mar 16 11:47:25 UTC 2018


On Thu, Mar 15, 2018 at 7:09 PM, Sanjeev Gupta <ghane0 at gmail.com> wrote:

> Jason, yes, that is the result of the bounty offer.
>
> I have not had a chance to play with it, but the offer included a
> requirement to upstream into cacti and provide a working example.
>

For reasons I can't explain yet, my Cacti server started collecting data
presented by ntpsnmpd at about 2030 UTC last night. I may have restarted a
service while flailing around before leaving the office.

To expand on Ian's answer to my question "How do I know I've got ntpsnmpd
working?", you should be able to get back data from snmp walking like this
(assuming you're using public as your community string because, like me,
you were too lazy to change it.):

:~ $ snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.197.1.3.1.1.1
iso.3.6.1.2.1.197.1.3.1.1.1.1 = Gauge32: 13212
iso.3.6.1.2.1.197.1.3.1.1.1.2 = Gauge32: 13214
iso.3.6.1.2.1.197.1.3.1.1.1.3 = Gauge32: 13216
iso.3.6.1.2.1.197.1.3.1.1.1.4 = Gauge32: 13217
iso.3.6.1.2.1.197.1.3.1.1.1.5 = Gauge32: 13218
iso.3.6.1.2.1.197.1.3.1.1.1.6 = Gauge32: 13219
iso.3.6.1.2.1.197.1.3.1.1.1.7 = Gauge32: 13220
iso.3.6.1.2.1.197.1.3.1.1.1.8 = Gauge32: 13221
iso.3.6.1.2.1.197.1.3.1.1.1.9 = Gauge32: 13222
iso.3.6.1.2.1.197.1.3.1.1.1.10 = Gauge32: 13223
:~ $ snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.197.1.3.1.1.2
iso.3.6.1.2.1.197.1.3.1.1.2.1 = STRING: "0.0.0.0"
iso.3.6.1.2.1.197.1.3.1.1.2.2 = STRING: "208.88.126.235"
iso.3.6.1.2.1.197.1.3.1.1.2.3 = STRING: "129.250.35.251"
iso.3.6.1.2.1.197.1.3.1.1.2.4 = STRING: "209.242.224.97"
iso.3.6.1.2.1.197.1.3.1.1.2.5 = STRING: "162.210.111.4"
iso.3.6.1.2.1.197.1.3.1.1.2.6 = STRING: "38.229.71.1"
iso.3.6.1.2.1.197.1.3.1.1.2.7 = STRING: "174.138.107.37"
iso.3.6.1.2.1.197.1.3.1.1.2.8 = STRING: "69.164.213.136"
iso.3.6.1.2.1.197.1.3.1.1.2.9 = STRING: "35.171.237.77"
iso.3.6.1.2.1.197.1.3.1.1.2.10 = STRING: "65.19.142.137"

etc.

Or, for the whole deal, just do snmpwalk -v 2c -c public localhost
.1.3.6.1.2.1.197.1.3.1.1

I've got graphs!
https://imgur.com/a/uXMdK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180316/30ad8f87/attachment.html>


More information about the devel mailing list