<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">On 13 June 2013 05:03, Clinton Work &lt;<a href="mailto:clinton@scripty.com">clinton@scripty.com</a>&gt; wrote:<br><blockquote type="cite"><br>I have been thinking about writing an NTP probe. &nbsp;&nbsp;I started by looking<br>at the ntpdate utility, but it doesn't provide options for the query<br></blockquote></blockquote><br><blockquote type="cite">On 2013, Jun 13, at 04:45, Paul Mansfield &lt;<a href="mailto:paul.mansfield+smokeping@grapeshot.co.uk">paul.mansfield+smokeping@grapeshot.co.uk</a>&gt; wrote:</blockquote><blockquote type="cite">ntpq -c lpeers might reveal useful information about how "far away" a peer is?<br></blockquote></div><br><div>Since I use multiple tools for different purposes mine aren't done directly in smokeping, though I do use ping for some things. &nbsp; It is pretty easy to add an NTP monitor to those other tools: nagios has the built-in check, and it's trivial to add a graph to cacti (here's a host that this discussion made me realize had an issue that needed correcting the other day):</div><div><br></div><div><img id="faca5e96-ad18-485a-b1ba-3d369798f6e9" height="224" width="581" apple-width="yes" apple-height="yes" src="cid:B0200A1D-07B7-461A-9D9B-B891F6003089@nostrum.com"></div><div><br></div><div>If you really want to add something to smoking, there are various examples from those other monitoring systems you might be able to convert over.</div><div><br></div><div>The one I had grabbed back when I added NTP graphing uses:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/bin/ntpq -c \"host $host\" -c ass -c rv</div><div><br></div><div>but I did not save a reference to where I got it from, but perhaps you want to look at the these others that are similar:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://docs.cacti.net/usertemplate:graph:ntp">http://docs.cacti.net/usertemplate:graph:ntp</a></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://forums.cacti.net/about32521.html">http://forums.cacti.net/about32521.html</a></div><div><br></div><div>for potential conversion to smokeping if that's your preferred tool.</div><div><br></div><div><br></div><div>-p</div><div><br></div></body></html>