[smokeping-users] [Ticket #19] smokeping-users Digest, Vol 76, Issue 3

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


This is a notification from the Help Desk.




On Nov 12, 2013 @ 05:31 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: smokeping startup script installation +	remocular
      question (Dago Pacheco)
   2. NTP probe (Aaron Toponce)
   3. Changing pings count (Aaron Toponce)
   4. Re: Changing pings count (Gregory Sloop)
   5. Re: Changing pings count (Aaron Toponce)


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

Message: 1
Date: Fri, 7 Jun 2013 11:33:32 -0400
From: "Dago Pacheco" <dpacheco at unap.cl>
Subject: Re: [smokeping-users] smokeping startup script installation +
	remocular	question
To: "'Russell Dwarshuis'" <rjd at merit.edu>
Cc: smokeping-users at lists.oetiker.ch
Message-ID: <003a01ce6394$5e52d700$1af88500$@unap.cl>
Content-Type: text/plain;	charset="UTF-8"

Russell,

You can try this tutorial [1] where in step 6 it's provide an init script.  This tutorial is for CentOS 6, so you must work it out for Suse (if there is anything different).

Also, you can try my init scripts, which are also for CentOS 6.  [2] for master and [3] for slaves.  For CentOS, they must exist in /etc/init.d/, have proper permission for execution and me enabled by "chkconfig smokeping on" command.


[1] http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/
[2] http://pastebin.com/p6XR2fUz 
[3] http://pastebin.com/wWmbGfEr 

Good luk,
Bye

Dago Pacheco Bravo
Administrador de Infraestructura y Servicios
Unidad de Inform?tica y Comunicaciones 
Universidad Arturo Prat - Sede Iquique


-----Mensaje original-----
De: smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch [mailto:smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch] En nombre de Russell Dwarshuis
Enviado el: viernes, 07 de junio de 2013 10:20
Para: ITheodoridis at bankofgreece.gr
CC: smokeping-users at lists.oetiker.ch
Asunto: Re: [smokeping-users] smokeping startup script installation + remocular question

Look for /etc/init.d/smokeping

The file (or possibly /etc/init.d/smokepingd) may already be on your system.
You may have to change the variable for the path to smokeping or it's config file near the top of the script.

Enable it using `chkconfig --add smokeping`


-Russell Dwarshuis

----- Original Message -----
From: ITheodoridis at bankofgreece.gr
To: smokeping-users at lists.oetiker.ch
Sent: Friday, June 7, 2013 5:20:49 AM
Subject: [smokeping-users] smokeping startup script installation + remocular	question





Hello all, 

I would like to make smokeping start automatically when the server reboots (I intend to do this for master and slaves as well). 

I am using mostly OpenSuSE 12.3 (and some 12.2). Some are 64 bit other at 32. 

On a previous message to the list about something else (mainly), I got the answer that a solution exists somewhere in the archives. 

I will search the whole archive content if necessary but can any of you direct me to something more specific if possible? 

I don?t want to appear lazy but quite a lot of content (over 140 files if I am correct). 

If no one can offer anything specific I will start from the top (2013 and below..) 



One more question. 

I recently read some messages about remocular and the integration with smokeping. Please explain what is the benefit of such an integration? Please forgive me if the answer is obvious to some of you, it?s not to me, that is why I am asking. 





Thanks again and keep up the good work everyone, nice to see such a well-organized and inspired community. 

Special thanks to Tobi and Nico for a great tool. 



--------------------------------------------------------------- 
??????? ?????????? 
????????? ??????????????? 
----------- 
??????? ??? ??????? 
????????? ???????????? 
????? ??????????? ??????? ??? ???????????? 
--------------------------------------------------------------- 


==============================================================================================================
?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???.

?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????.

??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????.


Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG.

The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law.

If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved.
==============================================================================================================



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

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

Message: 2
Date: Wed, 12 Jun 2013 14:36:31 -0600
From: Aaron Toponce <aaron.toponce at gmail.com>
Subject: [smokeping-users] NTP probe
To: smokeping-users at lists.oetiker.ch
Message-ID: <20130612203629.GB8391 at eightyeight.xmission.com>
Content-Type: text/plain; charset="us-ascii"

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.

Thanks,

-- 
. 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/20130612/2e46172f/attachment-0001.pgp 

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

Message: 3
Date: Wed, 12 Jun 2013 17:28:39 -0600
From: Aaron Toponce <aaron.toponce at gmail.com>
Subject: [smokeping-users] Changing pings count
To: smokeping-users at lists.oetiker.ch
Message-ID: <20130612232817.GA19470 at irc.ae7.st>
Content-Type: text/plain; charset="us-ascii"

I'm trying to get a good handle on the ping count for my installation when
using curl(1). I should keep it small, so as to not hit the destination website
too hard, but when adjusting it, smokeping gives an error about the different
number of data sources changing in the RRD, and refuses to show the graphs. It
says to remove the RRD file, and reload smokeping, but that also gives all
sorts of errors.

This guy has the exact same error:

    https://lists.oetiker.ch/pipermail/smokeping-users/2011-June/004338.html

The only way for me to fix this, is to remove the RRD file, reload smokeping,
add a new target, reload smokeping again, then pull up the new target in my
browser, and force a refresh. This seems to force an update on all the RRD
files, and fixes everything, but then I've lost my historical data.

How can I change the "pings = 20" to "pings = 5" in my configs, in a clean way?

Thanks,

-- 
. 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/20130612/1b857661/attachment-0001.pgp 

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

Message: 4
Date: Wed, 12 Jun 2013 17:36:52 -0700
From: Gregory Sloop <gregs at sloop.net>
Subject: Re: [smokeping-users] Changing pings count
To: Aaron Toponce <aaron.toponce at gmail.com>
Cc: smokeping-users at lists.oetiker.ch
Message-ID: <1253137869.20130612173652 at sloop.net>
Content-Type: text/plain; charset=us-ascii


AT> I'm trying to get a good handle on the ping count for my installation when
AT> using curl(1). I should keep it small, so as to not hit the destination website
AT> too hard, but when adjusting it, smokeping gives an error about the different
AT> number of data sources changing in the RRD, and refuses to show the graphs. It
AT> says to remove the RRD file, and reload smokeping, but that also gives all
AT> sorts of errors.

AT> This guy has the exact same error:

AT>    
AT> https://lists.oetiker.ch/pipermail/smokeping-users/2011-June/004338.html

AT> The only way for me to fix this, is to remove the RRD file, reload smokeping,
AT> add a new target, reload smokeping again, then pull up the new target in my
AT> browser, and force a refresh. This seems to force an update on all the RRD
AT> files, and fixes everything, but then I've lost my historical data.

AT> How can I change the "pings = 20" to "pings = 5" in my configs, in a clean way?

AT> Thanks,

There isn't any way, other than restructuring the RRD.

I've heard there are some tools that will help port data from one RRD
to another with different row setups - but doing so is a fairly
complicated process.

IMO, the value of keeping the old RRD's around is usually not enough
to justify reworking the data. But everyone's needs and wants are
different - so suit yourself.

But you either have to modify the RRD's and port the data, or delete
the old RRD's and let SP create new RRD's with the new row paramaters.

[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.]

-Greg



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

Message: 5
Date: Wed, 12 Jun 2013 20:24:36 -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: <20130613022435.GB19470 at irc.ae7.st>
Content-Type: text/plain; charset="us-ascii"

On Wed, Jun 12, 2013 at 05:36:52PM -0700, Gregory Sloop wrote:
> There isn't any way, other than restructuring the RRD.
> 
> I've heard there are some tools that will help port data from one RRD
> to another with different row setups - but doing so is a fairly
> complicated process.

Bummer. I guess I'll need to learn the hacking process on the data, so I can
manipulate "pings=", and still keep the historical data. Because I can dump it
to XML via rrdtool(1), I'll see what I can put together.

> [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.]

Currently, I'm using: "curl -4 --head http://%host%/" on 35 sites, sendings 20
pings every 300 seconds. Interestingly enough, since midnight, I have ~9300
unique rquests in my /var/log/apache2/access.log file from curl(1). 20 hours,
9300 pings, thats 7.75 pings per minute, which seems higher than the 4 per
minute it should be.

At any event, I am also monitoring 5 Tor .onion sites to watch Tor latencies
with "curl -4 --head --socks5-host localhost:9050". Because the latencies are
so horrible, it seems that doing 20 pings every 300 seconds is causing the
other curl(1) PIDs to block until they finish. I say this, because I have gaps
in all of my graphs using the Smokeping::probes::Curl probe. I'm guessing these
gaps are a result of hitting the Tor sites so hard. I should probably back off
to 10 per 300 seconds, and see where that takes me, but then I lose all my Tor
historical data (unless I can hack the RRD files).

Thoughts?

-- 
. 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/20130612/b4da75ab/attachment.pgp 

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

_______________________________________________
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 3
**********************************************

------
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/19


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


More information about the smokeping-users mailing list