[smokeping-users] [Ticket #20] smokeping-users Digest, Vol 76, Issue 4

IT Department anghelflorin at globtel.ro
Tue Nov 12 18:32:01 CET 2013


This is a notification from the Help Desk.




On Nov 12, 2013 @ 05:32 pm, smokeping-users-request at lists.oetiker.ch wrote:
Send smokeping-users mailing list submissions to
	smokeping-users at lists.oetiker.ch

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
or, via email, send a message with subject or body 'help' to
	smokeping-users-request at lists.oetiker.ch

You can reach the person managing the list at
	smokeping-users-owner at lists.oetiker.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of smokeping-users digest..."


Today's Topics:

   1. Re: NTP probe (Clinton Work)
   2. Re: NTP probe (Paul Mansfield)
   3. Re: Changing pings count (Aaron Toponce)
   4. Re: NTP probe (Philip Kizer)


----------------------------------------------------------------------

Message: 1
Date: Wed, 12 Jun 2013 22:03:11 -0600
From: Clinton Work <clinton at scripty.com>
Subject: Re: [smokeping-users] NTP probe
To: smokeping-users at lists.oetiker.ch
Message-ID: <51B9447F.4060909 at scripty.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


I have been thinking about writing an NTP probe.   I started by looking 
at the ntpdate utility, but it doesn't provide options for the query 
count and timeout.   I then looked at the perl Net::NTP perl module, but 
its not suitable for direct use as a smokeping probe.  The Net::NTP 
module doesn't support a configuration timeout or error handling 
routines.    If you just wanted to write an NTP probe to measure NTP 
response time and query success, it wouldn't be too difficult.   
Implementing NTP authentication and NTP server response 
parsing/integrity checking would be more difficult.

Clinton.

On 2013-06-12 02:36 PM, Aaron Toponce wrote:
> Has there been any thought about putting an NTP probe together for
> smokeping, or has any work already been done in this area? Just curious.
>
>



------------------------------

Message: 2
Date: Thu, 13 Jun 2013 10:45:46 +0100
From: Paul Mansfield <paul.mansfield+smokeping at grapeshot.co.uk>
Subject: Re: [smokeping-users] NTP probe
To: smokeping-users at lists.oetiker.ch
Message-ID:
	<CAHYeK0c7XmoN3vMaEU62T+GmfD5+-dG0so5taEMLFtb9D+1-3w at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 13 June 2013 05:03, Clinton Work <clinton at scripty.com> wrote:
>
> I have been thinking about writing an NTP probe.   I started by looking
> at the ntpdate utility, but it doesn't provide options for the query

ntpq -c lpeers might reveal useful information about how "far away" a peer is?

e.g.

# ntpq -nc lpeers
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*85.234.197.5    193.190.230.65   2 u  515 1024  377   41.287   -0.419   0.663
 4.53.160.74     .STEP.          16 u 136d 1024    0    0.000    0.000   0.000
+85.234.197.4    193.190.230.66   2 u  639 1024  377   42.739   -0.381   0.888
 212.68.213.7    .STEP.          16 u 150d 1024    0    0.000    0.000   0.000



------------------------------

Message: 3
Date: Thu, 13 Jun 2013 07:17:27 -0600
From: Aaron Toponce <aaron.toponce at gmail.com>
Subject: Re: [smokeping-users] Changing pings count
To: smokeping-users at lists.oetiker.ch
Message-ID: <20130613131726.GC19470 at irc.ae7.st>
Content-Type: text/plain; charset="us-ascii"

On Wed, Jun 12, 2013 at 05:36:52PM -0700, Gregory Sloop wrote:
> [On a side note - how much data does 20 pings produce, vs 5? IMO, the
> additional load is rather small, and might not be worth messing with -
> which would solve your historical data problem too.]

So, to illustrate why I'm changing my ping times, if you navigate to
http://zen.ae7.st/smokeping/?target=TOR, you can see gaps in the praph. This is
after taking it down to 10 pings every 300 seconds. Also, it seems curl(1)
blocks, and prevents the other curl(1) probes from executing as seen in
http://zen.ae7.st/smokeping/?target=Internet. There are no gaps in the graphs
for the other probes (FPing, SSH and DNS).

So, I guess take it down to 5 pings per 300 seconds? Ideas?

-- 
. o .   o . o   . . o   o . .   . o .
. . o   . o o   o . o   . o o   . . o
o o o   . o .   . o o   o o .   o o o
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 519 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130613/aaf5fd48/attachment-0001.pgp 

------------------------------

Message: 4
Date: Thu, 13 Jun 2013 09:37:57 -0500
From: Philip Kizer <pckizer at nostrum.com>
Subject: Re: [smokeping-users] NTP probe
To: smokeping-users at lists.oetiker.ch
Message-ID: <3C354AF7-82F2-42EA-8F39-C0FD2EF75CE1 at nostrum.com>
Content-Type: text/plain; charset="us-ascii"

> On 13 June 2013 05:03, Clinton Work <clinton at scripty.com> wrote:
>> 
>> I have been thinking about writing an NTP probe.   I started by looking
>> at the ntpdate utility, but it doesn't provide options for the query

> On 2013, Jun 13, at 04:45, Paul Mansfield <paul.mansfield+smokeping at grapeshot.co.uk> wrote:
> ntpq -c lpeers might reveal useful information about how "far away" a peer is?

Since I use multiple tools for different purposes mine aren't done directly in smokeping, though I do use ping for some things.   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):



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.

The one I had grabbed back when I added NTP graphing uses:

	/usr/bin/ntpq -c \"host $host\" -c ass -c rv

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:

	http://docs.cacti.net/usertemplate:graph:ntp
	http://forums.cacti.net/about32521.html

for potential conversion to smokeping if that's your preferred tool.


-p

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130613/4cbba300/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample-cacti-ntp.png
Type: image/png
Size: 32263 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130613/4cbba300/attachment.png 

------------------------------

_______________________________________________
smokeping-users mailing list
smokeping-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


End of smokeping-users Digest, Vol 76, Issue 4
**********************************************

------
This is an automated response.  Your issue has been noted.  We'll be in touch soon.



Please reply to this email or visit the URL below with any additional details.

http://florin-pc/portal/view-help-request/20


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131112/6f7d7bd7/attachment-0001.htm 


More information about the smokeping-users mailing list