Title: Re: [smokeping-users] Severe lag when restarting Smokeping and webpage timing out.
You are running 2.6.9 given the output. [2.006009 = 2 . 006 . 009 ]

Hmmm. 

Do those host names [i.e. larender001a] really resolve properly from the SP box? [i.e. without a FQDN? Does "fping larender001a" from a command prompt actually end up resolving?]
This would only work if the DNS suffix handled things properly, I think.

But the debug log should show you if there's a problem in any of those things - and you show part of it below. Grab a *complete* debug output and carefully look at it.

If there's parts you don't understand we are glad to help.

Here's a quick FAQ of the "usual" problems and how to solve them.

https://github.com/oetiker/SmokePing/issues/11

tl;dr
Review the smokeping debug logs. Make sure the RRD's are getting written. [Data in]
Review the apache logs to see if Apache is able to get to the RRDs. [Data out]
(Slaves are a somewhat special case - since in their case, Apache is writing the data for the slaves to the RRD's.)

-Greg




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 <
gr...@sloop.net> 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


-- 
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail: 
gr...@sloop.net
http://www.sloop.net
---
_______________________________________________
smokeping-users mailing list
smokeping-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to