From paul.mansfield+smokeping at grapeshot.co.uk Mon Jun 3 13:59:55 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Mon, 3 Jun 2013 12:59:55 +0100 Subject: [smokeping-users] partially solved problem with tcpping probe on centos6 Message-ID: Hello, I am trying to use the tcpping probe with smokeping installed on centos6. The first thing I had to fix was to put an explicit path in the tcpping script to use /usr/bin/tcptraceroute, because centos stupidly has a softlink at /bin/tcptraceroute to the standard system traceroute binary! I install smokeping into /usr/local/smokeping; the tcpping script is in the bin directory. If I run the master in debug mode, I see it is calling the plugin like this: TCPPing: forks 5, timeout for each target 26 TCPPing: Executing /usr/local/smokeping/bin/tcpping -C -x 5 somehost 4949 TCPPing: Received: GLOB(0x24d0850) TCPPing: somehost: got Calling RRDs::update(/usr/local/smokeping/data/TCPPing/somehost.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1370260050:U:5:U:U:U:U:U:U) However, if I execute the plugin at the command line, it works happily # /usr/local/smokeping/bin/tcpping -C -x 5 somehost 4949 somehost : 0.391 0.269 0.301 0.281 0.315 I am running smokeping as the user/group smokeping; if I "su - smokeping -s /bin/bash" and then try, tcptraceroute would complain "Got root?" The solution is to "chmod u+s /usr/bin/tcptraceroute". I still see "TCPPing: Received: GLOB(0x24f12f8)", so I was wondering if someone can suggest a way of fixing that? I hope this helps someone as I spent quite a time tracking these two problems down. Paul From fligor at illinois.edu Mon Jun 3 20:00:24 2013 From: fligor at illinois.edu (Fligor, Debbie) Date: Mon, 3 Jun 2013 13:00:24 -0500 Subject: [smokeping-users] error when slave connects to the master In-Reply-To: References: <9B9F18D2-D6F6-47BF-A7B1-69BCCC5E9207@illinois.edu> Message-ID: <505684DF-F117-42E5-92AF-8B541410F513@illinois.edu> We finally solved this problem, it was all in fast cgi. Either a default value changed, or we had just been lucky. Here are the details in case anyone else happens to hit this problem. This site: http://foaa.de/old-blog/2010/11/php-apache-and-fastcgi-a-comprehensive-overview/trackback/index.html was a big help we needed to use -idle-timeout parameter on "FastCgiExternalServer" ours is now set to 300, and it seems to be working. if the idle timeout is too short, it cuts out the end of the headers, and you hit this from the FastCGI FAQ ( http://www.fastcgi.com/docs/faq.html#incomplete_headers ): FastCGI: incomplete headers (d bytes) received from server "s" The FastCGI application, s, didn't terminate the headers properly. A total of d bytes were recieved. Headers are terminated by an empty line, e.g. printf("Content-type: text/html\r\nStatus: 200 OK\r\n\r\n"); See the CGI specification for more information. -debbie On Sep 17, 2012, at 17:01, G.W. Haywood wrote: > Hi there, > > On Mon, 17 Sep 2012, Debbie Fligor wrote: > >> A few weeks ago our sysadmins patched our RHEL6 box that our >> smokeping master runs on.. Since then none of the slaves have been >> able to report. > > I hate it when that happens. :( > >> I get this error in our logs: >> [Mon Sep 17 12:54:31 2012] [error] [client xxx.xxx.xxx.xxx] FastCGI: comm with (dynamic) server "/services/netmetrics/public_html/http/smokeping/smokeping.cgi" aborted: (first read) idle timeout (30 sec) >> [Mon Sep 17 12:54:31 2012] [error] [client xxx.xxx.xxx.xxx] FastCGI: incomplete headers (0 bytes) received from server "/services/netmetrics/public_html/http/smokeping/smokeping.cgi" >> >> but when I run this on the command line, or web to it with a browser, it works fine with no errors: >> >> /services/netmetrics/public_html/http/smokeping/smokeping.cgi > > Sounds like the master can connect to itself but the slaves are having > problems. I'd sniff the network traffic with tcpdump to a file for a > while, and then run Wireshark on the file. Something like > > tcpdump -i eth0 -s 0 -Uw - 'tcp port 80' > /home/debbie/tcpdump.out.`date +"%Y%m%d%H%M%S"` & > > I'd run tcpdump on both the master and a slave. I'd hope that you > have your system clocks all in sync to within a fraction of a second > using ntpd so that you can compare the logs. :) > >> ... here's the packages that they upgraded in case anyone knows of >> anything in one of those: ... > > My guess is that something else has been changed too. > > -- > > 73, > Ged. -- -debbie Debbie Fligor, n9dn Lead Network Engineer, CITES, Univ. of Il email: fligor at illinois.edu "Every keystroke can be monitored. And the computers never forget." From paul.mansfield+smokeping at grapeshot.co.uk Tue Jun 4 11:47:10 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Tue, 4 Jun 2013 10:47:10 +0100 Subject: [smokeping-users] units for rtt_max Message-ID: please can someone update the page http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html and specify what the units are for rtt_max, and whether it needs to be an integer or fixed value? it's possible to work it out through trial and error, but having it stated specifically would be more useful. thanks -- Paul Mansfield From Vinny_Abello at Dell.com Tue Jun 4 21:28:02 2013 From: Vinny_Abello at Dell.com (Vinny_Abello at Dell.com) Date: Tue, 4 Jun 2013 19:28:02 +0000 Subject: [smokeping-users] Sporadic crashes on reload in Smokeping.pm Message-ID: Hello, I've been noticing on one of our smokeping installations running smokeping 2.6.8 on FreeBSD 8.3 (from ports), that occasionally after a reload of smokeping, it will crash in the following manner according to the log: Tue Jun 4 11:55:34 2013 - Reloading configuration. Tue Jun 4 11:56:00 2013 - Got HUP signal, exiting gracefully. Tue Jun 4 11:56:00 2013 - Got HUP signal, exiting gracefully. Tue Jun 4 11:56:00 2013 - Exiting due to HUP signal. Tue Jun 4 11:56:00 2013 - Exiting due to HUP signal. Tue Jun 4 11:56:00 2013 - Got HUP signal, exiting gracefully. Tue Jun 4 11:56:00 2013 - Exiting due to HUP signal. Tue Jun 4 11:56:00 2013 - Got HUP signal, exiting gracefully. Tue Jun 4 11:56:00 2013 - Exiting due to HUP signal. Tue Jun 4 11:56:00 2013 - Got HUP signal, exiting gracefully. Tue Jun 4 11:56:00 2013 - Exiting due to HUP signal. Tue Jun 4 11:56:00 2013 - Waiting for child processes to terminate. Tue Jun 4 11:56:00 2013 - Can't call method "step" on an undefined value at /usr/local/smokeping/lib/Smokeping.pm line 4284. This definitely does not happen every time we reload it and we don't do anything to correct it other than start it back up again using the rc script and it runs fine. Any clues as to what might be causing this to happen on occasion and how to fix it? We currently have about 1067 targets defined and it normally finishes probing them all without issue every 300 seconds. Thanks! -Vinny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130604/56c97770/attachment.htm From paul.mansfield+smokeping at grapeshot.co.uk Wed Jun 5 11:10:09 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Wed, 5 Jun 2013 10:10:09 +0100 Subject: [smokeping-users] Sporadic crashes on reload in Smokeping.pm In-Reply-To: References: Message-ID: On 4 June 2013 20:28, wrote: > 2.6.8 on FreeBSD 8.3 (from ports), that occasionally after a reload of > smokeping, it will crash in the following manner according to the log: > I don't know if it's related but if the slave is running in debug mode, it stops working when the master is restarted; this on centos6.4 x64. From Vinny_Abello at Dell.com Thu Jun 6 17:17:36 2013 From: Vinny_Abello at Dell.com (Vinny_Abello at Dell.com) Date: Thu, 6 Jun 2013 15:17:36 +0000 Subject: [smokeping-users] Sporadic crashes on reload in Smokeping.pm In-Reply-To: References: Message-ID: No slave servers currently... I'm wondering if it's some sort of timing issue with when the reload done. I saw code that looks like it handles it when a probe dies on its own, but that was my other thought... I'm not sure. I'm just taking guesses. -Vinny -----Original Message----- From: smokeping-users-bounces+vinny_abello=dell.com at lists.oetiker.ch [mailto:smokeping-users-bounces+vinny_abello=dell.com at lists.oetiker.ch] On Behalf Of Paul Mansfield Sent: Wednesday, June 05, 2013 5:10 AM To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Sporadic crashes on reload in Smokeping.pm On 4 June 2013 20:28, wrote: > 2.6.8 on FreeBSD 8.3 (from ports), that occasionally after a reload of > smokeping, it will crash in the following manner according to the log: > I don't know if it's related but if the slave is running in debug mode, it stops working when the master is restarted; this on centos6.4 x64. _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From ITheodoridis at bankofgreece.gr Fri Jun 7 11:20:49 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Fri, 7 Jun 2013 12:20:49 +0300 Subject: [smokeping-users] smokeping startup script installation + remocular question Message-ID: <5B6967F6EA05614489E63202C9F6C180049F455C@mkexc01.bankofgreece.gr> 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. --------------------------------------------------------------- ??????? ?????????? ????????? ??????????????? ----------- ??????? ??? ??????? ????????? ???????????? ????? ??????????? ??????? ??? ???????????? --------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130607/c0f360ad/attachment.htm -------------- next part -------------- ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. 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. ============================================================================================================== From theindianmaiden at gmail.com Fri Jun 7 14:03:04 2013 From: theindianmaiden at gmail.com (Indian Maiden) Date: Fri, 7 Jun 2013 05:03:04 -0700 Subject: [smokeping-users] Smoke Ping Stops Working Message-ID: I am not sure how to solve this. A few months back I started getting "breaks" im my graphing. I thought I was having network issues but when i added the host that smokeping pings from it also had this behavior https://vimeo.com/67879214 Does anybody know what is happening? Pinging from the host has no issues. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130607/be1f3adc/attachment.htm From paul.mansfield+smokeping at grapeshot.co.uk Fri Jun 7 15:08:20 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Fri, 7 Jun 2013 14:08:20 +0100 Subject: [smokeping-users] Smoke Ping Stops Working In-Reply-To: References: Message-ID: On 7 June 2013 13:03, Indian Maiden wrote: > was having network issues but when i added the host that smokeping pings > from it also had this behavior > > https://vimeo.com/67879214 Page not found Sorry, the video at this URL has either been deleted or never existed in the first place. > Does anybody know what is happening? Pinging from the host has no issues. is your smokeping master a virtual machine and is being starved of resources? do you have a DNS problem, try adding a DNS probe on the master for the targets. From paul.mansfield+smokeping at grapeshot.co.uk Fri Jun 7 16:04:33 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Fri, 7 Jun 2013 15:04:33 +0100 Subject: [smokeping-users] Smoke Ping Stops Working In-Reply-To: References: Message-ID: my guess is simply that the master node stops polling; try running it in debug mode. here's a startup script I use, runs as root but starts daemon off as user smokeping: OPTS="--debug-daemon --nodaemon" cd /usr/local/smokeping chgrp -R smokeping cache data var chmod -R g+w cache data var su - smokeping -s /bin/bash -c "cd /usr/local/smokeping ; bin/smokeping $OPTS" comment out OPTS when running normally. From rjd at merit.edu Fri Jun 7 16:20:00 2013 From: rjd at merit.edu (Russell Dwarshuis) Date: Fri, 7 Jun 2013 10:20:00 -0400 (EDT) Subject: [smokeping-users] smokeping startup script installation + remocular question In-Reply-To: <5B6967F6EA05614489E63202C9F6C180049F455C@mkexc01.bankofgreece.gr> Message-ID: <1320258347.2064771.1370614800412.JavaMail.root@merit.edu> 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 From dpacheco at unap.cl Fri Jun 7 17:33:32 2013 From: dpacheco at unap.cl (Dago Pacheco) Date: Fri, 7 Jun 2013 11:33:32 -0400 Subject: [smokeping-users] smokeping startup script installation + remocular question In-Reply-To: <1320258347.2064771.1370614800412.JavaMail.root@merit.edu> References: <5B6967F6EA05614489E63202C9F6C180049F455C@mkexc01.bankofgreece.gr> <1320258347.2064771.1370614800412.JavaMail.root@merit.edu> Message-ID: <003a01ce6394$5e52d700$1af88500$@unap.cl> 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 From aaron.toponce at gmail.com Wed Jun 12 22:36:31 2013 From: aaron.toponce at gmail.com (Aaron Toponce) Date: Wed, 12 Jun 2013 14:36:31 -0600 Subject: [smokeping-users] NTP probe Message-ID: <20130612203629.GB8391@eightyeight.xmission.com> 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.pgp From aaron.toponce at gmail.com Thu Jun 13 01:28:39 2013 From: aaron.toponce at gmail.com (Aaron Toponce) Date: Wed, 12 Jun 2013 17:28:39 -0600 Subject: [smokeping-users] Changing pings count Message-ID: <20130612232817.GA19470@irc.ae7.st> 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.pgp From gregs at sloop.net Thu Jun 13 02:36:52 2013 From: gregs at sloop.net (Gregory Sloop) Date: Wed, 12 Jun 2013 17:36:52 -0700 Subject: [smokeping-users] Changing pings count In-Reply-To: <20130612232817.GA19470@irc.ae7.st> References: <20130612232817.GA19470@irc.ae7.st> Message-ID: <1253137869.20130612173652@sloop.net> 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 From aaron.toponce at gmail.com Thu Jun 13 04:24:36 2013 From: aaron.toponce at gmail.com (Aaron Toponce) Date: Wed, 12 Jun 2013 20:24:36 -0600 Subject: [smokeping-users] Changing pings count In-Reply-To: <1253137869.20130612173652@sloop.net> References: <20130612232817.GA19470@irc.ae7.st> <1253137869.20130612173652@sloop.net> Message-ID: <20130613022435.GB19470@irc.ae7.st> 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-0001.pgp From clinton at scripty.com Thu Jun 13 06:03:11 2013 From: clinton at scripty.com (Clinton Work) Date: Wed, 12 Jun 2013 22:03:11 -0600 Subject: [smokeping-users] NTP probe In-Reply-To: <20130612203629.GB8391@eightyeight.xmission.com> References: <20130612203629.GB8391@eightyeight.xmission.com> Message-ID: <51B9447F.4060909@scripty.com> 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. > > From paul.mansfield+smokeping at grapeshot.co.uk Thu Jun 13 11:45:46 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Thu, 13 Jun 2013 10:45:46 +0100 Subject: [smokeping-users] NTP probe In-Reply-To: <51B9447F.4060909@scripty.com> References: <20130612203629.GB8391@eightyeight.xmission.com> <51B9447F.4060909@scripty.com> Message-ID: On 13 June 2013 05:03, Clinton Work 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 From aaron.toponce at gmail.com Thu Jun 13 15:17:27 2013 From: aaron.toponce at gmail.com (Aaron Toponce) Date: Thu, 13 Jun 2013 07:17:27 -0600 Subject: [smokeping-users] Changing pings count In-Reply-To: <1253137869.20130612173652@sloop.net> References: <20130612232817.GA19470@irc.ae7.st> <1253137869.20130612173652@sloop.net> Message-ID: <20130613131726.GC19470@irc.ae7.st> 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.pgp From pckizer at nostrum.com Thu Jun 13 16:37:57 2013 From: pckizer at nostrum.com (Philip Kizer) Date: Thu, 13 Jun 2013 09:37:57 -0500 Subject: [smokeping-users] NTP probe In-Reply-To: References: <20130612203629.GB8391@eightyeight.xmission.com> <51B9447F.4060909@scripty.com> Message-ID: <3C354AF7-82F2-42EA-8F39-C0FD2EF75CE1@nostrum.com> > On 13 June 2013 05:03, Clinton Work 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 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-0001.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-0001.png From puneetbhrdwj02 at gmail.com Thu Jun 27 11:34:37 2013 From: puneetbhrdwj02 at gmail.com (puneet bhardwaj) Date: Thu, 27 Jun 2013 15:04:37 +0530 Subject: [smokeping-users] Network Latency of DHCP clients Message-ID: hello sir i have to measure the network latency of all my DHCP Clients. Is it possible if yes than How please help me. Thanx & Regards Puneet Bhardwaj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130627/919fb0a2/attachment.htm From dano at northpb.com Thu Jun 27 17:37:45 2013 From: dano at northpb.com (Dan O'Neill) Date: Thu, 27 Jun 2013 08:37:45 -0700 Subject: [smokeping-users] Network Latency of DHCP clients In-Reply-To: References: Message-ID: Hi Puneet, Do you mean that you need to measure network latency between your smokeping monitoring server and all clients who have been allocated a DHCP address? Or do you mean that you need to monitor the latency of your DHCP server for the request and allocation of an IP address? Dan On Thu, Jun 27, 2013 at 2:34 AM, puneet bhardwaj wrote: > > > hello sir > > > > i have to measure the network latency of all my DHCP Clients. > > Is it possible if yes than How please help me. > > > > Thanx & Regards > > Puneet Bhardwaj > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > -- Dan O'Neill dano at northpb.com 619-885-1961 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130627/6a041bbf/attachment.htm From theindianmaiden at gmail.com Sat Jun 29 16:07:00 2013 From: theindianmaiden at gmail.com (Indian Maiden) Date: Sat, 29 Jun 2013 07:07:00 -0700 Subject: [smokeping-users] Install newbie problems Message-ID: I am trying to install on centos 6.4 64 bit and cant seem to find out how to get around this error: Alert "someloss": no match for target /opt/smokeping/data/network_devices/blabne-ntc0-s3-gw Calling RRDs::update(/opt/smokeping/data/network_devices/blabne-lft-s1-gw.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1372514716:U:0:1.3900000000e-03:1.2900000000e-03:1.3000000000e-03:1.3100000000e-03:1.3400000000e-03:1.3600000000e-03:1.3600000000e-03:1.3600000000e-03:1.3700000000e-03:1.3800000000e-03:1.3800000000e-03:1.3900000000e-03:1.4000000000e-03:1.4200000000e-03:1.4300000000e-03:1.4500000000e-03:1.4600000000e-03:1.5400000000e-03:2.0000000000e-03:2.4500000000e-03:2.4600000000e-03) Alert "someloss": no match for target /opt/smokeping/data/network_devices/blabne-lft-s1-gw Calling RRDs::update(/opt/smokeping/data/network_devices/blabne-ntc117-s1-sw.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1372514716:U:0:1.3700000000e-03:1.1900000000e-03:1.2700000000e-03:1.3000000000e-03:1.3000000000e-03:1.3100000000e-03:1.3200000000e-03:1.3200000000e-03:1.3400000000e-03:1.3400000000e-03:1.3400000000e-03:1.3700000000e-03:1.4000000000e-03:1.4000000000e-03:1.4000000000e-03:1.4200000000e-03:1.4300000000e-03:1.4700000000e-03:1.5300000000e-03:1.6000000000e-03:3.1400000000e-03) Alert "someloss": no match for target /opt/smokeping/data/network_devices/blabne-ntc117-s1-sw Calling RRDs::update(/opt/smokeping/data/abc.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1372514716:U:0:8.5200000000e-03:8.3200000000e-03:8.3400000000e-03:8.4000000000e-03:8.4200000000e-03:8.4300000000e-03:8.4500000000e-03:8.4600000000e-03:8.4600000000e-03:8.5100000000e-03:8.5100000000e-03:8.5200000000e-03:8.5300000000e-03:8.5400000000e-03:8.6000000000e-03:8.6100000000e-03:8.6200000000e-03:8.6200000000e-03:8.6800000000e-03:8.7300000000e-03:8.9900000000e-03) Calling RRDs::update(/opt/smokeping/data/level3.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1372514716:U:0:2.4900000000e-03:2.3200000000e-03:2.3700000000e-03:2.3700000000e-03:2.3800000000e-03:2.3900000000e-03:2.4000000000e-03:2.4200000000e-03:2.4300000000e-03:2.4700000000e-03:2.4800000000e-03:2.4900000000e-03:2.5000000000e-03:2.5000000000e-03:2.5100000000e-03:2.5300000000e-03:2.5300000000e-03:2.5600000000e-03:2.5900000000e-03:2.6800000000e-03:3.0300000000e-03) Calling RRDs::update(/opt/smokeping/data/blabne-ntc145-epd-sw.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1372514716:U:0:6.9000000000e-04:5.7000000000e-04:5.7000000000e-04:5.9000000000e-04:6.0000000000e-04:6.1000000000e-04:6.2000000000e-04:6.4000000000e-04:6.5000000000e-04:6.7000000000e-04:6.8000000000e-04:6.9000000000e-04:6.9000000000e-04:7.0000000000e-04:7.3000000000e-04:7.5000000000e-04:7.8000000000e-04:8.3000000000e-04:8.9000000000e-04:9.7000000000e-04:1.0500000000e-03) Alert "someloss": no match for target /opt/smokeping/data/blabne-ntc145-epd-sw Calling RRDs::update(/opt/smokeping/data/home.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1372514716:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) [root at localhostetc]# -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130629/5e0f4032/attachment.htm