From brett.bronson at bigblockla.com Tue Mar 4 22:01:29 2014 From: brett.bronson at bigblockla.com (Brett Bronson) Date: Tue, 4 Mar 2014 13:01:29 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. Message-ID: Hello, I recently updated my smokeping Target configuration to include about 60 of our machines in our render farm and noticed that restarting the smokeping service took about 10 minutes, and now our webpage will not load. Any ideas? My config: http://pastebin.com/ibNmGhAF -- Brett Bronson Big Block | Pipeline TD http://www.bigblockla.com [m] 805-338-6520 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/0fc6698f/attachment.htm From gregs at sloop.net Tue Mar 4 23:28:56 2014 From: gregs at sloop.net (Gregory Sloop) Date: Tue, 4 Mar 2014 14:28:56 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: Message-ID: <819774504.20140304142856@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/0ccd5421/attachment.htm From brett.bronson at bigblockla.com Wed Mar 5 00:29:18 2014 From: brett.bronson at bigblockla.com (Brett Bronson) Date: Tue, 4 Mar 2014 15:29:18 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: <819774504.20140304142856@sloop.net> References: <819774504.20140304142856@sloop.net> Message-ID: Okay, it looks like I was actually using an older version of smokeping. I've removed it and installed the latest version on the site and my config is as follows: http://pastebin.com/ZsLE8uCp Before, I was able to get smokeping to work fine up until I added the section: + nodes menu = Render Node Latency title = Render Node Latency (ICMP Pings) ++ larender001a host = larender001a ++ larender001b host = larender001b ++ larender001c host = larender001c ++ larender001d host = larender001d ++ larender002a host = larender002a ++ larender002b host = larender002b ++ larender002c host = larender002c ++ larender002d host = larender002d Now that I look at the logs, it looks like it's still using the old version.... [ ... ] Tue Mar 4 15:03:05 2014 - FPing: probing 5 targets with step 300 s and offset 116 s. Tue Mar 4 15:16:01 2014 - Smokeping version 2.006009 successfully launched. Tue Mar 4 15:16:01 2014 - Not entering multiprocess mode for just a single probe. Tue Mar 4 15:16:01 2014 - FPing: probing 13 targets with step 300 s and offset 163 s. Tue Mar 4 15:25:59 2014 - Smokeping version 2.006009 successfully launched. Tue Mar 4 15:25:59 2014 - Not entering multiprocess mode for just a single probe. Tue Mar 4 15:25:59 2014 - FPing: probing 13 targets with step 300 s and offset 159 s. Before, I used sudo apt-get install smokeping to install, but I later removed it using sudo apt-get remove smokeping; however, it looks like it didn't remove the old version? Any idea how I could resolve this so that it loads up the newer version? On Tue, Mar 4, 2014 at 2:28 PM, Gregory Sloop wrote: > I don't see a database section, so I assume it's somewhere else. > [Nothing looks obviously wrong - but that was just a quick glance.] > > But when you first start SP after adding a bunch of targets, it's going to > have to allocate/create the RRD for each of the targets. > [Also, are there slaves, because it will create X * 60 new RRD's - where X > is how many slave SP instances you have. (In addition to the master RRD's) ] > > I wouldn't think that would take 10m, but I can't see how much data you're > stuffing in each RRD, or if you have slaves, which might help explain it. > > As to why web-pages won't work, I'm not sure. Have you looked at the > apache logs to see what they say? Or run SP in debug mode? [smokeping > --debug > IIRC] > > -Greg > > > Hello, > > I recently updated my smokeping Target configuration to include about 60 > of our machines in our render farm and noticed that restarting the > smokeping service took about 10 minutes, and now our webpage will not load. > > Any ideas? > > My config: > http://pastebin.com/ibNmGhAF > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > > -- Brett Bronson Big Block | Pipeline TD http://www.bigblockla.com [m] 805-338-6520 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/2f6b4254/attachment.htm From brett.bronson at bigblockla.com Wed Mar 5 00:32:35 2014 From: brett.bronson at bigblockla.com (Brett Bronson) Date: Tue, 4 Mar 2014 15:32:35 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> Message-ID: Also, it looks like the version I have running is actually the latest, I assumed it would output the version as 2.6.9. Sorry On Tue, Mar 4, 2014 at 3:29 PM, Brett Bronson wrote: > Okay, it looks like I was actually using an older version of smokeping. > I've removed it and installed the latest version on the site and my config > is as follows: > http://pastebin.com/ZsLE8uCp > > Before, I was able to get smokeping to work fine up until I added the > section: > > + nodes > menu = Render Node Latency > title = Render Node Latency (ICMP Pings) > > ++ larender001a > host = larender001a > ++ larender001b > host = larender001b > ++ larender001c > host = larender001c > ++ larender001d > host = larender001d > > ++ larender002a > host = larender002a > ++ larender002b > host = larender002b > ++ larender002c > host = larender002c > ++ larender002d > host = larender002d > > > > Now that I look at the logs, it looks like it's still using the old > version.... > [ ... ] > Tue Mar 4 15:03:05 2014 - FPing: probing 5 targets with step 300 s and > offset 116 s. > Tue Mar 4 15:16:01 2014 - Smokeping version 2.006009 successfully > launched. > Tue Mar 4 15:16:01 2014 - Not entering multiprocess mode for just a > single probe. > Tue Mar 4 15:16:01 2014 - FPing: probing 13 targets with step 300 s and > offset 163 s. > Tue Mar 4 15:25:59 2014 - Smokeping version 2.006009 successfully > launched. > Tue Mar 4 15:25:59 2014 - Not entering multiprocess mode for just a > single probe. > Tue Mar 4 15:25:59 2014 - FPing: probing 13 targets with step 300 s and > offset 159 s. > > Before, I used sudo apt-get install smokeping to install, but I later > removed it using sudo apt-get remove smokeping; however, it looks like it > didn't remove the old version? Any idea how I could resolve this so that it > loads up the newer version? > > > > > > On Tue, Mar 4, 2014 at 2:28 PM, Gregory Sloop wrote: > >> I don't see a database section, so I assume it's somewhere else. >> [Nothing looks obviously wrong - but that was just a quick glance.] >> >> But when you first start SP after adding a bunch of targets, it's going >> to have to allocate/create the RRD for each of the targets. >> [Also, are there slaves, because it will create X * 60 new RRD's - where >> X is how many slave SP instances you have. (In addition to the master >> RRD's) ] >> >> I wouldn't think that would take 10m, but I can't see how much data >> you're stuffing in each RRD, or if you have slaves, which might help >> explain it. >> >> As to why web-pages won't work, I'm not sure. Have you looked at the >> apache logs to see what they say? Or run SP in debug mode? [smokeping >> --debug >> IIRC] >> >> -Greg >> >> >> Hello, >> >> I recently updated my smokeping Target configuration to include about 60 >> of our machines in our render farm and noticed that restarting the >> smokeping service took about 10 minutes, and now our webpage will not load. >> >> Any ideas? >> >> My config: >> http://pastebin.com/ibNmGhAF >> >> >> -- >> Brett Bronson >> Big Block | Pipeline TD >> http://www.bigblockla.com >> [m] 805-338-6520 >> >> >> > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > -- Brett Bronson Big Block | Pipeline TD http://www.bigblockla.com [m] 805-338-6520 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/fd87e05c/attachment-0001.htm From gregs at sloop.net Wed Mar 5 01:08:53 2014 From: gregs at sloop.net (Gregory Sloop) Date: Tue, 4 Mar 2014 16:08:53 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> Message-ID: <601911752.20140304160853@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/7901ddc0/attachment.htm From brett.bronson at bigblockla.com Wed Mar 5 01:10:02 2014 From: brett.bronson at bigblockla.com (Brett Bronson) Date: Tue, 4 Mar 2014 16:10:02 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> Message-ID: Here is the apache error log that is listing smokeping: http://pastebin.com/Knm1Cmw1 As for debug mode, here's my output: http://pastebin.com/8txnhnkv The host names do resolve; here's an example: [04:07 PM]superuser at pipeline[/opt/smokeping/bin] > time fping larender001a larender001a is alive real 0m0.014s user 0m0.000s sys 0m0.000s On Tue, Mar 4, 2014 at 3:32 PM, Brett Bronson wrote: > Also, it looks like the version I have running is actually the latest, I > assumed it would output the version as 2.6.9. Sorry > > > On Tue, Mar 4, 2014 at 3:29 PM, Brett Bronson < > brett.bronson at bigblockla.com> wrote: > >> Okay, it looks like I was actually using an older version of smokeping. >> I've removed it and installed the latest version on the site and my config >> is as follows: >> http://pastebin.com/ZsLE8uCp >> >> Before, I was able to get smokeping to work fine up until I added the >> section: >> >> + nodes >> menu = Render Node Latency >> title = Render Node Latency (ICMP Pings) >> >> ++ larender001a >> host = larender001a >> ++ larender001b >> host = larender001b >> ++ larender001c >> host = larender001c >> ++ larender001d >> host = larender001d >> >> ++ larender002a >> host = larender002a >> ++ larender002b >> host = larender002b >> ++ larender002c >> host = larender002c >> ++ larender002d >> host = larender002d >> >> >> >> Now that I look at the logs, it looks like it's still using the old >> version.... >> [ ... ] >> Tue Mar 4 15:03:05 2014 - FPing: probing 5 targets with step 300 s and >> offset 116 s. >> Tue Mar 4 15:16:01 2014 - Smokeping version 2.006009 successfully >> launched. >> Tue Mar 4 15:16:01 2014 - Not entering multiprocess mode for just a >> single probe. >> Tue Mar 4 15:16:01 2014 - FPing: probing 13 targets with step 300 s and >> offset 163 s. >> Tue Mar 4 15:25:59 2014 - Smokeping version 2.006009 successfully >> launched. >> Tue Mar 4 15:25:59 2014 - Not entering multiprocess mode for just a >> single probe. >> Tue Mar 4 15:25:59 2014 - FPing: probing 13 targets with step 300 s and >> offset 159 s. >> >> Before, I used sudo apt-get install smokeping to install, but I later >> removed it using sudo apt-get remove smokeping; however, it looks like it >> didn't remove the old version? Any idea how I could resolve this so that it >> loads up the newer version? >> >> >> >> >> >> On Tue, Mar 4, 2014 at 2:28 PM, Gregory Sloop wrote: >> >>> I don't see a database section, so I assume it's somewhere else. >>> [Nothing looks obviously wrong - but that was just a quick glance.] >>> >>> But when you first start SP after adding a bunch of targets, it's going >>> to have to allocate/create the RRD for each of the targets. >>> [Also, are there slaves, because it will create X * 60 new RRD's - where >>> X is how many slave SP instances you have. (In addition to the master >>> RRD's) ] >>> >>> I wouldn't think that would take 10m, but I can't see how much data >>> you're stuffing in each RRD, or if you have slaves, which might help >>> explain it. >>> >>> As to why web-pages won't work, I'm not sure. Have you looked at the >>> apache logs to see what they say? Or run SP in debug mode? [smokeping >>> --debug >>> IIRC] >>> >>> -Greg >>> >>> >>> Hello, >>> >>> I recently updated my smokeping Target configuration to include about 60 >>> of our machines in our render farm and noticed that restarting the >>> smokeping service took about 10 minutes, and now our webpage will not load. >>> >>> Any ideas? >>> >>> My config: >>> http://pastebin.com/ibNmGhAF >>> >>> >>> -- >>> Brett Bronson >>> Big Block | Pipeline TD >>> http://www.bigblockla.com >>> [m] 805-338-6520 >>> >>> >>> >> >> >> -- >> Brett Bronson >> Big Block | Pipeline TD >> http://www.bigblockla.com >> [m] 805-338-6520 >> >> > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > -- Brett Bronson Big Block | Pipeline TD http://www.bigblockla.com [m] 805-338-6520 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/8d3ab8c2/attachment.htm From brett.bronson at bigblockla.com Wed Mar 5 01:19:33 2014 From: brett.bronson at bigblockla.com (Brett Bronson) Date: Tue, 4 Mar 2014 16:19:33 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> Message-ID: Forgot to add the smoke.log: http://pastebin.com/20UbvJVx At the bottom of the log you can see that I also tried timing fping (the same command that smokeping was running) and it looks like it took 19.3 seconds to run for a small number of machines. Would that cause it to time out? Is fping being ran as soon as the cgi script is executed from the webserver? On Tue, Mar 4, 2014 at 4:10 PM, Brett Bronson wrote: > Here is the apache error log that is listing smokeping: > http://pastebin.com/Knm1Cmw1 > > As for debug mode, here's my output: > http://pastebin.com/8txnhnkv > > The host names do resolve; here's an example: > [04:07 PM]superuser at pipeline[/opt/smokeping/bin] > time fping larender001a > larender001a is alive > > real 0m0.014s > user 0m0.000s > sys 0m0.000s > > > > On Tue, Mar 4, 2014 at 3:32 PM, Brett Bronson < > brett.bronson at bigblockla.com> wrote: > >> Also, it looks like the version I have running is actually the latest, I >> assumed it would output the version as 2.6.9. Sorry >> >> >> On Tue, Mar 4, 2014 at 3:29 PM, Brett Bronson < >> brett.bronson at bigblockla.com> wrote: >> >>> Okay, it looks like I was actually using an older version of smokeping. >>> I've removed it and installed the latest version on the site and my config >>> is as follows: >>> http://pastebin.com/ZsLE8uCp >>> >>> Before, I was able to get smokeping to work fine up until I added the >>> section: >>> >>> + nodes >>> menu = Render Node Latency >>> title = Render Node Latency (ICMP Pings) >>> >>> ++ larender001a >>> host = larender001a >>> ++ larender001b >>> host = larender001b >>> ++ larender001c >>> host = larender001c >>> ++ larender001d >>> host = larender001d >>> >>> ++ larender002a >>> host = larender002a >>> ++ larender002b >>> host = larender002b >>> ++ larender002c >>> host = larender002c >>> ++ larender002d >>> host = larender002d >>> >>> >>> >>> Now that I look at the logs, it looks like it's still using the old >>> version.... >>> [ ... ] >>> Tue Mar 4 15:03:05 2014 - FPing: probing 5 targets with step 300 s and >>> offset 116 s. >>> Tue Mar 4 15:16:01 2014 - Smokeping version 2.006009 successfully >>> launched. >>> Tue Mar 4 15:16:01 2014 - Not entering multiprocess mode for just a >>> single probe. >>> Tue Mar 4 15:16:01 2014 - FPing: probing 13 targets with step 300 s and >>> offset 163 s. >>> Tue Mar 4 15:25:59 2014 - Smokeping version 2.006009 successfully >>> launched. >>> Tue Mar 4 15:25:59 2014 - Not entering multiprocess mode for just a >>> single probe. >>> Tue Mar 4 15:25:59 2014 - FPing: probing 13 targets with step 300 s and >>> offset 159 s. >>> >>> Before, I used sudo apt-get install smokeping to install, but I later >>> removed it using sudo apt-get remove smokeping; however, it looks like it >>> didn't remove the old version? Any idea how I could resolve this so that it >>> loads up the newer version? >>> >>> >>> >>> >>> >>> On Tue, Mar 4, 2014 at 2:28 PM, Gregory Sloop wrote: >>> >>>> I don't see a database section, so I assume it's somewhere else. >>>> [Nothing looks obviously wrong - but that was just a quick glance.] >>>> >>>> But when you first start SP after adding a bunch of targets, it's going >>>> to have to allocate/create the RRD for each of the targets. >>>> [Also, are there slaves, because it will create X * 60 new RRD's - >>>> where X is how many slave SP instances you have. (In addition to the master >>>> RRD's) ] >>>> >>>> I wouldn't think that would take 10m, but I can't see how much data >>>> you're stuffing in each RRD, or if you have slaves, which might help >>>> explain it. >>>> >>>> As to why web-pages won't work, I'm not sure. Have you looked at the >>>> apache logs to see what they say? Or run SP in debug mode? [smokeping >>>> --debug >>>> IIRC] >>>> >>>> -Greg >>>> >>>> >>>> Hello, >>>> >>>> I recently updated my smokeping Target configuration to include about >>>> 60 of our machines in our render farm and noticed that restarting the >>>> smokeping service took about 10 minutes, and now our webpage will not load. >>>> >>>> Any ideas? >>>> >>>> My config: >>>> http://pastebin.com/ibNmGhAF >>>> >>>> >>>> -- >>>> Brett Bronson >>>> Big Block | Pipeline TD >>>> http://www.bigblockla.com >>>> [m] 805-338-6520 >>>> >>>> >>>> >>> >>> >>> -- >>> Brett Bronson >>> Big Block | Pipeline TD >>> http://www.bigblockla.com >>> [m] 805-338-6520 >>> >>> >> >> >> -- >> Brett Bronson >> Big Block | Pipeline TD >> http://www.bigblockla.com >> [m] 805-338-6520 >> >> > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > -- Brett Bronson Big Block | Pipeline TD http://www.bigblockla.com [m] 805-338-6520 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/b10e56d8/attachment-0001.htm From gregs at sloop.net Wed Mar 5 01:51:42 2014 From: gregs at sloop.net (Gregory Sloop) Date: Tue, 4 Mar 2014 16:51:42 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> Message-ID: <66909444.20140304165142@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/56505d4e/attachment.htm From brett.bronson at bigblockla.com Wed Mar 5 02:59:53 2014 From: brett.bronson at bigblockla.com (Brett Bronson) Date: Tue, 4 Mar 2014 17:59:53 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: <66909444.20140304165142@sloop.net> References: <819774504.20140304142856@sloop.net> <66909444.20140304165142@sloop.net> Message-ID: Hey Greg, I took your advice for disabling apparmour which still doesn't help. This box is definitely not doing anything I/O intensive. It's also a relatively powerful box (12 core, 24gb ram). It's basically a cron server and web server for a local intranet occupied by maybe 20 people at the moment but will be used for more cpu intensive stuff later down the line. I tested top when loading the page and the footprint was minimal. I didn't realize I had slaves entered in the slave section, I was just using the template config, so I removed those. No slaves are configured for this. I debugged this further and found that when I upped the default timeout and found that once apache2 was restarted, it would increasingly take more time to show the page initially as I increased the number of Targets, however, once the page was loaded, it would refresh almost instantly. I also upgraded my local install of RRDTool, however, this doesn't seem to help the initial load time. On Tue, Mar 4, 2014 at 4:51 PM, Gregory Sloop wrote: > [Tue Mar 04 15:15:36 2014] [warn] [client 192.168.1.66] mod_fcgid: read > data timeout in 40 seconds, referer: http://pipeline/ > > Looks like the smokeping cgi times out reading data. > Is this box I/O bound? > What does top show when you try to get a web-page from SP? [load > averages in particular] > > In any case, you need to figure out why the CGI is failing to read the > data in the allowed time of 40 secs. > Changing the default time-out might help if the box is I/O bound, but not > totally buried. [And I'm not sure where that might be.] > > However, if the box is seriously overloaded I/O wise, then waiting longer > won't really solve your problem - it will just push the box further below > the water. > [And this all gets back to - how many RRD's and how big are they. See the > database section. Are there slaves? If so, how many?] > > Finally: > > >Is fping being ran as soon as the cgi script is executed from the > webserver? > > You appear to misunderstand how SP works. The daemon runs fping and logs > the results and writes to the RRD's. The CGI pulls data from the RRD and > generates graphs for the http output. > > It appears from the debug log from SP that writing the data went fine. [At > least for the small subset of targets.] > However reading the RRD's and generating the graphs appears to > fail/timeout when reading the RRD's. [Or reading something - in any case.] > > Is selinux or apparmour running? If so, then stop them or run in > permissive mode and see if that helps. > > > -Greg > > > Forgot to add the smoke.log: > > http://pastebin.com/20UbvJVx > > At the bottom of the log you can see that I also tried timing fping (the > same command that smokeping was running) and it looks like it took 19.3 > seconds to run for a small number of machines. Would that cause it to time > out? Is fping being ran as soon as the cgi script is executed from the > webserver? > > > > On Tue, Mar 4, 2014 at 4:10 PM, Brett Bronson < > brett.bronson at bigblockla.com> wrote: > Here is the apache error log that is listing smokeping: > http://pastebin.com/Knm1Cmw1 > > As for debug mode, here's my output: > http://pastebin.com/8txnhnkv > > The host names do resolve; here's an example: > [04:07 PM]superuser at pipeline[/opt/smokeping/bin] > time fping larender001a > larender001a is alive > > real 0m0.014s > user 0m0.000s > sys 0m0.000s > > > > On Tue, Mar 4, 2014 at 3:32 PM, Brett Bronson < > brett.bronson at bigblockla.com> wrote: > Also, it looks like the version I have running is actually the latest, I > assumed it would output the version as 2.6.9. Sorry > > > On Tue, Mar 4, 2014 at 3:29 PM, Brett Bronson < > brett.bronson at bigblockla.com> wrote: > Okay, it looks like I was actually using an older version of smokeping. > I've removed it and installed the latest version on the site and my config > is as follows: > http://pastebin.com/ZsLE8uCp > > Before, I was able to get smokeping to work fine up until I added the > section: > > + nodes > menu = Render Node Latency > title = Render Node Latency (ICMP Pings) > > ++ larender001a > host = larender001a > ++ larender001b > host = larender001b > ++ larender001c > host = larender001c > ++ larender001d > host = larender001d > > ++ larender002a > host = larender002a > ++ larender002b > host = larender002b > ++ larender002c > host = larender002c > ++ larender002d > host = larender002d > > > > Now that I look at the logs, it looks like it's still using the old > version.... > [ ... ] > Tue Mar 4 15:03:05 2014 - FPing: probing 5 targets with step 300 s and > offset 116 s. > Tue Mar 4 15:16:01 2014 - Smokeping version 2.006009 successfully > launched. > Tue Mar 4 15:16:01 2014 - Not entering multiprocess mode for just a > single probe. > Tue Mar 4 15:16:01 2014 - FPing: probing 13 targets with step 300 s and > offset 163 s. > Tue Mar 4 15:25:59 2014 - Smokeping version 2.006009 successfully > launched. > Tue Mar 4 15:25:59 2014 - Not entering multiprocess mode for just a > single probe. > Tue Mar 4 15:25:59 2014 - FPing: probing 13 targets with step 300 s and > offset 159 s. > > Before, I used sudo apt-get install smokeping to install, but I later > removed it using sudo apt-get remove smokeping; however, it looks like it > didn't remove the old version? Any idea how I could resolve this so that it > loads up the newer version? > > > > > > On Tue, Mar 4, 2014 at 2:28 PM, Gregory Sloop wrote: > I don't see a database section, so I assume it's somewhere else. [Nothing > looks obviously wrong - but that was just a quick glance.] > > But when you first start SP after adding a bunch of targets, it's going to > have to allocate/create the RRD for each of the targets. > [Also, are there slaves, because it will create X * 60 new RRD's - where X > is how many slave SP instances you have. (In addition to the master RRD's) ] > > I wouldn't think that would take 10m, but I can't see how much data you're > stuffing in each RRD, or if you have slaves, which might help explain it. > > As to why web-pages won't work, I'm not sure. Have you looked at the > apache logs to see what they say? Or run SP in debug mode? [smokeping > --debug > IIRC] > > -Greg > > > Hello, > > I recently updated my smokeping Target configuration to include about 60 > of our machines in our render farm and noticed that restarting the > smokeping service took about 10 minutes, and now our webpage will not load. > > Any ideas? > > My config: > http://pastebin.com/ibNmGhAF > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > > > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > > > > -- > Brett Bronson > Big Block | Pipeline TD > http://www.bigblockla.com > [m] 805-338-6520 > > > > > > *-- Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: > 503.251.0452 x82 <503.251.0452%20x82> EMail: *gregs at sloop.net > http://www.sloop.net > *---* > -- Brett Bronson Big Block | Pipeline TD http://www.bigblockla.com [m] 805-338-6520 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/95925ff2/attachment-0001.htm From gregs at sloop.net Wed Mar 5 07:43:50 2014 From: gregs at sloop.net (Gregory Sloop) Date: Tue, 4 Mar 2014 22:43:50 -0800 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> <66909444.20140304165142@sloop.net> Message-ID: <1071409192.20140304224350@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140304/305a5678/attachment.htm From gert at space.net Wed Mar 5 08:10:57 2014 From: gert at space.net (Gert Doering) Date: Wed, 5 Mar 2014 08:10:57 +0100 Subject: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out. In-Reply-To: References: <819774504.20140304142856@sloop.net> Message-ID: <20140305071057.GL43641@Space.Net> HI, On Tue, Mar 04, 2014 at 03:29:18PM -0800, Brett Bronson wrote: > Okay, it looks like I was actually using an older version of smokeping. > I've removed it and installed the latest version on the site and my config > is as follows: > http://pastebin.com/ZsLE8uCp Ensure that the old smokeping process actually got stopped. Removing the package will not necessarily *stop* it. Gert Doering -- NetMaster -- have you enabled IPv6 on something today...? SpaceNet AG Vorstand: Sebastian v. Bomhard Joseph-Dollinger-Bogen 14 Aufsichtsratsvors.: A. Grundner-Culemann D-80807 Muenchen HRB: 136055 (AG Muenchen) Tel: +49 (0)89/32356-444 USt-IdNr.: DE813185279 From meepmeep at fantasya.org Sun Mar 9 23:20:04 2014 From: meepmeep at fantasya.org (meepmeep) Date: Sun, 9 Mar 2014 23:20:04 +0100 Subject: [smokeping-users] Graph from FPing6 on slave not working Message-ID: Hi I use smokeping since a year with a master and a slave configuration, and everything was working fine until today... I decided to add a FPing6 probes on my config file, with 2 targets, but after few hours the slave's graphs are still empty (the ones from the master are doing great). I run smokeping from slave with debug, everything looks fine : > [...] > FPing6: Executing /usr/bin/fping6 -C 20 -q -B1 -r1 -i10 > 2001:bc8:328c:fff::42 ipv6.google.com > FPing6: Got fping output: '2001:bc8:328c:fff::42 : 31.65 31.73 31.70 31.60 > 31.59 31.74 31.47 31.49 31.59 31.47 32.18 31.61 31.61 31.70 33.20 31.67 > 31.66 31.59 31.61 31.79' > FPing6: Got fping output: 'ipv6.google.com : 11.30 11.40 11.29 > 11.38 11.08 11.19 11.99 11.34 11.26 11.33 11.95 11.37 11.24 11.31 11.28 > 11.23 11.40 11.39 11.29 11.18' > [...] > Sent data to Server. Server said OK But the graphes are still empty .. ***** Config on master ****** > *** Probes *** > + FPing > binary = /usr/bin/fping > + EchoPingHttp > pings = 8 > + FPing6 > binary = /usr/bin/fping6 *** Targets *** > probe = FPing > menu = Top > title = Network Latency Grapher > remark = Hello > slaves = dwight > [...] > + ipv6 > menu = ipv6 > title = ipv6 > alerts = someloss,hostdown > probe = FPing6 > ++ GLaDOS_ipv6 > title = GLaDOS ipv6 > host = 2001:bc8:328c:fff::42 > menu = GLaDOS ipv6 > ++ google_ipv6 > title = Google ipv6 > host = ipv6.google.com > menu = Google ipv6 - Smokeping version on master & slave : v2.006008 - Every other graphs from the slave are ok. Any idea ? -- Nicolas G. / meepmeep [EuropNet.org Admin] "Procrastinators: Leaders of Tomorrow" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140309/10e9f287/attachment.htm From gregs at sloop.net Mon Mar 10 01:05:24 2014 From: gregs at sloop.net (Gregory Sloop) Date: Sun, 9 Mar 2014 17:05:24 -0700 Subject: [smokeping-users] Graph from FPing6 on slave not working In-Reply-To: References: Message-ID: <362218566.20140309170524@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140309/b14c44c2/attachment-0001.htm From meepmeep at fantasya.org Mon Mar 10 08:46:13 2014 From: meepmeep at fantasya.org (meepmeep) Date: Mon, 10 Mar 2014 08:46:13 +0100 Subject: [smokeping-users] Graph from FPing6 on slave not working In-Reply-To: <362218566.20140309170524@sloop.net> References: <362218566.20140309170524@sloop.net> Message-ID: <6F770CCC-0E3B-45B9-82EA-51EB344A1304@fantasya.org> Indeed. As it was a new folder (ipv6/), permissions weren't set correctly. And I was looking in the wrong log file (nothing about the permission error in /var/log/message and syslog). Thank you for the help. Nicolas G. //meepmeep > Le 10 mars 2014 ? 01:05, Gregory Sloop a ?crit : > > [Top posting] > > Check the apache logs on the master and see if Apache is able to write the data from the slaves to the RRD's. [My guess is, it can't.] > > Apache [or, more accurately, the user who Apache runs as] will have to have write access to the RRD's. > > This can also be caused by Apparmour, or SELinux. [If the above doesn't fix it, then try running these in permissive mode.] > > -Greg > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140310/71ff9784/attachment.htm From erlington.j at gmail.com Tue Mar 11 18:27:06 2014 From: erlington.j at gmail.com (Erlington Cardoza) Date: Tue, 11 Mar 2014 18:27:06 +0100 Subject: [smokeping-users] no data in graphs Message-ID: Hey guys, first of all, thanks to oetiker for this excellent tool. Second, I have done the command ( smoke --debug ) and my smokeping says "ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory". I am using Debian but I am not a master in this O.S by the way. Also, my local machine does graphics with data but my other host does not appear the data. In my desesperation I did assigned all of possible permissions to the other host, like this "-rwx-rwx-rwx 1 smokeping www-data" and I still dont have data in the new graphic, but in the local machine I do have and Im not using master-slave configuration. What can I do?. Thanks and Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140311/24442f83/attachment.htm From informatux at gmail.com Tue Mar 11 18:31:17 2014 From: informatux at gmail.com (Kwame Bahena) Date: Tue, 11 Mar 2014 11:31:17 -0600 Subject: [smokeping-users] no data in graphs In-Reply-To: References: Message-ID: You have an error on your config file. The error says that the file or directory /etc/config does not exist. Can you pastebin your config some place and share it? Cheers, -- Kwame On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza wrote: > Hey guys, first of all, thanks to oetiker for this excellent tool. > > Second, I have done the command ( smoke --debug ) and my smokeping says "ERROR: > loading smokeping configuration file /usr/sbin/../etc/config: No such file > or directory". I am using Debian but I am not a master in this O.S by the > way. Also, my local machine does graphics with data but my other host does > not appear the data. In my desesperation I did assigned all of possible > permissions to the other host, like this "-rwx-rwx-rwx 1 smokeping > www-data" and I still dont have data in the new graphic, but in the local > machine I do have and Im not using master-slave configuration. What can I > do?. > > Thanks and Regards > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > 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/20140311/858c181c/attachment.htm From informatux at gmail.com Tue Mar 11 19:43:52 2014 From: informatux at gmail.com (Kwame Bahena) Date: Tue, 11 Mar 2014 12:43:52 -0600 Subject: [smokeping-users] no data in graphs In-Reply-To: References: Message-ID: read the manual, it says --config=x Use a config file different from the default On Tue, Mar 11, 2014 at 12:42 PM, Erlington Cardoza wrote: > > Option c is ambiguous (cache-dir, check, config) > Usage: > smokeping [ --email | --makepod | --version | --restart ] > > Options: > > --man[=x] Show the manpage for the program (or for probe x, if > specified) > > --help Help :-) > > --email Send SmokePing Agents to all Targets marked DYNAMIC > > --config=x Use a config file different from the default > > --check Just check the config file syntax, don't start the daemon > > --makepod[=x] Create POD documentation on Config file (or for probe > x, if specified) > > --version Show SmokePing Version > > --debug Run Only once and do not Fork > > --debug-daemon Start the daemon with debugging enabled > > --restart Restart SmokePing > > --reload Reload configuration in the running process without > interrupting > any probes > > --nodaemon Do no daemonize the process (no fork) > > --filter=x Only measure entries which pass the filter x > > --logfile=x Append warnings to logfile x. > > --static[=x] Generates a static website in directory x. If x is left > out, > pagedir from the config is used. > > --nosleep For debugging you may want to run SmokePing without > sleep interval > > --gen-examples Generate the smokeping_examples document and example > config files > (to be used while building inside the smokeping > distribution) > With --check : check the syntax of the generated > examples. > > --master-url=s Run smokeping in slave mode. Attach to master for > config. > > --slave-name=s By default the slave will use whatever it thinks its > name > is, when talking to its master. In some cases you may > probably want to override this. > > > --shared-secret=s File containing the shared secret for talking to > the server. > > --cache-dir=s Directory for temporary data storage when running in > slave mode. > > --pid-dir=s Directory for the PID file when running in slave mode. > (optional, defaults to --cache-dir) > > > > 2014-03-11 19:37 GMT+01:00 Kwame Bahena : > > stop smokeping and run it from the console with >> >> smokeping -c /path/to/config_file --nodaemon --debug >> >> and see what errors you get >> >> >> On Tue, Mar 11, 2014 at 12:22 PM, Erlington Cardoza < >> erlington.j at gmail.com> wrote: >> >>> Ok let`s change the public IP into a private so is still the same issue, >>> At the beginning I thought it was an IP problem for security and I tested >>> before but nothing changed. So here is the conf with private IP as I have >>> right know. >>> *** General *** >>> >>> owner = Jade Fox >>> contact = Fox at mail.cr >>> mailhost = mx.mail.cr >>> # NOTE: do not put the Image Cache below cgi-bin >>> # since all files under cgi-bin will be executed ... this is not >>> # good for images. >>> cgiurl = http://192.168.1.200/smokeping.cgi >>> # specify this to get syslog logging >>> syslogfacility = local0 >>> # each probe is now run in its own process >>> # disable this to revert to the old behaviour >>> # concurrentprobes = no >>> >>> @include /etc/smokeping/config.d/pathnames >>> >>> Regarding the other suggestion, I have this files: >>> root at Fox:/etc/smokeping/config.d# ls >>> Alerts General Presentation sendmail Targets >>> Database pathnames Probes Slaves >>> >>> In alerts I have values from smokeping webpage: >>> >>> +someloss >>> type = loss >>> # in percent >>> pattern = >0%,*12*,>0%,*12*,>0% >>> comment = loss 3 times in a row >>> >>> +lossdetect >>> type = loss >>> # in percent >>> pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20% >>> comment = suddenly there is packet loss >>> >>> +miniloss >>> type = loss >>> # in percent >>> pattern = >0%,*12*,>0%,*12*,>0% >>> comment = detected loss 3 times over the last two hours >>> >>> +rttdetect >>> type = rtt >>> # in milliseconds >>> pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 >>> comment = routing messed up again ? >>> >>> +rttbadstart >>> type = rtt >>> # in milliseconds >>> pattern = ==S,==U >>> comment = offline at startup >>> >>> In targets : >>> >>> *** Targets *** >>> >>> probe = FPing >>> menu = Top >>> title = Network Latency Grapher >>> remark = Welcome to the SmokePing website of xxx Company. \ >>> Here you will learn all about the latency of our network. >>> >>> + Luminet >>> >>> menu = Luminet >>> title = Local Network >>> alerts = someloss >>> >>> ++ LocalMachine >>> >>> menu = Local Machine >>> title = This host >>> host = localhost >>> alerts = someloss >>> >>> + Colom >>> menu = Colom >>> title = Colom >>> >>> ++Colom >>> title = ICMP Colom >>> host = 192.168.1.101 >>> alerts = someloss >>> >>> in Probes: >>> +FPing >>> >>> binary = /usr/bin/fping >>> >>> And that's all I have configured. >>> Regards >>> >>> >>> 2014-03-11 19:09 GMT+01:00 Kwame Bahena : >>> >>> There is little help I can provide if you don't share all your config. >>>> You say that you replaced the values yet in the config you shared I see: >>>> >>>> cgiurl = http://my.domain/smokeping.cgi >>>> >>>> and also, that's not the only config file you need to work on, you also >>>> need to look in the files in /etc/smokeping/conf.d >>>> >>>> >>>> >>>> >>>> On Tue, Mar 11, 2014 at 12:06 PM, Erlington Cardoza < >>>> erlington.j at gmail.com> wrote: >>>> >>>>> Yes, I replace the values in this email for security because it has a >>>>> public IP, if not I couldn`t see that my graph has not data... >>>>> >>>>> >>>>> 2014-03-11 19:03 GMT+01:00 Kwame Bahena : >>>>> >>>>> But you need to replace your cgiurl value, is your "my.domain" really >>>>>> your domain? you need to know at least the ip of your server. >>>>>> Do you know the ip of it? >>>>>> >>>>>> >>>>>> On Tue, Mar 11, 2014 at 11:56 AM, Erlington Cardoza < >>>>>> erlington.j at gmail.com> wrote: >>>>>> >>>>>>> Yeah sorry for my lost, in that guide the config file has the same >>>>>>> configuration of my General file I showed you before. >>>>>>> /etc/smokeping/config.d/General: >>>>>>> >>>>>>> *** General *** >>>>>>> >>>>>>> owner = my owner >>>>>>> contact = owner at mail.com >>>>>>> mailhost = mx.mail.com >>>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>>> # good for images. >>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>> # specify this to get syslog logging >>>>>>> syslogfacility = local0 >>>>>>> # each probe is now run in its own process >>>>>>> # disable this to revert to the old behaviour >>>>>>> # concurrentprobes = no >>>>>>> >>>>>>> @include /etc/smokeping/config.d/pathnames >>>>>>> >>>>>>> I guess it is an older version of smokeping. >>>>>>> Regards >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2014-03-11 18:47 GMT+01:00 Kwame Bahena : >>>>>>> >>>>>>> So you are really lost. >>>>>>>> Follow a howto like this >>>>>>>> http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 11, 2014 at 11:44 AM, Erlington Cardoza < >>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>> >>>>>>>>> I`m sorry in the guide I followed it just said type "sudo apt-get >>>>>>>>> install smokeping". I searched that config file with "find" and I found >>>>>>>>> this one: /etc/smokeping/config, and it has this config: >>>>>>>>> >>>>>>>>> @include /etc/smokeping/config.d/General >>>>>>>>> @include /etc/smokeping/config.d/Alerts >>>>>>>>> @include /etc/smokeping/config.d/Database >>>>>>>>> @include /etc/smokeping/config.d/Presentation >>>>>>>>> @include /etc/smokeping/config.d/Probes >>>>>>>>> @include /etc/smokeping/config.d/Slaves >>>>>>>>> @include /etc/smokeping/config.d/Targets >>>>>>>>> >>>>>>>>> is that what you`re talking about? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2014-03-11 18:34 GMT+01:00 Kwame Bahena : >>>>>>>>> >>>>>>>>> The smokeping config file. Do you know where is it? >>>>>>>>>> Did you follow a howto to install and configure it? >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> -- >>>>>>>>>> Kwame >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 11, 2014 at 11:33 AM, Erlington Cardoza < >>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Which configuration do you need? smokeping conf or Debian?. >>>>>>>>>>> Which command I need to use? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2014-03-11 18:31 GMT+01:00 Kwame Bahena : >>>>>>>>>>> >>>>>>>>>>> You have an error on your config file. >>>>>>>>>>>> The error says that the file or directory /etc/config does not >>>>>>>>>>>> exist. >>>>>>>>>>>> Can you pastebin your config some place and share it? >>>>>>>>>>>> >>>>>>>>>>>> Cheers, >>>>>>>>>>>> -- >>>>>>>>>>>> Kwame >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza < >>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hey guys, first of all, thanks to oetiker for this excellent >>>>>>>>>>>>> tool. >>>>>>>>>>>>> >>>>>>>>>>>>> Second, I have done the command ( smoke --debug ) and my >>>>>>>>>>>>> smokeping says "ERROR: loading smokeping configuration file >>>>>>>>>>>>> /usr/sbin/../etc/config: No such file or directory". I am >>>>>>>>>>>>> using Debian but I am not a master in this O.S by the way. Also, my local >>>>>>>>>>>>> machine does graphics with data but my other host does not appear the data. >>>>>>>>>>>>> In my desesperation I did assigned all of possible permissions to the other >>>>>>>>>>>>> host, like this "-rwx-rwx-rwx 1 smokeping www-data" and I still dont have >>>>>>>>>>>>> data in the new graphic, but in the local machine I do have and Im not >>>>>>>>>>>>> using master-slave configuration. What can I do?. >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks and Regards >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> smokeping-users mailing list >>>>>>>>>>>>> smokeping-users at lists.oetiker.ch >>>>>>>>>>>>> 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/20140311/5b2fcdc1/attachment-0001.htm From informatux at gmail.com Tue Mar 11 20:02:06 2014 From: informatux at gmail.com (Kwame Bahena) Date: Tue, 11 Mar 2014 13:02:06 -0600 Subject: [smokeping-users] no data in graphs In-Reply-To: References: Message-ID: Here's the error: Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom Check that file Also, when you reply please use "reply all" so the mailing list has all the updates for this thread. On Tue, Mar 11, 2014 at 12:59 PM, Erlington Cardoza wrote: > after all the calculations it says, > > Smokeping version 2.006008 successfully launched. > Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for > that. > FPing: probing 2 targets with step 300 s and offset 26 s. > FPing: Executing /usr/bin/fping -C 21 -q -B1 -r1 -b5000 -t5000 -i1 -p1500 > -S192.168.1.200 -O0x20 192.168.1.101 localhost > FPing: Got fping output: '/usr/bin/fping: cannot bind source address : > Cannot assign requested address' > Calling RRDs::update(/var/lib/smokeping/Luminet/LocalMachine.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 > 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) > Alert "someloss": no match for target > /var/lib/smokeping/Luminet/LocalMachine > Calling RRDs::update(/var/lib/smokeping/Columbus/Columbus.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 > 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) > Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom > > > > 2014-03-11 19:43 GMT+01:00 Kwame Bahena : > > read the manual, >> >> it says --config=x Use a config file different from the default >> >> >> On Tue, Mar 11, 2014 at 12:42 PM, Erlington Cardoza < >> erlington.j at gmail.com> wrote: >> >>> >>> Option c is ambiguous (cache-dir, check, config) >>> Usage: >>> smokeping [ --email | --makepod | --version | --restart ] >>> >>> Options: >>> >>> --man[=x] Show the manpage for the program (or for probe x, if >>> specified) >>> >>> --help Help :-) >>> >>> --email Send SmokePing Agents to all Targets marked DYNAMIC >>> >>> --config=x Use a config file different from the default >>> >>> --check Just check the config file syntax, don't start the >>> daemon >>> >>> --makepod[=x] Create POD documentation on Config file (or for probe >>> x, if specified) >>> >>> --version Show SmokePing Version >>> >>> --debug Run Only once and do not Fork >>> >>> --debug-daemon Start the daemon with debugging enabled >>> >>> --restart Restart SmokePing >>> >>> --reload Reload configuration in the running process without >>> interrupting >>> any probes >>> >>> --nodaemon Do no daemonize the process (no fork) >>> >>> --filter=x Only measure entries which pass the filter x >>> >>> --logfile=x Append warnings to logfile x. >>> >>> --static[=x] Generates a static website in directory x. If x is >>> left out, >>> pagedir from the config is used. >>> >>> --nosleep For debugging you may want to run SmokePing without >>> sleep interval >>> >>> --gen-examples Generate the smokeping_examples document and example >>> config files >>> (to be used while building inside the smokeping >>> distribution) >>> With --check : check the syntax of the generated >>> examples. >>> >>> --master-url=s Run smokeping in slave mode. Attach to master for >>> config. >>> >>> --slave-name=s By default the slave will use whatever it thinks its >>> name >>> is, when talking to its master. In some cases you may >>> probably want to override this. >>> >>> >>> --shared-secret=s File containing the shared secret for talking to >>> the server. >>> >>> --cache-dir=s Directory for temporary data storage when running in >>> slave mode. >>> >>> --pid-dir=s Directory for the PID file when running in slave mode. >>> (optional, defaults to --cache-dir) >>> >>> >>> >>> 2014-03-11 19:37 GMT+01:00 Kwame Bahena : >>> >>> stop smokeping and run it from the console with >>>> >>>> smokeping -c /path/to/config_file --nodaemon --debug >>>> >>>> and see what errors you get >>>> >>>> >>>> On Tue, Mar 11, 2014 at 12:22 PM, Erlington Cardoza < >>>> erlington.j at gmail.com> wrote: >>>> >>>>> Ok let`s change the public IP into a private so is still the same >>>>> issue, At the beginning I thought it was an IP problem for security and I >>>>> tested before but nothing changed. So here is the conf with private IP as I >>>>> have right know. >>>>> *** General *** >>>>> >>>>> owner = Jade Fox >>>>> contact = Fox at mail.cr >>>>> mailhost = mx.mail.cr >>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>> # since all files under cgi-bin will be executed ... this is not >>>>> # good for images. >>>>> cgiurl = http://192.168.1.200/smokeping.cgi >>>>> # specify this to get syslog logging >>>>> syslogfacility = local0 >>>>> # each probe is now run in its own process >>>>> # disable this to revert to the old behaviour >>>>> # concurrentprobes = no >>>>> >>>>> @include /etc/smokeping/config.d/pathnames >>>>> >>>>> Regarding the other suggestion, I have this files: >>>>> root at Fox:/etc/smokeping/config.d# ls >>>>> Alerts General Presentation sendmail Targets >>>>> Database pathnames Probes Slaves >>>>> >>>>> In alerts I have values from smokeping webpage: >>>>> >>>>> +someloss >>>>> type = loss >>>>> # in percent >>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>> comment = loss 3 times in a row >>>>> >>>>> +lossdetect >>>>> type = loss >>>>> # in percent >>>>> pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20% >>>>> comment = suddenly there is packet loss >>>>> >>>>> +miniloss >>>>> type = loss >>>>> # in percent >>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>> comment = detected loss 3 times over the last two hours >>>>> >>>>> +rttdetect >>>>> type = rtt >>>>> # in milliseconds >>>>> pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 >>>>> comment = routing messed up again ? >>>>> >>>>> +rttbadstart >>>>> type = rtt >>>>> # in milliseconds >>>>> pattern = ==S,==U >>>>> comment = offline at startup >>>>> >>>>> In targets : >>>>> >>>>> *** Targets *** >>>>> >>>>> probe = FPing >>>>> menu = Top >>>>> title = Network Latency Grapher >>>>> remark = Welcome to the SmokePing website of xxx Company. \ >>>>> Here you will learn all about the latency of our network. >>>>> >>>>> + Luminet >>>>> >>>>> menu = Luminet >>>>> title = Local Network >>>>> alerts = someloss >>>>> >>>>> ++ LocalMachine >>>>> >>>>> menu = Local Machine >>>>> title = This host >>>>> host = localhost >>>>> alerts = someloss >>>>> >>>>> + Colom >>>>> menu = Colom >>>>> title = Colom >>>>> >>>>> ++Colom >>>>> title = ICMP Colom >>>>> host = 192.168.1.101 >>>>> alerts = someloss >>>>> >>>>> in Probes: >>>>> +FPing >>>>> >>>>> binary = /usr/bin/fping >>>>> >>>>> And that's all I have configured. >>>>> Regards >>>>> >>>>> >>>>> 2014-03-11 19:09 GMT+01:00 Kwame Bahena : >>>>> >>>>> There is little help I can provide if you don't share all your config. >>>>>> You say that you replaced the values yet in the config you shared I >>>>>> see: >>>>>> >>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>> >>>>>> and also, that's not the only config file you need to work on, you >>>>>> also need to look in the files in /etc/smokeping/conf.d >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Mar 11, 2014 at 12:06 PM, Erlington Cardoza < >>>>>> erlington.j at gmail.com> wrote: >>>>>> >>>>>>> Yes, I replace the values in this email for security because it has >>>>>>> a public IP, if not I couldn`t see that my graph has not data... >>>>>>> >>>>>>> >>>>>>> 2014-03-11 19:03 GMT+01:00 Kwame Bahena : >>>>>>> >>>>>>> But you need to replace your cgiurl value, is your "my.domain" >>>>>>>> really your domain? you need to know at least the ip of your server. >>>>>>>> Do you know the ip of it? >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 11, 2014 at 11:56 AM, Erlington Cardoza < >>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>> >>>>>>>>> Yeah sorry for my lost, in that guide the config file has the same >>>>>>>>> configuration of my General file I showed you before. >>>>>>>>> /etc/smokeping/config.d/General: >>>>>>>>> >>>>>>>>> *** General *** >>>>>>>>> >>>>>>>>> owner = my owner >>>>>>>>> contact = owner at mail.com >>>>>>>>> mailhost = mx.mail.com >>>>>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>>>>> # good for images. >>>>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>>>> # specify this to get syslog logging >>>>>>>>> syslogfacility = local0 >>>>>>>>> # each probe is now run in its own process >>>>>>>>> # disable this to revert to the old behaviour >>>>>>>>> # concurrentprobes = no >>>>>>>>> >>>>>>>>> @include /etc/smokeping/config.d/pathnames >>>>>>>>> >>>>>>>>> I guess it is an older version of smokeping. >>>>>>>>> Regards >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2014-03-11 18:47 GMT+01:00 Kwame Bahena : >>>>>>>>> >>>>>>>>> So you are really lost. >>>>>>>>>> Follow a howto like this >>>>>>>>>> http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 11, 2014 at 11:44 AM, Erlington Cardoza < >>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> I`m sorry in the guide I followed it just said type "sudo >>>>>>>>>>> apt-get install smokeping". I searched that config file with "find" and I >>>>>>>>>>> found this one: /etc/smokeping/config, and it has this config: >>>>>>>>>>> >>>>>>>>>>> @include /etc/smokeping/config.d/General >>>>>>>>>>> @include /etc/smokeping/config.d/Alerts >>>>>>>>>>> @include /etc/smokeping/config.d/Database >>>>>>>>>>> @include /etc/smokeping/config.d/Presentation >>>>>>>>>>> @include /etc/smokeping/config.d/Probes >>>>>>>>>>> @include /etc/smokeping/config.d/Slaves >>>>>>>>>>> @include /etc/smokeping/config.d/Targets >>>>>>>>>>> >>>>>>>>>>> is that what you`re talking about? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2014-03-11 18:34 GMT+01:00 Kwame Bahena : >>>>>>>>>>> >>>>>>>>>>> The smokeping config file. Do you know where is it? >>>>>>>>>>>> Did you follow a howto to install and configure it? >>>>>>>>>>>> >>>>>>>>>>>> Cheers, >>>>>>>>>>>> -- >>>>>>>>>>>> Kwame >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:33 AM, Erlington Cardoza < >>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Which configuration do you need? smokeping conf or Debian?. >>>>>>>>>>>>> Which command I need to use? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> 2014-03-11 18:31 GMT+01:00 Kwame Bahena >>>>>>>>>>>>> : >>>>>>>>>>>>> >>>>>>>>>>>>> You have an error on your config file. >>>>>>>>>>>>>> The error says that the file or directory /etc/config does >>>>>>>>>>>>>> not exist. >>>>>>>>>>>>>> Can you pastebin your config some place and share it? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Kwame >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza < >>>>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hey guys, first of all, thanks to oetiker for this excellent >>>>>>>>>>>>>>> tool. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Second, I have done the command ( smoke --debug ) and my >>>>>>>>>>>>>>> smokeping says "ERROR: loading smokeping configuration file >>>>>>>>>>>>>>> /usr/sbin/../etc/config: No such file or directory". I am >>>>>>>>>>>>>>> using Debian but I am not a master in this O.S by the way. Also, my local >>>>>>>>>>>>>>> machine does graphics with data but my other host does not appear the data. >>>>>>>>>>>>>>> In my desesperation I did assigned all of possible permissions to the other >>>>>>>>>>>>>>> host, like this "-rwx-rwx-rwx 1 smokeping www-data" and I still dont have >>>>>>>>>>>>>>> data in the new graphic, but in the local machine I do have and Im not >>>>>>>>>>>>>>> using master-slave configuration. What can I do?. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks and Regards >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>> smokeping-users mailing list >>>>>>>>>>>>>>> smokeping-users at lists.oetiker.ch >>>>>>>>>>>>>>> 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/20140311/9b2f2e6c/attachment-0001.htm From erlington.j at gmail.com Tue Mar 11 20:22:07 2014 From: erlington.j at gmail.com (Erlington Cardoza) Date: Tue, 11 Mar 2014 20:22:07 +0100 Subject: [smokeping-users] no data in graphs In-Reply-To: References: Message-ID: Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom it was a RRD, so the conf was on Target section. I commented. Also I saw this part: FPing: Got fping output: '/usr/bin/fping: cannot bind source address : Cannot assign requested address I realize mi source IP was being natted, so I change it and It works!!!. Thanks a lot 2014-03-11 20:02 GMT+01:00 Kwame Bahena : > Here's the error: > > Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom > > Check that file > > Also, when you reply please use "reply all" so the mailing list has all > the updates for this thread. > > > On Tue, Mar 11, 2014 at 12:59 PM, Erlington Cardoza > wrote: > >> after all the calculations it says, >> >> Smokeping version 2.006008 successfully launched. >> Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for >> that. >> FPing: probing 2 targets with step 300 s and offset 26 s. >> FPing: Executing /usr/bin/fping -C 21 -q -B1 -r1 -b5000 -t5000 -i1 -p1500 >> -S192.168.1.200 -O0x20 192.168.1.101 localhost >> FPing: Got fping output: '/usr/bin/fping: cannot bind source address : >> Cannot assign requested address' >> Calling RRDs::update(/var/lib/smokeping/Luminet/LocalMachine.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 >> 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) >> Alert "someloss": no match for target >> /var/lib/smokeping/Luminet/LocalMachine >> Calling RRDs::update(/var/lib/smokeping/Columbus/Columbus.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 >> 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) >> Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom >> >> >> >> 2014-03-11 19:43 GMT+01:00 Kwame Bahena : >> >> read the manual, >>> >>> it says --config=x Use a config file different from the default >>> >>> >>> On Tue, Mar 11, 2014 at 12:42 PM, Erlington Cardoza < >>> erlington.j at gmail.com> wrote: >>> >>>> >>>> Option c is ambiguous (cache-dir, check, config) >>>> Usage: >>>> smokeping [ --email | --makepod | --version | --restart ] >>>> >>>> Options: >>>> >>>> --man[=x] Show the manpage for the program (or for probe x, if >>>> specified) >>>> >>>> --help Help :-) >>>> >>>> --email Send SmokePing Agents to all Targets marked DYNAMIC >>>> >>>> --config=x Use a config file different from the default >>>> >>>> --check Just check the config file syntax, don't start the >>>> daemon >>>> >>>> --makepod[=x] Create POD documentation on Config file (or for >>>> probe x, if specified) >>>> >>>> --version Show SmokePing Version >>>> >>>> --debug Run Only once and do not Fork >>>> >>>> --debug-daemon Start the daemon with debugging enabled >>>> >>>> --restart Restart SmokePing >>>> >>>> --reload Reload configuration in the running process without >>>> interrupting >>>> any probes >>>> >>>> --nodaemon Do no daemonize the process (no fork) >>>> >>>> --filter=x Only measure entries which pass the filter x >>>> >>>> --logfile=x Append warnings to logfile x. >>>> >>>> --static[=x] Generates a static website in directory x. If x is >>>> left out, >>>> pagedir from the config is used. >>>> >>>> --nosleep For debugging you may want to run SmokePing without >>>> sleep interval >>>> >>>> --gen-examples Generate the smokeping_examples document and >>>> example config files >>>> (to be used while building inside the smokeping >>>> distribution) >>>> With --check : check the syntax of the generated >>>> examples. >>>> >>>> --master-url=s Run smokeping in slave mode. Attach to master for >>>> config. >>>> >>>> --slave-name=s By default the slave will use whatever it thinks >>>> its name >>>> is, when talking to its master. In some cases you >>>> may >>>> probably want to override this. >>>> >>>> >>>> --shared-secret=s File containing the shared secret for talking to >>>> the server. >>>> >>>> --cache-dir=s Directory for temporary data storage when running in >>>> slave mode. >>>> >>>> --pid-dir=s Directory for the PID file when running in slave mode. >>>> (optional, defaults to --cache-dir) >>>> >>>> >>>> >>>> 2014-03-11 19:37 GMT+01:00 Kwame Bahena : >>>> >>>> stop smokeping and run it from the console with >>>>> >>>>> smokeping -c /path/to/config_file --nodaemon --debug >>>>> >>>>> and see what errors you get >>>>> >>>>> >>>>> On Tue, Mar 11, 2014 at 12:22 PM, Erlington Cardoza < >>>>> erlington.j at gmail.com> wrote: >>>>> >>>>>> Ok let`s change the public IP into a private so is still the same >>>>>> issue, At the beginning I thought it was an IP problem for security and I >>>>>> tested before but nothing changed. So here is the conf with private IP as I >>>>>> have right know. >>>>>> *** General *** >>>>>> >>>>>> owner = Jade Fox >>>>>> contact = Fox at mail.cr >>>>>> mailhost = mx.mail.cr >>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>> # good for images. >>>>>> cgiurl = http://192.168.1.200/smokeping.cgi >>>>>> # specify this to get syslog logging >>>>>> syslogfacility = local0 >>>>>> # each probe is now run in its own process >>>>>> # disable this to revert to the old behaviour >>>>>> # concurrentprobes = no >>>>>> >>>>>> @include /etc/smokeping/config.d/pathnames >>>>>> >>>>>> Regarding the other suggestion, I have this files: >>>>>> root at Fox:/etc/smokeping/config.d# ls >>>>>> Alerts General Presentation sendmail Targets >>>>>> Database pathnames Probes Slaves >>>>>> >>>>>> In alerts I have values from smokeping webpage: >>>>>> >>>>>> +someloss >>>>>> type = loss >>>>>> # in percent >>>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>>> comment = loss 3 times in a row >>>>>> >>>>>> +lossdetect >>>>>> type = loss >>>>>> # in percent >>>>>> pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20% >>>>>> comment = suddenly there is packet loss >>>>>> >>>>>> +miniloss >>>>>> type = loss >>>>>> # in percent >>>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>>> comment = detected loss 3 times over the last two hours >>>>>> >>>>>> +rttdetect >>>>>> type = rtt >>>>>> # in milliseconds >>>>>> pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 >>>>>> comment = routing messed up again ? >>>>>> >>>>>> +rttbadstart >>>>>> type = rtt >>>>>> # in milliseconds >>>>>> pattern = ==S,==U >>>>>> comment = offline at startup >>>>>> >>>>>> In targets : >>>>>> >>>>>> *** Targets *** >>>>>> >>>>>> probe = FPing >>>>>> menu = Top >>>>>> title = Network Latency Grapher >>>>>> remark = Welcome to the SmokePing website of xxx Company. \ >>>>>> Here you will learn all about the latency of our network. >>>>>> >>>>>> + Luminet >>>>>> >>>>>> menu = Luminet >>>>>> title = Local Network >>>>>> alerts = someloss >>>>>> >>>>>> ++ LocalMachine >>>>>> >>>>>> menu = Local Machine >>>>>> title = This host >>>>>> host = localhost >>>>>> alerts = someloss >>>>>> >>>>>> + Colom >>>>>> menu = Colom >>>>>> title = Colom >>>>>> >>>>>> ++Colom >>>>>> title = ICMP Colom >>>>>> host = 192.168.1.101 >>>>>> alerts = someloss >>>>>> >>>>>> in Probes: >>>>>> +FPing >>>>>> >>>>>> binary = /usr/bin/fping >>>>>> >>>>>> And that's all I have configured. >>>>>> Regards >>>>>> >>>>>> >>>>>> 2014-03-11 19:09 GMT+01:00 Kwame Bahena : >>>>>> >>>>>> There is little help I can provide if you don't share all your >>>>>>> config. >>>>>>> You say that you replaced the values yet in the config you shared I >>>>>>> see: >>>>>>> >>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>> >>>>>>> and also, that's not the only config file you need to work on, you >>>>>>> also need to look in the files in /etc/smokeping/conf.d >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 11, 2014 at 12:06 PM, Erlington Cardoza < >>>>>>> erlington.j at gmail.com> wrote: >>>>>>> >>>>>>>> Yes, I replace the values in this email for security because it has >>>>>>>> a public IP, if not I couldn`t see that my graph has not data... >>>>>>>> >>>>>>>> >>>>>>>> 2014-03-11 19:03 GMT+01:00 Kwame Bahena : >>>>>>>> >>>>>>>> But you need to replace your cgiurl value, is your "my.domain" >>>>>>>>> really your domain? you need to know at least the ip of your server. >>>>>>>>> Do you know the ip of it? >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 11, 2014 at 11:56 AM, Erlington Cardoza < >>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Yeah sorry for my lost, in that guide the config file has the >>>>>>>>>> same configuration of my General file I showed you before. >>>>>>>>>> /etc/smokeping/config.d/General: >>>>>>>>>> >>>>>>>>>> *** General *** >>>>>>>>>> >>>>>>>>>> owner = my owner >>>>>>>>>> contact = owner at mail.com >>>>>>>>>> mailhost = mx.mail.com >>>>>>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>>>>>> # good for images. >>>>>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>>>>> # specify this to get syslog logging >>>>>>>>>> syslogfacility = local0 >>>>>>>>>> # each probe is now run in its own process >>>>>>>>>> # disable this to revert to the old behaviour >>>>>>>>>> # concurrentprobes = no >>>>>>>>>> >>>>>>>>>> @include /etc/smokeping/config.d/pathnames >>>>>>>>>> >>>>>>>>>> I guess it is an older version of smokeping. >>>>>>>>>> Regards >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2014-03-11 18:47 GMT+01:00 Kwame Bahena : >>>>>>>>>> >>>>>>>>>> So you are really lost. >>>>>>>>>>> Follow a howto like this >>>>>>>>>>> http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 11, 2014 at 11:44 AM, Erlington Cardoza < >>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> I`m sorry in the guide I followed it just said type "sudo >>>>>>>>>>>> apt-get install smokeping". I searched that config file with "find" and I >>>>>>>>>>>> found this one: /etc/smokeping/config, and it has this config: >>>>>>>>>>>> >>>>>>>>>>>> @include /etc/smokeping/config.d/General >>>>>>>>>>>> @include /etc/smokeping/config.d/Alerts >>>>>>>>>>>> @include /etc/smokeping/config.d/Database >>>>>>>>>>>> @include /etc/smokeping/config.d/Presentation >>>>>>>>>>>> @include /etc/smokeping/config.d/Probes >>>>>>>>>>>> @include /etc/smokeping/config.d/Slaves >>>>>>>>>>>> @include /etc/smokeping/config.d/Targets >>>>>>>>>>>> >>>>>>>>>>>> is that what you`re talking about? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2014-03-11 18:34 GMT+01:00 Kwame Bahena : >>>>>>>>>>>> >>>>>>>>>>>> The smokeping config file. Do you know where is it? >>>>>>>>>>>>> Did you follow a howto to install and configure it? >>>>>>>>>>>>> >>>>>>>>>>>>> Cheers, >>>>>>>>>>>>> -- >>>>>>>>>>>>> Kwame >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:33 AM, Erlington Cardoza < >>>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Which configuration do you need? smokeping conf or Debian?. >>>>>>>>>>>>>> Which command I need to use? >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2014-03-11 18:31 GMT+01:00 Kwame Bahena >>>>>>>>>>>>> >: >>>>>>>>>>>>>> >>>>>>>>>>>>>> You have an error on your config file. >>>>>>>>>>>>>>> The error says that the file or directory /etc/config does >>>>>>>>>>>>>>> not exist. >>>>>>>>>>>>>>> Can you pastebin your config some place and share it? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Kwame >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza < >>>>>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hey guys, first of all, thanks to oetiker for this >>>>>>>>>>>>>>>> excellent tool. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Second, I have done the command ( smoke --debug ) and my >>>>>>>>>>>>>>>> smokeping says "ERROR: loading smokeping configuration >>>>>>>>>>>>>>>> file /usr/sbin/../etc/config: No such file or directory". >>>>>>>>>>>>>>>> I am using Debian but I am not a master in this O.S by the way. Also, my >>>>>>>>>>>>>>>> local machine does graphics with data but my other host does not appear the >>>>>>>>>>>>>>>> data. In my desesperation I did assigned all of possible permissions to the >>>>>>>>>>>>>>>> other host, like this "-rwx-rwx-rwx 1 smokeping www-data" and I still dont >>>>>>>>>>>>>>>> have data in the new graphic, but in the local machine I do have and Im not >>>>>>>>>>>>>>>> using master-slave configuration. What can I do?. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks and Regards >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> smokeping-users mailing list >>>>>>>>>>>>>>>> smokeping-users at lists.oetiker.ch >>>>>>>>>>>>>>>> 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/20140311/b0b79807/attachment-0001.htm From informatux at gmail.com Tue Mar 11 20:30:17 2014 From: informatux at gmail.com (Kwame Bahena) Date: Tue, 11 Mar 2014 13:30:17 -0600 Subject: [smokeping-users] no data in graphs In-Reply-To: References: Message-ID: Excellent, glad it's now working. Cheers, -- Kwame On Tue, Mar 11, 2014 at 1:22 PM, Erlington Cardoza wrote: > Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom > > it was a RRD, so the conf was on Target section. I commented. > > Also I saw this part: > > FPing: Got fping output: '/usr/bin/fping: cannot bind source address : > Cannot assign requested address > > > I realize mi source IP was being natted, so I change it and It works!!!. > Thanks a lot > > > 2014-03-11 20:02 GMT+01:00 Kwame Bahena : > > Here's the error: >> >> Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom >> >> Check that file >> >> Also, when you reply please use "reply all" so the mailing list has all >> the updates for this thread. >> >> >> On Tue, Mar 11, 2014 at 12:59 PM, Erlington Cardoza < >> erlington.j at gmail.com> wrote: >> >>> after all the calculations it says, >>> >>> Smokeping version 2.006008 successfully launched. >>> Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for >>> that. >>> FPing: probing 2 targets with step 300 s and offset 26 s. >>> FPing: Executing /usr/bin/fping -C 21 -q -B1 -r1 -b5000 -t5000 -i1 >>> -p1500 -S192.168.1.200 -O0x20 192.168.1.101 localhost >>> FPing: Got fping output: '/usr/bin/fping: cannot bind source address : >>> Cannot assign requested address' >>> Calling RRDs::update(/var/lib/smokeping/Luminet/LocalMachine.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 >>> 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) >>> Alert "someloss": no match for target >>> /var/lib/smokeping/Luminet/LocalMachine >>> Calling RRDs::update(/var/lib/smokeping/Columbus/Columbus.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 >>> 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) >>> Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom >>> >>> >>> >>> 2014-03-11 19:43 GMT+01:00 Kwame Bahena : >>> >>> read the manual, >>>> >>>> it says --config=x Use a config file different from the default >>>> >>>> >>>> On Tue, Mar 11, 2014 at 12:42 PM, Erlington Cardoza < >>>> erlington.j at gmail.com> wrote: >>>> >>>>> >>>>> Option c is ambiguous (cache-dir, check, config) >>>>> Usage: >>>>> smokeping [ --email | --makepod | --version | --restart ] >>>>> >>>>> Options: >>>>> >>>>> --man[=x] Show the manpage for the program (or for probe x, if >>>>> specified) >>>>> >>>>> --help Help :-) >>>>> >>>>> --email Send SmokePing Agents to all Targets marked DYNAMIC >>>>> >>>>> --config=x Use a config file different from the default >>>>> >>>>> --check Just check the config file syntax, don't start the >>>>> daemon >>>>> >>>>> --makepod[=x] Create POD documentation on Config file (or for >>>>> probe x, if specified) >>>>> >>>>> --version Show SmokePing Version >>>>> >>>>> --debug Run Only once and do not Fork >>>>> >>>>> --debug-daemon Start the daemon with debugging enabled >>>>> >>>>> --restart Restart SmokePing >>>>> >>>>> --reload Reload configuration in the running process without >>>>> interrupting >>>>> any probes >>>>> >>>>> --nodaemon Do no daemonize the process (no fork) >>>>> >>>>> --filter=x Only measure entries which pass the filter x >>>>> >>>>> --logfile=x Append warnings to logfile x. >>>>> >>>>> --static[=x] Generates a static website in directory x. If x is >>>>> left out, >>>>> pagedir from the config is used. >>>>> >>>>> --nosleep For debugging you may want to run SmokePing without >>>>> sleep interval >>>>> >>>>> --gen-examples Generate the smokeping_examples document and >>>>> example config files >>>>> (to be used while building inside the smokeping >>>>> distribution) >>>>> With --check : check the syntax of the generated >>>>> examples. >>>>> >>>>> --master-url=s Run smokeping in slave mode. Attach to master for >>>>> config. >>>>> >>>>> --slave-name=s By default the slave will use whatever it thinks >>>>> its name >>>>> is, when talking to its master. In some cases you >>>>> may >>>>> probably want to override this. >>>>> >>>>> >>>>> --shared-secret=s File containing the shared secret for talking >>>>> to the server. >>>>> >>>>> --cache-dir=s Directory for temporary data storage when running >>>>> in slave mode. >>>>> >>>>> --pid-dir=s Directory for the PID file when running in slave mode. >>>>> (optional, defaults to --cache-dir) >>>>> >>>>> >>>>> >>>>> 2014-03-11 19:37 GMT+01:00 Kwame Bahena : >>>>> >>>>> stop smokeping and run it from the console with >>>>>> >>>>>> smokeping -c /path/to/config_file --nodaemon --debug >>>>>> >>>>>> and see what errors you get >>>>>> >>>>>> >>>>>> On Tue, Mar 11, 2014 at 12:22 PM, Erlington Cardoza < >>>>>> erlington.j at gmail.com> wrote: >>>>>> >>>>>>> Ok let`s change the public IP into a private so is still the same >>>>>>> issue, At the beginning I thought it was an IP problem for security and I >>>>>>> tested before but nothing changed. So here is the conf with private IP as I >>>>>>> have right know. >>>>>>> *** General *** >>>>>>> >>>>>>> owner = Jade Fox >>>>>>> contact = Fox at mail.cr >>>>>>> mailhost = mx.mail.cr >>>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>>> # good for images. >>>>>>> cgiurl = http://192.168.1.200/smokeping.cgi >>>>>>> # specify this to get syslog logging >>>>>>> syslogfacility = local0 >>>>>>> # each probe is now run in its own process >>>>>>> # disable this to revert to the old behaviour >>>>>>> # concurrentprobes = no >>>>>>> >>>>>>> @include /etc/smokeping/config.d/pathnames >>>>>>> >>>>>>> Regarding the other suggestion, I have this files: >>>>>>> root at Fox:/etc/smokeping/config.d# ls >>>>>>> Alerts General Presentation sendmail Targets >>>>>>> Database pathnames Probes Slaves >>>>>>> >>>>>>> In alerts I have values from smokeping webpage: >>>>>>> >>>>>>> +someloss >>>>>>> type = loss >>>>>>> # in percent >>>>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>>>> comment = loss 3 times in a row >>>>>>> >>>>>>> +lossdetect >>>>>>> type = loss >>>>>>> # in percent >>>>>>> pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20% >>>>>>> comment = suddenly there is packet loss >>>>>>> >>>>>>> +miniloss >>>>>>> type = loss >>>>>>> # in percent >>>>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>>>> comment = detected loss 3 times over the last two hours >>>>>>> >>>>>>> +rttdetect >>>>>>> type = rtt >>>>>>> # in milliseconds >>>>>>> pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 >>>>>>> comment = routing messed up again ? >>>>>>> >>>>>>> +rttbadstart >>>>>>> type = rtt >>>>>>> # in milliseconds >>>>>>> pattern = ==S,==U >>>>>>> comment = offline at startup >>>>>>> >>>>>>> In targets : >>>>>>> >>>>>>> *** Targets *** >>>>>>> >>>>>>> probe = FPing >>>>>>> menu = Top >>>>>>> title = Network Latency Grapher >>>>>>> remark = Welcome to the SmokePing website of xxx Company. \ >>>>>>> Here you will learn all about the latency of our network. >>>>>>> >>>>>>> + Luminet >>>>>>> >>>>>>> menu = Luminet >>>>>>> title = Local Network >>>>>>> alerts = someloss >>>>>>> >>>>>>> ++ LocalMachine >>>>>>> >>>>>>> menu = Local Machine >>>>>>> title = This host >>>>>>> host = localhost >>>>>>> alerts = someloss >>>>>>> >>>>>>> + Colom >>>>>>> menu = Colom >>>>>>> title = Colom >>>>>>> >>>>>>> ++Colom >>>>>>> title = ICMP Colom >>>>>>> host = 192.168.1.101 >>>>>>> alerts = someloss >>>>>>> >>>>>>> in Probes: >>>>>>> +FPing >>>>>>> >>>>>>> binary = /usr/bin/fping >>>>>>> >>>>>>> And that's all I have configured. >>>>>>> Regards >>>>>>> >>>>>>> >>>>>>> 2014-03-11 19:09 GMT+01:00 Kwame Bahena : >>>>>>> >>>>>>> There is little help I can provide if you don't share all your >>>>>>>> config. >>>>>>>> You say that you replaced the values yet in the config you shared I >>>>>>>> see: >>>>>>>> >>>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>>> >>>>>>>> and also, that's not the only config file you need to work on, you >>>>>>>> also need to look in the files in /etc/smokeping/conf.d >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 11, 2014 at 12:06 PM, Erlington Cardoza < >>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>> >>>>>>>>> Yes, I replace the values in this email for security because it >>>>>>>>> has a public IP, if not I couldn`t see that my graph has not data... >>>>>>>>> >>>>>>>>> >>>>>>>>> 2014-03-11 19:03 GMT+01:00 Kwame Bahena : >>>>>>>>> >>>>>>>>> But you need to replace your cgiurl value, is your "my.domain" >>>>>>>>>> really your domain? you need to know at least the ip of your server. >>>>>>>>>> Do you know the ip of it? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 11, 2014 at 11:56 AM, Erlington Cardoza < >>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Yeah sorry for my lost, in that guide the config file has the >>>>>>>>>>> same configuration of my General file I showed you before. >>>>>>>>>>> /etc/smokeping/config.d/General: >>>>>>>>>>> >>>>>>>>>>> *** General *** >>>>>>>>>>> >>>>>>>>>>> owner = my owner >>>>>>>>>>> contact = owner at mail.com >>>>>>>>>>> mailhost = mx.mail.com >>>>>>>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>>>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>>>>>>> # good for images. >>>>>>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>>>>>> # specify this to get syslog logging >>>>>>>>>>> syslogfacility = local0 >>>>>>>>>>> # each probe is now run in its own process >>>>>>>>>>> # disable this to revert to the old behaviour >>>>>>>>>>> # concurrentprobes = no >>>>>>>>>>> >>>>>>>>>>> @include /etc/smokeping/config.d/pathnames >>>>>>>>>>> >>>>>>>>>>> I guess it is an older version of smokeping. >>>>>>>>>>> Regards >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2014-03-11 18:47 GMT+01:00 Kwame Bahena : >>>>>>>>>>> >>>>>>>>>>> So you are really lost. >>>>>>>>>>>> Follow a howto like this >>>>>>>>>>>> http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:44 AM, Erlington Cardoza < >>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I`m sorry in the guide I followed it just said type "sudo >>>>>>>>>>>>> apt-get install smokeping". I searched that config file with "find" and I >>>>>>>>>>>>> found this one: /etc/smokeping/config, and it has this config: >>>>>>>>>>>>> >>>>>>>>>>>>> @include /etc/smokeping/config.d/General >>>>>>>>>>>>> @include /etc/smokeping/config.d/Alerts >>>>>>>>>>>>> @include /etc/smokeping/config.d/Database >>>>>>>>>>>>> @include /etc/smokeping/config.d/Presentation >>>>>>>>>>>>> @include /etc/smokeping/config.d/Probes >>>>>>>>>>>>> @include /etc/smokeping/config.d/Slaves >>>>>>>>>>>>> @include /etc/smokeping/config.d/Targets >>>>>>>>>>>>> >>>>>>>>>>>>> is that what you`re talking about? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> 2014-03-11 18:34 GMT+01:00 Kwame Bahena >>>>>>>>>>>>> : >>>>>>>>>>>>> >>>>>>>>>>>>> The smokeping config file. Do you know where is it? >>>>>>>>>>>>>> Did you follow a howto to install and configure it? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Kwame >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:33 AM, Erlington Cardoza < >>>>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Which configuration do you need? smokeping conf or Debian?. >>>>>>>>>>>>>>> Which command I need to use? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2014-03-11 18:31 GMT+01:00 Kwame Bahena < >>>>>>>>>>>>>>> informatux at gmail.com>: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> You have an error on your config file. >>>>>>>>>>>>>>>> The error says that the file or directory /etc/config does >>>>>>>>>>>>>>>> not exist. >>>>>>>>>>>>>>>> Can you pastebin your config some place and share it? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Kwame >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza < >>>>>>>>>>>>>>>> erlington.j at gmail.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hey guys, first of all, thanks to oetiker for this >>>>>>>>>>>>>>>>> excellent tool. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Second, I have done the command ( smoke --debug ) and my >>>>>>>>>>>>>>>>> smokeping says "ERROR: loading smokeping configuration >>>>>>>>>>>>>>>>> file /usr/sbin/../etc/config: No such file or directory". >>>>>>>>>>>>>>>>> I am using Debian but I am not a master in this O.S by the way. Also, my >>>>>>>>>>>>>>>>> local machine does graphics with data but my other host does not appear the >>>>>>>>>>>>>>>>> data. In my desesperation I did assigned all of possible permissions to the >>>>>>>>>>>>>>>>> other host, like this "-rwx-rwx-rwx 1 smokeping www-data" and I still dont >>>>>>>>>>>>>>>>> have data in the new graphic, but in the local machine I do have and Im not >>>>>>>>>>>>>>>>> using master-slave configuration. What can I do?. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks and Regards >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>> smokeping-users mailing list >>>>>>>>>>>>>>>>> smokeping-users at lists.oetiker.ch >>>>>>>>>>>>>>>>> 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/20140311/6a43da55/attachment-0001.htm From paul.mansfield+smokeping at grapeshot.co.uk Wed Mar 12 15:17:47 2014 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Wed, 12 Mar 2014 14:17:47 +0000 Subject: [smokeping-users] no data in graphs In-Reply-To: References: Message-ID: here's my smokeping slave startup script which runs the slave as user smokeping; add the "-c" option to specify a config file if needed. #!/bin/bash if [ "$1" == "-d" ] ; then OPTS="--debug-daemon --nodaemon" fi su - smokeping -s /bin/bash -c "/usr/local/smokeping/bin/smokeping $OPTS --master-url=http://smokeping.example.com --cache-dir=/usr/local/smokeping/cache --shared-secret=/usr/local/smokeping/etc/secret" here's my master start script #!/bin/bash if [ "$1" == "-d" ] ; then OPTS="--debug-daemon --nodaemon" fi cd /usr/local/smokeping chown -R smokeping:smokeping data chmod -R g+w cache data var su - smokeping -s /bin/bash -c "cd /usr/local/smokeping ; bin/smokeping $OPTS" From adam.lis at gmail.com Fri Mar 14 19:18:49 2014 From: adam.lis at gmail.com (Adam Lis) Date: Fri, 14 Mar 2014 19:18:49 +0100 Subject: [smokeping-users] nomasterpoll still creates RRDs Message-ID: Ehlo! I'm using Smokeping 2.6.9 and defined target subgroup with "nomasterpoll = yes" present in config. Seems this works quite well - on web interface I see no graphs for tests taken from master host. But still at restart or config reload of Smokeping daemon it keeps creating RRDs for these hosts. So assuming I test host 'foo' from slave 'bar' I get two files in certain RRDs directory: foo.rrd foo~bar.rrd You might have guess that "foo.rrd" is not expected here. Seems it would be not so big problem if my RRDs would be smaller. In fact my RRDs are quite big. But even if there would be smaller RRDs, this still would not look well. Both slave and master running on Debian 7, Smokeping 2.6.9 "compiled" from .tar.gz - seems to me that unnecessary RRDs are recreated by deamon part of Smokeping, not the Web part (maybe due to fact webserver user do not have right to create files there?) Any option to fix this by config or anyhow? Regards; AdamLis; From kwyde-021 at yahoo.fr Mon Mar 24 19:35:50 2014 From: kwyde-021 at yahoo.fr (kwyde-021 at yahoo.fr) Date: Mon, 24 Mar 2014 18:35:50 +0000 (GMT) Subject: [smokeping-users] Ping stopping periodically Message-ID: <1395686150.14193.YahooMailBasic@web133206.mail.ir2.yahoo.com> Hello, I am running Smokeping 2.2.4 on Windows 7. The ping stop periodically for some remote servers (only the ones with public IP address) and start again when I log on to the server. Obviously, the destinations are still reachable when it stops. Smokeping works well on some other servers running Windows too. Do you have any idea to identify the source of the problem ? Tell me if you need any further information. Thank you. Fran?ois From gregs at sloop.net Mon Mar 24 20:22:39 2014 From: gregs at sloop.net (Greg Sloop ) Date: Mon, 24 Mar 2014 12:22:39 -0700 Subject: [smokeping-users] Ping stopping periodically In-Reply-To: <1395686150.14193.YahooMailBasic@web133206.mail.ir2.yahoo.com> References: <1395686150.14193.YahooMailBasic@web133206.mail.ir2.yahoo.com> Message-ID: I'm not sure if this mirrors your symptoms, but I've seen cases where a target is unreachable for some time - lets call it "Target A" Yet, for some reason, targets B, C, D, E and F, which are NOT down simply quit logging data and appear down. I expect this is because fping hangs [or some other process does] and even though B-F are not down, and only "A" is down, they all appear down. I haven't seen this behavior recently, but I haven't had any targets that are down for many hours at once, recently, either. HTH -Greg On Mon, Mar 24, 2014 at 11:35 AM, wrote: > Hello, > > I am running Smokeping 2.2.4 on Windows 7. The ping stop periodically for > some remote servers (only the ones with public IP address) and start again > when I log on to the server. Obviously, the destinations are still > reachable when it stops. > > Smokeping works well on some other servers running Windows too. > > Do you have any idea to identify the source of the problem ? > Tell me if you need any further information. > Thank you. > > Fran?ois > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > 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/20140324/15c11124/attachment.htm From erlington.j at gmail.com Mon Mar 24 20:33:19 2014 From: erlington.j at gmail.com (Erlington Cardoza) Date: Mon, 24 Mar 2014 13:33:19 -0600 Subject: [smokeping-users] Ping stopping periodically In-Reply-To: References: <1395686150.14193.YahooMailBasic@web133206.mail.ir2.yahoo.com> Message-ID: In my personal experiencie, the smokeping server was too far to the target. So mi graphs were in blank for specific periods of time due to the latency. 2014-03-24 13:22 GMT-06:00 Greg Sloop : > I'm not sure if this mirrors your symptoms, but I've seen cases where a > target is unreachable for some time - lets call it "Target A" > > Yet, for some reason, targets B, C, D, E and F, which are NOT down simply > quit logging data and appear down. I expect this is because fping hangs [or > some other process does] and even though B-F are not down, and only "A" is > down, they all appear down. > > I haven't seen this behavior recently, but I haven't had any targets that > are down for many hours at once, recently, either. > > HTH > -Greg > > > > On Mon, Mar 24, 2014 at 11:35 AM, wrote: > >> Hello, >> >> I am running Smokeping 2.2.4 on Windows 7. The ping stop periodically for >> some remote servers (only the ones with public IP address) and start again >> when I log on to the server. Obviously, the destinations are still >> reachable when it stops. >> >> Smokeping works well on some other servers running Windows too. >> >> Do you have any idea to identify the source of the problem ? >> Tell me if you need any further information. >> Thank you. >> >> Fran?ois >> >> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140324/29df365f/attachment.htm From kt at avis.no Mon Mar 31 08:52:45 2014 From: kt at avis.no (Thorstensen, Kjetil) Date: Mon, 31 Mar 2014 06:52:45 +0000 Subject: [smokeping-users] New browsers do not show graphs Message-ID: <814B488316DAF54FBDB3DDEEA2F5B59234253E5A@N10OS2CE16CN1.N10.tconet.net> Hi. This may be a n00b question, but still ... I've got Smokeping 2.4.2 running very well - my only problem is that I have to use Internet Explorer 8 or older to view the graphs, otherwise they do not show up. I have tried with IE 10 and 11, Chrome 33 and Firefox 25 with the same results. - Is it fixable? or - Can I upgrade my installation fairly easily? or - Can I set up a new installation and copy the config file from my current one? /Kjetil "The true definition of madness is repeating the same action, over and over, hoping for a different result." Albert Einstein -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140331/67b8fd6e/attachment-0001.htm From paul.mansfield+smokeping at grapeshot.co.uk Mon Mar 31 12:58:50 2014 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Mon, 31 Mar 2014 11:58:50 +0100 Subject: [smokeping-users] New browsers do not show graphs In-Reply-To: <814B488316DAF54FBDB3DDEEA2F5B59234253E5A@N10OS2CE16CN1.N10.tconet.net> References: <814B488316DAF54FBDB3DDEEA2F5B59234253E5A@N10OS2CE16CN1.N10.tconet.net> Message-ID: what do you see in the web logs when using a "broken" browser? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140331/46144aab/attachment.htm From paul.mansfield+smokeping at grapeshot.co.uk Mon Mar 31 14:41:24 2014 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Mon, 31 Mar 2014 13:41:24 +0100 Subject: [smokeping-users] New browsers do not show graphs In-Reply-To: <814B488316DAF54FBDB3DDEEA2F5B59234254718@N10OS2CE16CN1.N10.tconet.net> References: <814B488316DAF54FBDB3DDEEA2F5B59234253E5A@N10OS2CE16CN1.N10.tconet.net> <814B488316DAF54FBDB3DDEEA2F5B59234254718@N10OS2CE16CN1.N10.tconet.net> Message-ID: (I restored the list as a recipient; see far below for Kjetil's response direct to me) I think you must have set up web server incorrectly. Here's some bits of my apache vhost config DocumentRoot /usr/local/smokeping/htdocs Options +ExecCGI Addhandler fcgid-script * Order allow,deny Allow from 192.168.0.0/24 DirectoryIndex smokeping.fcgi Alias /cache /usr/local/smokeping/cache Allow from all That should stop a bunch of the 404s. Don't forget to kill all the fcgi processes after reloading apache ("apachectl graceful" for example). On 31 March 2014 13:09, Thorstensen, Kjetil wrote: > There are quite a lot of these messages in error_log - but they refer to > the server where I *am* able to see graphics as well as the PC where I > can't - below: > > > > [Mon Mar 31 14:01:45 2014] [error] [client 10.99.24.125] script not found > or unable to stat: /var/www/cgi-bin/cropper, referer: > http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External > > > > In access_log it looks like this: > > 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET > /cgi-bin/smokeping.cgi?target=RAC.External HTTP/1.1" 200 6899 " > http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" > "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/33.0.1750.154 Safari/537.36" > > 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET > /cgi-bin/cropper/lib/scriptaculous.js?load=builder,dragdrop HTTP/1.1" 404 > 310 "http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" > "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/33.0.1750.154 Safari/537.36" > > 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET > /cgi-bin/cropper/lib/prototype.js HTTP/1.1" 404 306 " > http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" > "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/33.0.1750.154 Safari/537.36" > > 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET > /cgi-bin/cropper/cropper.js HTTP/1.1" 404 300 " > http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" > "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/33.0.1750.154 Safari/537.36" > > 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET > /cgi-bin/cropper/smokeping-zoom.js HTTP/1.1" 404 307 " > http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" > "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/33.0.1750.154 Safari/537.36" > > > > > > > > Kind regards > > /Kjetil > > > > *From:* smokeping-users-bounces+kt=avis.no at lists.oetiker.ch [mailto: > smokeping-users-bounces+kt=avis.no at lists.oetiker.ch] *On Behalf Of *Paul > Mansfield > *Sent:* 31. mars 2014 12:59 > *To:* smokeping-users at lists.oetiker.ch > *Subject:* Re: [smokeping-users] New browsers do not show graphs > > > > > > what do you see in the web logs when using a "broken" browser? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140331/b1b67db8/attachment.htm From kt at avis.no Mon Mar 31 14:59:57 2014 From: kt at avis.no (Thorstensen, Kjetil) Date: Mon, 31 Mar 2014 12:59:57 +0000 Subject: [smokeping-users] New browsers do not show graphs In-Reply-To: References: <814B488316DAF54FBDB3DDEEA2F5B59234253E5A@N10OS2CE16CN1.N10.tconet.net> <814B488316DAF54FBDB3DDEEA2F5B59234254718@N10OS2CE16CN1.N10.tconet.net> Message-ID: <814B488316DAF54FBDB3DDEEA2F5B59234254811@N10OS2CE16CN1.N10.tconet.net> /etc/httpd/conf/httpd.conf: Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all There are no 404's though, because I get the sidebar with the list of monitored hosts, but just the "broken page" icon on the right: [cid:image001.png at 01CF4CF1.E13C52D0] /Kjetil From: smokeping-users-bounces+kt=avis.no at lists.oetiker.ch [mailto:smokeping-users-bounces+kt=avis.no at lists.oetiker.ch] On Behalf Of Paul Mansfield Sent: 31. mars 2014 14:41 To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] New browsers do not show graphs (I restored the list as a recipient; see far below for Kjetil's response direct to me) I think you must have set up web server incorrectly. Here's some bits of my apache vhost config DocumentRoot /usr/local/smokeping/htdocs Options +ExecCGI Addhandler fcgid-script * Order allow,deny Allow from 192.168.0.0/24 DirectoryIndex smokeping.fcgi Alias /cache /usr/local/smokeping/cache Allow from all That should stop a bunch of the 404s. Don't forget to kill all the fcgi processes after reloading apache ("apachectl graceful" for example). On 31 March 2014 13:09, Thorstensen, Kjetil > wrote: There are quite a lot of these messages in error_log - but they refer to the server where I am able to see graphics as well as the PC where I can't - below: [Mon Mar 31 14:01:45 2014] [error] [client 10.99.24.125] script not found or unable to stat: /var/www/cgi-bin/cropper, referer: http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External In access_log it looks like this: 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET /cgi-bin/smokeping.cgi?target=RAC.External HTTP/1.1" 200 6899 "http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET /cgi-bin/cropper/lib/scriptaculous.js?load=builder,dragdrop HTTP/1.1" 404 310 "http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET /cgi-bin/cropper/lib/prototype.js HTTP/1.1" 404 306 "http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET /cgi-bin/cropper/cropper.js HTTP/1.1" 404 300 "http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" 10.99.24.125 - - [31/Mar/2014:14:06:49 +0200] "GET /cgi-bin/cropper/smokeping-zoom.js HTTP/1.1" 404 307 "http://10.99.20.91/cgi-bin/smokeping.cgi?target=RAC.External" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" Kind regards /Kjetil From: smokeping-users-bounces+kt=avis.no at lists.oetiker.ch [mailto:smokeping-users-bounces+kt=avis.no at lists.oetiker.ch] On Behalf Of Paul Mansfield Sent: 31. mars 2014 12:59 To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] New browsers do not show graphs what do you see in the web logs when using a "broken" browser? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140331/9b86489c/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 6377 bytes Desc: image001.png Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140331/9b86489c/attachment-0001.png