From wt at krzn.de Tue Dec 10 10:22:57 2013 From: wt at krzn.de (Werner Thal) Date: Tue, 10 Dec 2013 10:22:57 +0100 Subject: [smokeping-users] Apache 2.4 In-Reply-To: References: Message-ID: <2383816.VH8dEDYeMM@geonosis> Hallo Harry, thank you very much for your suggestion and a big sorry for my late reply, but I have been on vacation for some time. I will try your hint asap and report the result. Thanks again and have a nice day! Werner Am Montag, 25. November 2013, 20:54:40 schrieb Harry Hodge: > Werner, I had this issue a while back with Apache 2.4 and Ubuntu 13.10, but > could't figure out how to reply to a mailing list! I think I have that > figured now, so here is what I did. > > With Apache 2.4 conf files have been moved from /etc/apache2/conf.d/ to > /etc/apache2/conf-available/, at least in Ubuntu, I'm not sure about Debian. > Also, I understand that Apache2.4 expects conf files to end .conf, so you > must ensure that your conf files have this extension. > > I created a link, enabled the conf file and restarted apache, > > ln -s /etc/smokeping/apache2.conf > /etc/apache2/conf-available/smokeping.conf > a2enconf /etc/apache2/conf-available/smokeping > service apache2 restart > > and graphs have reappeared. > > Hope this helps. > > Regards, > > Harry > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131210/57a3d432/attachment.htm From bouni at owee.de Fri Dec 13 08:51:01 2013 From: bouni at owee.de (Bouni) Date: Fri, 13 Dec 2013 08:51:01 +0100 Subject: [smokeping-users] Monitoring the connectivity Message-ID: <3a594280ea8df7bef434529040922996@owee.de> Hi, i've set up smokeping successfully on a Raspberry Pi to monitor my internet connectivity at home. The reason is that i had a lot of disconnects during the last days and i want to show the graphs to my provider if this does not getting better. But the FPing graphs seems to be "antialiased" for me. Is there another probe or a way to show the graph as a clear line indicating whether a internet connection is available or not using ping time average and timeout? Thanks Elias From wt at krzn.de Fri Dec 13 09:53:45 2013 From: wt at krzn.de (Werner Thal) Date: Fri, 13 Dec 2013 09:53:45 +0100 Subject: [smokeping-users] Apache 2.4 In-Reply-To: References: Message-ID: <4048852.0HrsrylSJY@geonosis> Hallo Harry, many many thanks! Yes, Debian also uses /etc/apache2/conf-available/ since v2.4. And Yes, the link did the trick! Everything now working fine as before. Have a nice weekend Werner Am Montag, 25. November 2013, 20:54:40 schrieb Harry Hodge: > Werner, I had this issue a while back with Apache 2.4 and Ubuntu 13.10, but > could't figure out how to reply to a mailing list! I think I have that > figured now, so here is what I did. > > With Apache 2.4 conf files have been moved from /etc/apache2/conf.d/ to > /etc/apache2/conf-available/, at least in Ubuntu, I'm not sure about Debian. > Also, I understand that Apache2.4 expects conf files to end .conf, so you > must ensure that your conf files have this extension. > > I created a link, enabled the conf file and restarted apache, > > ln -s /etc/smokeping/apache2.conf > /etc/apache2/conf-available/smokeping.conf > a2enconf /etc/apache2/conf-available/smokeping > service apache2 restart > > and graphs have reappeared. > > Hope this helps. > > Regards, > > Harry > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131213/66a761a5/attachment-0001.htm From laylanahar at gmail.com Fri Dec 13 15:27:14 2013 From: laylanahar at gmail.com (Layla Nahar) Date: Fri, 13 Dec 2013 09:27:14 -0500 Subject: [smokeping-users] configure fails to find perl modules, Mac 10.4.6 Message-ID: Hello, How can I get configure to complete when it is failing to find perl modules that exist on my system? I imagine that there is a simple solution but I'm afraid to start hacking files willy-nilly because my knowledge of this stuff is actually quite limited. When I run ./configure --prefix=/opt/smokeping I get the failure "Can't locate Config/Grammar.pm in @INC". Details below. Grammar.pm exists in several places on my system. I am running mac os x 10.4.6. I have made sure I have a recent copy of perl by running curl -L http://xrl.us/installperlosx | bash as recommended on the perl monks site. I have the Grammar.pm on my system. (results of find / -name Grammar.pm 2>/dev/null are below the configure fail messages NB - I am also having trouble building mod_fastcgi.so. I'm including this information in case it is relevant to the failure of the configure script. thank you very much Layla Nahar ---configure fail results--- helenatroy:smokeping-2.6.9 helenatroy$ ./bin/smokeping --config=/opt/smokeping/etc/config --debug Can't locate Config/Grammar.pm in @INC (@INC contains: /Users/smokeping/smokeping-2.6.9/bin/../lib /Users/smokeping/smokeping-2.6.9/bin/../thirdparty/lib/perl5 /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0 /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0 .) at /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping/Config.pm line 5. BEGIN failed--compilation aborted at /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping/Config.pm line 13. Compilation failed in require at /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping.pm line 14. BEGIN failed--compilation aborted at /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping.pm line 14. Compilation failed in require at ./bin/smokeping line 12. BEGIN failed--compilation aborted at ./bin/smokeping line 12. --- results of: find / -name Grammar.pm 2>/dev/null -- helenatroy:smokeping-2.6.9 helenatroy$ find / -name Grammar.pm 2>/dev/null /Library/Perl/Updates/5.10.0/TAP/Parser/Grammar.pm /opt/smokeping/thirdparty/lib/perl5/Config/Grammar.pm /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/Wx/XSP/Grammar.pm /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level/Wx/XSP/Grammar.pm /Users/helenatroy/perl5/perlbrew/build/perl-5.16.0/cpan/Test-Harness/lib/TAP/Parser/Grammar.pm /Users/helenatroy/perl5/perlbrew/build/perl-5.16.0/lib/TAP/Parser/Grammar.pm /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/TAP/Parser/Grammar.pm From gregs at sloop.net Fri Dec 13 16:56:06 2013 From: gregs at sloop.net (Gregory Sloop) Date: Fri, 13 Dec 2013 07:56:06 -0800 Subject: [smokeping-users] Monitoring the connectivity In-Reply-To: <3a594280ea8df7bef434529040922996@owee.de> References: <3a594280ea8df7bef434529040922996@owee.de> Message-ID: <95750707.20131213075606@sloop.net> Sorry - forgot to send to the list: --- That's the very nature of SP. It doesn't really give only a binary state, unless the connection is totally down - that's, again, the point of smokeping - where there's smoke, there's usually fire. If you're sending 20 fpings that all have different RTT, some are lost some aren't etc - how do I give you a binary state? If I lost 5% of the packets, should I tell you the thing is down? No, you look at the colors of the plot points to tell what packet loss is. You look at the smoke and the positioning of the plot to tell RTT and variances. If you really want raw data, you can dump the RDD database with RDDDump [iirc] but it's not very useful, IMO. If you really want black/white state data, then use Nagios. It will handle alerting better, and give you very straight-forward logs of what was up or down and when. But Nagios is bad as a leading diagnostic indicator. It won't tell you about a connection that has RTT times that are trending up, or packet loss that, while not 100% is above some threshold and increasing. So, IMO, you'll either have to live with SP and the way it "sees" the world, or use a tool that's more appropriate for your wants. Because right now, you've got the saw out and you're complaining about how it pounds nails badly. And you're right. The saw does pound nails badly. But it saws nicely. I think you can accomplish the task at hand with the saw, but if you insist on pounding nails, well then you ought to switch to the hammer. :) -Greg B> Hi, B> i've set up smokeping successfully on a Raspberry Pi to monitor my B> internet connectivity at home. B> The reason is that i had a lot of disconnects during the last days and i B> want to show the graphs to my provider if this does not getting better. B> But the FPing graphs seems to be "antialiased" for me. Is there another B> probe or a way to show the graph as a clear line indicating whether a B> internet connection is available or not using ping time average and B> timeout? B> Thanks B> Elias B> _______________________________________________ B> smokeping-users mailing list B> smokeping-users at lists.oetiker.ch B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -- Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: 503.251.0452 x82 EMail: gregs at sloop.net http://www.sloop.net --- B> Hi, B> i've set up smokeping successfully on a Raspberry Pi to monitor my B> internet connectivity at home. B> The reason is that i had a lot of disconnects during the last days and i B> want to show the graphs to my provider if this does not getting better. B> But the FPing graphs seems to be "antialiased" for me. Is there another B> probe or a way to show the graph as a clear line indicating whether a B> internet connection is available or not using ping time average and B> timeout? B> Thanks B> Elias B> _______________________________________________ B> smokeping-users mailing list B> smokeping-users at lists.oetiker.ch B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -- Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: 503.251.0452 x82 EMail: gregs at sloop.net http://www.sloop.net --- From gregs at sloop.net Fri Dec 13 17:05:23 2013 From: gregs at sloop.net (Gregory Sloop) Date: Fri, 13 Dec 2013 08:05:23 -0800 Subject: [smokeping-users] configure fails to find perl modules, Mac 10.4.6 In-Reply-To: References: Message-ID: <1352708541.20131213080523@sloop.net> The error is that none of those Grammar.pm files are in the path for perl to find. But I know absolutely nothing about getting SP running under OSX. It appears as though the perl module config::grammar isn't installed and SP needs it. Here's what I find with a quick Google search on installing modules under OSX. http://www.perlmonks.org/?node_id=640489 Start there. Once you get dependencies sorted out, then smokeping should install fine. -Greg LN> Hello, LN> How can I get configure to complete when it is failing to find perl LN> modules that exist on my system? I imagine that there is a simple LN> solution but I'm afraid to start hacking files willy-nilly because my LN> knowledge of this stuff is actually quite limited. LN> When I run ./configure --prefix=/opt/smokeping I get the failure LN> "Can't locate Config/Grammar.pm in @INC". Details below. Grammar.pm LN> exists in several places on my system. LN> I am running mac os x 10.4.6. I have made sure I have a recent copy LN> of perl by running curl -L http://xrl.us/installperlosx | bash as LN> recommended on the perl monks site. LN> I have the Grammar.pm on my system. (results of find / -name Grammar.pm 2>>/dev/null are below the configure fail messages LN> NB - I am also having trouble building mod_fastcgi.so. I'm including LN> this information in case it is relevant to the failure of the LN> configure script. LN> thank you very much LN> Layla Nahar LN> ---configure fail results--- LN> helenatroy:smokeping-2.6.9 helenatroy$ ./bin/smokeping LN> --config=/opt/smokeping/etc/config --debug LN> Can't locate Config/Grammar.pm in @INC (@INC contains: LN> /Users/smokeping/smokeping-2.6.9/bin/../lib LN> /Users/smokeping/smokeping-2.6.9/bin/../thirdparty/lib/perl5 LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0 LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0 .) at LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping/Config.pm line LN> 5. LN> BEGIN failed--compilation aborted at LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping/Config.pm line LN> 13. LN> Compilation failed in require at LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping.pm line 14. LN> BEGIN failed--compilation aborted at LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping.pm line 14. LN> Compilation failed in require at ./bin/smokeping line 12. LN> BEGIN failed--compilation aborted at ./bin/smokeping line 12. LN> --- results of: find / -name Grammar.pm 2>/dev/null -- LN> helenatroy:smokeping-2.6.9 helenatroy$ find / -name Grammar.pm 2>/dev/null LN> /Library/Perl/Updates/5.10.0/TAP/Parser/Grammar.pm LN> /opt/smokeping/thirdparty/lib/perl5/Config/Grammar.pm LN> /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/Wx/XSP/Grammar.pm LN> /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level/Wx/XSP/Grammar.pm LN> /Users/helenatroy/perl5/perlbrew/build/perl-5.16.0/cpan/Test-Harness/lib/TAP/Parser/Grammar.pm LN> /Users/helenatroy/perl5/perlbrew/build/perl-5.16.0/lib/TAP/Parser/Grammar.pm LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/TAP/Parser/Grammar.pm LN> _______________________________________________ LN> smokeping-users mailing list LN> smokeping-users at lists.oetiker.ch LN> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -- Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: 503.251.0452 x82 EMail: gregs at sloop.net http://www.sloop.net --- From bouni at owee.de Fri Dec 13 18:00:10 2013 From: bouni at owee.de (Bouni) Date: Fri, 13 Dec 2013 18:00:10 +0100 Subject: [smokeping-users] Monitoring the connectivity In-Reply-To: <95750707.20131213075606@sloop.net> References: <3a594280ea8df7bef434529040922996@owee.de> <95750707.20131213075606@sloop.net> Message-ID: Hi Greg, first of all thanks for your answer! My problem is that my router looses its DSL synchronism to the Outdoor DSLAM. (I can see that from the router logs) It the needs about 30 Seconds to reconnect. Sometimes it takes hours, but that's not often the case. The short disconnects usually happen in short intervals which makes it impossible to watch a youtube video or something like that. But i think i write some small python script that pings some servers, store the binary result and generate graphs from it using RRDtool. But anyway, Smokeping works nice if it is used for what it is supposed to do :) Am 13.12.2013 16:56, schrieb Gregory Sloop: > Sorry - forgot to send to the list: > --- > That's the very nature of SP. > > It doesn't really give only a binary state, unless the connection is > totally down - that's, again, the point of smokeping - where there's > smoke, there's usually fire. > > If you're sending 20 fpings that all have different RTT, some are lost > some aren't etc - how do I give you a binary state? If I lost 5% of > the packets, should I tell you the thing is down? > > No, you look at the colors of the plot points to tell what packet loss > is. You look at the smoke and the positioning of the plot to tell RTT > and variances. > > If you really want raw data, you can dump the RDD database with > RDDDump [iirc] but it's not very useful, IMO. > > If you really want black/white state data, then use Nagios. It will > handle alerting better, and give you very straight-forward logs of > what was up or down and when. > > But Nagios is bad as a leading diagnostic indicator. It won't tell you > about a connection that has RTT times that are trending up, or packet > loss that, while not 100% is above some threshold and increasing. > > So, IMO, you'll either have to live with SP and the way it "sees" the > world, or use a tool that's more appropriate for your wants. Because > right now, you've got the saw out and you're complaining about how it > pounds nails badly. > > And you're right. The saw does pound nails badly. > But it saws nicely. I think you can accomplish the task at hand with > the saw, but if you insist on pounding nails, well then you ought to > switch to the hammer. > > :) > > -Greg > > B> Hi, > > B> i've set up smokeping successfully on a Raspberry Pi to monitor my > B> internet connectivity at home. > B> The reason is that i had a lot of disconnects during the last days > and i > B> want to show the graphs to my provider if this does not getting > better. > B> But the FPing graphs seems to be "antialiased" for me. Is there > another > B> probe or a way to show the graph as a clear line indicating whether > a > B> internet connection is available or not using ping time average and > B> timeout? > > B> Thanks > > B> Elias > > B> _______________________________________________ > B> smokeping-users mailing list > B> smokeping-users at lists.oetiker.ch > B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > -- > Gregory Sloop, Principal: Sloop Network & Computer Consulting > Voice: 503.251.0452 x82 > EMail: gregs at sloop.net > http://www.sloop.net > --- > > > B> Hi, > > B> i've set up smokeping successfully on a Raspberry Pi to monitor my > B> internet connectivity at home. > B> The reason is that i had a lot of disconnects during the last days > and i > B> want to show the graphs to my provider if this does not getting > better. > B> But the FPing graphs seems to be "antialiased" for me. Is there > another > B> probe or a way to show the graph as a clear line indicating whether > a > B> internet connection is available or not using ping time average and > B> timeout? > > B> Thanks > > B> Elias > > B> _______________________________________________ > B> smokeping-users mailing list > B> smokeping-users at lists.oetiker.ch > B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From gregs at sloop.net Fri Dec 13 18:21:46 2013 From: gregs at sloop.net (Gregory Sloop) Date: Fri, 13 Dec 2013 09:21:46 -0800 Subject: [smokeping-users] Monitoring the connectivity In-Reply-To: References: <3a594280ea8df7bef434529040922996@owee.de> <95750707.20131213075606@sloop.net> Message-ID: <1745101342.20131213092146@sloop.net> You can shorten the polling time - I typically use 60 seconds. But if the outages are shorter than a minute on average, say 10 seconds, then SP probably isn't the tool to use. I've looked at a few tool to handle corner cases sort of like yours, and there's not a lot out there - and I don't recall what I found. In Windows, pathping works pretty well. There's a similar tool for *nix, and I've thought about using a |pipe script to kick it off when smokeping kicks off an alert. ...ah MTR - that's what I was thinking of. Again, MTR isn't a perfect tool for you either. Anyway - I think in general you're headed in the right direction. If the outages are very transient and quick, SP and Nagios are poor tools to monitor those with. The python idea sounds good, though I'd probably just log to a flat file, which seems easier. -Greg B> Hi Greg, B> first of all thanks for your answer! B> My problem is that my router looses its DSL synchronism to the Outdoor B> DSLAM. (I can see that from the router logs) B> It the needs about 30 Seconds to reconnect. Sometimes it takes hours, B> but that's not often the case. B> The short disconnects usually happen in short intervals which makes it B> impossible to watch a youtube video or something like that. B> But i think i write some small python script that pings some servers, B> store the binary result and generate graphs from it using RRDtool. B> But anyway, Smokeping works nice if it is used for what it is supposed B> to do :) B> Am 13.12.2013 16:56, schrieb Gregory Sloop: >> Sorry - forgot to send to the list: >> --- >> That's the very nature of SP. >> >> It doesn't really give only a binary state, unless the connection is >> totally down - that's, again, the point of smokeping - where there's >> smoke, there's usually fire. >> >> If you're sending 20 fpings that all have different RTT, some are lost >> some aren't etc - how do I give you a binary state? If I lost 5% of >> the packets, should I tell you the thing is down? >> >> No, you look at the colors of the plot points to tell what packet loss >> is. You look at the smoke and the positioning of the plot to tell RTT >> and variances. >> >> If you really want raw data, you can dump the RDD database with >> RDDDump [iirc] but it's not very useful, IMO. >> >> If you really want black/white state data, then use Nagios. It will >> handle alerting better, and give you very straight-forward logs of >> what was up or down and when. >> >> But Nagios is bad as a leading diagnostic indicator. It won't tell you >> about a connection that has RTT times that are trending up, or packet >> loss that, while not 100% is above some threshold and increasing. >> >> So, IMO, you'll either have to live with SP and the way it "sees" the >> world, or use a tool that's more appropriate for your wants. Because >> right now, you've got the saw out and you're complaining about how it >> pounds nails badly. >> >> And you're right. The saw does pound nails badly. >> But it saws nicely. I think you can accomplish the task at hand with >> the saw, but if you insist on pounding nails, well then you ought to >> switch to the hammer. >> >> :) >> >> -Greg >> >> B> Hi, >> >> B> i've set up smokeping successfully on a Raspberry Pi to monitor my >> B> internet connectivity at home. >> B> The reason is that i had a lot of disconnects during the last days >> and i >> B> want to show the graphs to my provider if this does not getting >> better. >> B> But the FPing graphs seems to be "antialiased" for me. Is there >> another >> B> probe or a way to show the graph as a clear line indicating whether >> a >> B> internet connection is available or not using ping time average and >> B> timeout? >> >> B> Thanks >> >> B> Elias >> >> B> _______________________________________________ >> B> smokeping-users mailing list >> B> smokeping-users at lists.oetiker.ch >> B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> -- >> Gregory Sloop, Principal: Sloop Network & Computer Consulting >> Voice: 503.251.0452 x82 >> EMail: gregs at sloop.net >> http://www.sloop.net >> --- >> >> >> B> Hi, >> >> B> i've set up smokeping successfully on a Raspberry Pi to monitor my >> B> internet connectivity at home. >> B> The reason is that i had a lot of disconnects during the last days >> and i >> B> want to show the graphs to my provider if this does not getting >> better. >> B> But the FPing graphs seems to be "antialiased" for me. Is there >> another >> B> probe or a way to show the graph as a clear line indicating whether >> a >> B> internet connection is available or not using ping time average and >> B> timeout? >> >> B> Thanks >> >> B> Elias >> >> B> _______________________________________________ >> B> smokeping-users mailing list >> B> smokeping-users at lists.oetiker.ch >> B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users B> _______________________________________________ B> smokeping-users mailing list B> smokeping-users at lists.oetiker.ch B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -- Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: 503.251.0452 x82 EMail: gregs at sloop.net http://www.sloop.net --- From laylanahar at gmail.com Fri Dec 13 22:36:54 2013 From: laylanahar at gmail.com (Layla Nahar) Date: Fri, 13 Dec 2013 16:36:54 -0500 Subject: [smokeping-users] configure fails to find perl modules, Mac 10.4.6 In-Reply-To: References: Message-ID: Greg - Thanks - that page looks great. I had been searching based on the error message & failed to turn up something so useful looking. Thanks again. LN ====== The error is that none of those Grammar.pm files are in the path for perl to find. But I know absolutely nothing about getting SP running under OSX. It appears as though the perl module config::grammar isn't installed and SP needs it. Here's what I find with a quick Google search on installing modules under OSX. http://www.perlmonks.org/?node_id=640489 Start there. Once you get dependencies sorted out, then smokeping should install fine. -Greg From darren at victoriajd.com Sat Dec 14 05:22:32 2013 From: darren at victoriajd.com (Darren Murphy) Date: Sat, 14 Dec 2013 12:22:32 +0800 Subject: [smokeping-users] configure fails to find perl modules, Mac 10.4.6 In-Reply-To: <1352708541.20131213080523@sloop.net> References: <1352708541.20131213080523@sloop.net> Message-ID: On 14 December 2013 00:05, Gregory Sloop wrote: > > Here's what I find with a quick Google search on installing modules > under OSX. > http://www.perlmonks.org/?node_id=640489 > > Start there. > > Once you get dependencies sorted out, then smokeping should install > fine. > That Perlmonks thread is a little dated. Whilst using the CPAN shell still works fine, there are now available much easier ways of installing and managing Perl modules. One of the best of which is cpanminus (https://github.com/miyagawa/cpanminus) Assuming you're using homebrew on the MAC, it should simply be a matter of: $ brew install cpanminus $ cpanm Config::Grammar And that's it. No messing around with dependencies or anything else. cpanm takes care of all that for you. From laylanahar at gmail.com Sat Dec 14 08:29:35 2013 From: laylanahar at gmail.com (Layla Nahar) Date: Sat, 14 Dec 2013 02:29:35 -0500 Subject: [smokeping-users] configure fails to find perl modules, Mac 10.4.6 In-Reply-To: References: <1352708541.20131213080523@sloop.net> Message-ID: Darren, Thank you very much for this. I have been using brew and have seen reference to cpan - I think I'm getting a better picture of things. I'm looking forward to trying this. LN On 12/13/13, Darren Murphy wrote: > > That Perlmonks thread is a little dated. > Whilst using the CPAN shell still works fine, there are now available > much easier ways of installing and managing Perl modules. > One of the best of which is cpanminus > (https://github.com/miyagawa/cpanminus) > > Assuming you're using homebrew on the MAC, it should simply be a matter of: > > $ brew install cpanminus > $ cpanm Config::Grammar > > And that's it. No messing around with dependencies or anything else. > cpanm takes care of all that for you. > From dale.sykora at gmail.com Sat Dec 14 18:30:23 2013 From: dale.sykora at gmail.com (Dale Sykora) Date: Sat, 14 Dec 2013 11:30:23 -0600 Subject: [smokeping-users] Monitoring the connectivity In-Reply-To: <1745101342.20131213092146@sloop.net> References: <3a594280ea8df7bef434529040922996@owee.de> <95750707.20131213075606@sloop.net> <1745101342.20131213092146@sloop.net> Message-ID: We use a simple bat file to monitor our wan links at work. It basically checks the wan link and compares to last known state and logs any difference and emails. Then it repeats this in a loop. You could do something similar with the scripting language of your choice. On Friday, December 13, 2013, Gregory Sloop wrote: > You can shorten the polling time - I typically use 60 seconds. But if > the outages are shorter than a minute on average, say 10 seconds, then > SP probably isn't the tool to use. > > I've looked at a few tool to handle corner cases sort of like yours, > and there's not a lot out there - and I don't recall what I found. > > In Windows, pathping works pretty well. There's a similar tool for > *nix, and I've thought about using a |pipe script to kick it off when > smokeping kicks off an alert. > > ...ah MTR - that's what I was thinking of. Again, MTR isn't a perfect > tool for you either. > > Anyway - I think in general you're headed in the right direction. If > the outages are very transient and quick, SP and Nagios are poor tools > to monitor those with. > > The python idea sounds good, though I'd probably just log to a flat file, > which seems easier. > > -Greg > > > B> Hi Greg, > > B> first of all thanks for your answer! > B> My problem is that my router looses its DSL synchronism to the Outdoor > B> DSLAM. (I can see that from the router logs) > B> It the needs about 30 Seconds to reconnect. Sometimes it takes hours, > B> but that's not often the case. > B> The short disconnects usually happen in short intervals which makes it > B> impossible to watch a youtube video or something like that. > > B> But i think i write some small python script that pings some servers, > B> store the binary result and generate graphs from it using RRDtool. > > B> But anyway, Smokeping works nice if it is used for what it is supposed > B> to do :) > > B> Am 13.12.2013 16:56, schrieb Gregory Sloop: > >> Sorry - forgot to send to the list: > >> --- > >> That's the very nature of SP. > >> > >> It doesn't really give only a binary state, unless the connection is > >> totally down - that's, again, the point of smokeping - where there's > >> smoke, there's usually fire. > >> > >> If you're sending 20 fpings that all have different RTT, some are lost > >> some aren't etc - how do I give you a binary state? If I lost 5% of > >> the packets, should I tell you the thing is down? > >> > >> No, you look at the colors of the plot points to tell what packet loss > >> is. You look at the smoke and the positioning of the plot to tell RTT > >> and variances. > >> > >> If you really want raw data, you can dump the RDD database with > >> RDDDump [iirc] but it's not very useful, IMO. > >> > >> If you really want black/white state data, then use Nagios. It will > >> handle alerting better, and give you very straight-forward logs of > >> what was up or down and when. > >> > >> But Nagios is bad as a leading diagnostic indicator. It won't tell you > >> about a connection that has RTT times that are trending up, or packet > >> loss that, while not 100% is above some threshold and increasing. > >> > >> So, IMO, you'll either have to live with SP and the way it "sees" the > >> world, or use a tool that's more appropriate for your wants. Because > >> right now, you've got the saw out and you're complaining about how it > >> pounds nails badly. > >> > >> And you're right. The saw does pound nails badly. > >> But it saws nicely. I think you can accomplish the task at hand with > >> the saw, but if you insist on pounding nails, well then you ought to > >> switch to the hammer. > >> > >> :) > >> > >> -Greg > >> > >> B> Hi, > >> > >> B> i've set up smokeping successfully on a Raspberry Pi to monitor my > >> B> internet connectivity at home. > >> B> The reason is that i had a lot of disconnects during the last days > >> and i > >> B> want to show the graphs to my provider if this does not getting > >> better. > >> B> But the FPing graphs seems to be "antialiased" for me. Is there > >> another > >> B> probe or a way to show the graph as a clear line indicating whether > >> a > >> B> internet connection is available or not using ping time average and > >> B> timeout? > >> > >> B> Thanks > >> > >> B> Elias > >> > >> B> _______________________________________________ > >> B> smokeping-users mailing list > >> B> smokeping-users at lists.oetiker.ch > >> B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > >> > >> -- > >> Gregory Sloop, Principal: Sloop Network & Computer Consulting > >> Voice: 503.251.0452 x82 > >> EMail: gregs at sloop.net > >> http://www.sloop.net > >> --- > >> > >> > >> B> Hi, > >> > >> B> i've set up smokeping successfully on a Raspberry Pi to monitor my > >> B> internet connectivity at home. > >> B> The reason is that i had a lot of disconnects during the last days > >> and i > >> B> want to show the graphs to my provider if this does not getting > >> better. > >> B> But the FPing graphs seems to be "antialiased" for me. Is there > >> another > >> B> probe or a way to show the graph as a clear line indicating whether > >> a > >> B> internet connection is available or not using ping time average and > >> B> timeout? > >> > >> B> Thanks > >> > >> B> Elias > >> > >> B> _______________________________________________ > >> B> smokeping-users mailing list > >> B> smokeping-users at lists.oetiker.ch > >> B> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131214/b7a22a27/attachment.htm From laylanahar at gmail.com Sun Dec 15 21:28:04 2013 From: laylanahar at gmail.com (Layla Nahar) Date: Sun, 15 Dec 2013 15:28:04 -0500 Subject: [smokeping-users] building RRDTools, where/how to define BUILD and INSTALL dirs Message-ID: When building RRDTool, where do I define the environmental variables BUILD_DIR and INSTALL_DIR? I'm confused by these instructions: http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html "Save the two locations into environment variables. BUILD_DIR=/tmp/rrdbuild INSTALL_DIR=/opt/rrdtool-1.4.8" I would expect that there is one convenient place I should be able to modify these variables but I see these two variables defined in the files rrdbuild.1 rrdbuild.html rrdbuild.pod and rrdbuild.txt. I looked through the instructions to find some more info about where/how to define these vars but failed to find anything. I did some googling that told me to define stuff in .bashrc, In my .bashrc there is only one line. Its like this: source /Users.../perl5/perlbrew/etc/bashrc. I didn't find 'BUILD_DIR' etc in that bashrc file. I'd be most grateful for any information that will help me get a better grasp of what do do here. LN From meepmeep at fantasya.org Mon Dec 16 01:40:24 2013 From: meepmeep at fantasya.org (meepmeep) Date: Mon, 16 Dec 2013 01:40:24 +0100 Subject: [smokeping-users] Smokeping slaves over httpSwith self signed certificate Message-ID: Hi I'm running smokeping since few days with a master/slaves configuration, and everything is working fine except one point : I can't use httpS with self signed certicate between the salve and the master. What I got : >WARNING Master said 500 Can't connect to [myhost]:443 (certificate verify failed) I trust my self-signed certificate on my ca-certificates configuration, but I doesn't seems to work (same message). Does anyone know how to make it work ? -- Nicolas G. / meepmeep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131216/0eae5e04/attachment.htm From meepmeep at fantasya.org Mon Dec 16 11:53:39 2013 From: meepmeep at fantasya.org (meepmeep) Date: Mon, 16 Dec 2013 11:53:39 +0100 Subject: [smokeping-users] Smokeping slaves over httpSwith self signed certificate In-Reply-To: References: Message-ID: <3D27568D-C303-4141-BA03-BF5D542D8847@fantasya.org> Self-answer : my self signed certificate did not have the correct fqdn. //meepmeep > Le 16 d?c. 2013 ? 01:40, meepmeep a ?crit : > > Hi > > I'm running smokeping since few days with a master/slaves configuration, and everything is working fine except one point : I can't use httpS with self signed certicate between the salve and the master. > What I got : > > >WARNING Master said 500 Can't connect to [myhost]:443 (certificate verify failed) > > I trust my self-signed certificate on my ca-certificates configuration, but I doesn't seems to work (same message). > > Does anyone know how to make it work ? > > -- > Nicolas G. / meepmeep