See >> below...<br><br>
<div><span class="gmail_quote">On 2/3/09, <b class="gmail_sendername">Jonte Regnéll</b> <<a href="mailto:jonte%2Bsmokeping@yojimbo.org">jonte+smokeping@yojimbo.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Guy,<br><br>> Thanks Jonte!! It's practically working! :)<br><br>Excellent.<br><br>> I'm just having problems with permissions on the folder that keeps the<br>
> data. Also, the images that appear on the smokeping page (counter) all I<br>> get are x's where the pictures(graphs) should be... I checked the apache<br>> error logs... gonna have to work on that.<br>><br>
> My _chartscache is located here: /var/www/html/smokeping/img when I put<br>> a test html file, I get error 403.. so I know it's a permission problem.<br>><br>> If anyone has some recommendations, I'd be glad to hear them... but I'll<br>
> be trying to figure it all out anyways...<br>><br>> Thanks for all your help... the rpm was nice and easy :) I started to<br>> manually install, ./configure etc.. man.. way too many dependencies, then<br>> more dependencies to get other dependencies to work!! wtf! :P he he..<br>
<br>Good to hear you found the RPM useful. I do think you have a slightly<br>mixed configuration at the moment. Your "_chartscache_", which I presume<br>is the "_imgcache_" variable in your config, makes me think you haven't<br>
given up your old hand rolled attempt completely.<br><br>The location you list above would on a normal server end up as<br><a href="http://localhost/smokeping/img">http://localhost/smokeping/img</a> assuming your webroot is /var/www/html.<br>
When you installed the RPM you get an apache application config file<br>installed into /etc/httpd/conf.d called smokeping. It will configure<br>your apache server how to work with the installed smokeping setup.<br>Unless you have edited this file, and I will for the time being assume<br>
that you haven't, there is an Alias that point /smokeping to<br>/usr/share/smokeping/htdocs and there is no img folder in there which is<br>why you see the 403 error.<br>You prob want to create the proper fqdn URL to the last two redirect<br>
statements here, but it's really more of old legacy support.<br><br>Try starting over from scratch and rename all the *.rpmnew files to there<br>original name, it should start working easily after you provide the basic<br>
changes to this like the actual fqdn part of the cgiurl, Owner and contact<br>etc.<br><br>When you are done the URL for your installation should be<br><a href="http://your.fqdn.goes.here.com/smokeping/sm.cgi">http://your.fqdn.goes.here.com/smokeping/sm.cgi</a><br>
<br>Please remember that smokeping works in two steps. You have the collector<br>which does all the work, it stores it in rrdtool databases. The last and<br>final step is the web interface which just creates the graphs you are<br>
asking it for.<br><br>You might want to enable the process to launch on startup<br>"/sbin/chkconfig smokeping on" And to test to launch it once you changed<br>your config to what you think it should be "/sbin/services smokeping<br>
start"<br>as the sm.cgi script reads the config file too and starting the service is<br>a good way to make sure the syntax is of the file is correct.</blockquote>
<div> </div>
<div> </div>
<div>>> I try to put what you typed below into the smokeping.conf file, but then I can't get to the page.</div>
<div> </div>
<div>>>Where exactly does it go? Between <Directory "/usr/share/smokeping"> and </Directory> ?</div>
<div> </div>
<div>>>Can you give me an example? Otherwise, everything looks great right now :)</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">BTW another issue, you might want to speed up the page with mod_perl.<br>Just "yum install mod_perl" and you've done the hard part. Then in the<br>
conf.d/smokeping file you need to add this to the "<Directory<br>"/usr/share/smokeping" >" declaration.<br><br>---<br>SetHandler perl-script<br>PerlResponseHandler ModPerl::Registry<br>PerlOptions +ParseHeaders<br>
---<br><br>Please notice that with mod_perl (as for any cgi speedup process) you will<br>need to restart the webserver (as well as the normal need to restart<br>smokeping) before any changes to your "config" file takes effect. So apply<br>
it only once your done making changes to your smokeping setup.<br><br>YMMV but I hope that someone finds this helpful, enjoy and good luck.<br><br>Regards,<br>Jonte.<br><br>_______________________________________________<br>
smokeping-users mailing list<br><a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
</blockquote></div><br>