<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello all--<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've just spent two days playing with smokeping, getting myself<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">acquainted. And I thought I'd be helpful to those who come after me,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">and share a few problems and solutions.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">a. I spent over 4 hours trying to get the website to work. In the end,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> I got a bunch of "500" result codes from the fcgid stuff in httpd,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> and a bunch of broken links. So, I basically erased it all,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> and started almost from scratch, and followed the instructions<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> very carefully at:<br> <a href="http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/">http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> I also read some emails from here warning that following such "unauthorized"<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> cookbooks can lead to disaster, but happily, for my situation, with centos6, it<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> worked great. I was mostly up and running in less than an hour.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">b. If you get this in your http error_log:<br><br>[Fri Jan 30 15:55:09 2015] [warn] [client 67.67.67.67] mod_fcgid: stderr: [Fri Jan 30 15:55:09 2015] smokeping_cgi [client 67.67.67.67]: Can't call method "_pings<br>" on an undefined value at /opt/smokeping/bin/../lib/Smokeping.pm line 888., referer: <a href="http://smokeping.voclarion.com/smokeping/smokeping.cgi?target=Host3">http://smokeping.voclarion.com/smokeping/smokeping.cgi?target=Host3</a><br>[Fri Jan 30 15:55:15 2015] [warn] mod_fcgid: cleanup zombie process 19016<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> ... You might seriously consider that you are making a reference to a target<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> in a Multi-host graph. Make sure you spell your host names right!<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> c. If you see this:<br><br>[Fri Jan 30 10:27:25 2015] [error] [client 67.67.67.67] Premature end of script headers: cropper.js, referer: <a href="http://199.199.199.199/smokeping/cgi-bin/smokeping.fcgi">http://199.199.199.199/smokeping/cgi-bin/smokeping.fcgi</a>?<br>target=Test.Host1<br>[Fri Jan 30 10:27:26 2015] [warn] [client 67.67.67.67] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: <a href="http://199.199.199.199">http://199.199.199.199</a><br>/smokeping/cgi-bin/smokeping.fcgi?target=Test.Host1<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> ... Again, make sure you all your refs will match a def!<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">And, so, having spent sooo much time on such trivial issues, I have two suggestions, whose<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">implementation, I believe, might spare more than a few users some large amounts of <br>wasted time:<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">1. Please, add some code to do a quick check of every ref, to make sure the<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> it matches a def, and if not, returns the line number, and the ref string itself.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> I ran with the --check option, and nothing popped up. <br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">2. Some scripts for each major OS, to install the web interface, would be <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> very helpful. I fully notice and appreciate the fact that the web code and<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> daemon code are irrevocably intermingled.... but I also see that they are<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> so tied together, that it is a mistake to separate the two and let the users<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> fend for themselves when it comes to installing the goodies in apache. <br> The "optimal" (or something as close as practical) way<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> to do the integration between the two needs some attention.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'd help with either, but... no spare time right now. Others are closer to the code<br>and able to implement these kinds of things faster/better than I, lowly newbie that I am.<br><br>murf<br><br></div><div class="gmail_signature"><div dir="ltr"><br></div></div>
</div>