I am installing smokeping on request from a manager.  I am not a PERL CGI guru which is probably why I am having so much trouble.  I find myself trying to HACK the solution as I cannot find the appropriate help I need.  I also have little inkling in what smokeping can do.  I know it is a latency monitor but when someone like me looks at the config file you get the feeling that you should already know about smokeping inside and out.  Okay enough ranting (sorry) just so frustrated.  Here is what I have done so far.
<br><br>I believe I have a successful install.&nbsp; I can run smokeping from the command line and I see it running in ps and messages in /var/log/messages but I do not know what it produces.&nbsp; Meaning is there a directory to watch for data it collects?&nbsp; What am I looking for?&nbsp; I have smokeping started/running as root ... I assume this is correct as I did not see mention to the contrary.
<br><br>Then I get to the CGI part.&nbsp; My apache is from a standard redhat rpm install and configured for CGI and runs as the apache user.&nbsp; I have speedy installed because once I activate the cgi I see that speedy is running.&nbsp; When I go to the 
smokeping.cgi in the browser I see some things incluing the left hand menu but I do not see the rrdtool and smokeping images that are supposed to be displayed at the bottom of the menu.&nbsp; My apache error log has this:<br><br>
Thu Dec 06 13:13:02 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] [Thu Dec&nbsp; 6 13:13:02 2007] smokeping.cgi [client <a href="http://10.3.120.227">10.3.120.227</a>]: Use of uninitialized value in split at /opt/smokeping/lib/Smokeping.pm line 1359.
<br>[Thu Dec 06 13:13:03 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/smokeping.png&#39; failed, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi">
http://10.3.120.131/cgi-bin/smokeping.cgi</a>?<br>[Thu Dec 06 13:13:03 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] Premature end of script headers: smokeping.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi">
http://10.3.120.131/cgi-bin/smokeping.cgi</a>?<br>[Thu Dec 06 13:13:03 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/rrdtool.png&#39; failed, referer:
<a href="http://10.3.120.131/cgi-bin/smokeping.cgi">http://10.3.120.131/cgi-bin/smokeping.cgi</a>?<br>[Thu Dec 06 13:13:03 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] Premature end of script headers: 
rrdtool.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi">http://10.3.120.131/cgi-bin/smokeping.cgi</a>?<br><br>The first one is because I think I have commented out the slave section in the config as I don&#39;t need it and really don&#39;t understand it yet.&nbsp; I am really confused because it looks like the images are trying to be exec&#39;d ??&nbsp; I have looked around on the net but cannot seem to find an answer. Here are my directory heirarchies.&nbsp; I have apache owning cgi-bin and html and all the way down beneath them 
<br><br>This is the error log when I select a target machine (joesgarage)<br><br>[Thu Dec 06 13:42:51 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/CapeComputing/joesgarage_last_108000.png&#39; failed, referer: 
<a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br>[Thu Dec 06 13:42:51 2007] [error] [client <a href="http://10.3.120.227">
10.3.120.227</a>] Premature end of script headers: joesgarage_last_108000.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage
</a><br>[Thu Dec 06 13:42:51 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/CapeComputing/joesgarage_last_10800.png&#39; failed, referer: 
<a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br>[Thu Dec 06 13:42:51 2007] [error] [client <a href="http://10.3.120.227">
10.3.120.227</a>] Premature end of script headers: joesgarage_last_10800.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage
</a><br>[Thu Dec 06 13:42:51 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/CapeComputing/joesgarage_last_864000.png&#39; failed, referer: 
<a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br>[Thu Dec 06 13:42:51 2007] [error] [client <a href="http://10.3.120.227">
10.3.120.227</a>] Premature end of script headers: joesgarage_last_864000.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage
</a><br>[Thu Dec 06 13:42:52 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/CapeComputing/joesgarage_last_34560000.png&#39; failed, referer: 
<a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br>[Thu Dec 06 13:42:52 2007] [error] [client <a href="http://10.3.120.227">
10.3.120.227</a>] Premature end of script headers: joesgarage_last_34560000.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage
</a><br>[Thu Dec 06 13:42:52 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/smokeping.png&#39; failed, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">
http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br>[Thu Dec 06 13:42:52 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] Premature end of script headers: smokeping.png, referer: 
<a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br>[Thu Dec 06 13:42:52 2007] [error] [client <a href="http://10.3.120.227">
10.3.120.227</a>] (8)Exec format error: exec of &#39;/var/www/cgi-bin/image-cache/rrdtool.png&#39; failed, referer:<a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage
</a><br>[Thu Dec 06 13:42:52 2007] [error] [client <a href="http://10.3.120.227">10.3.120.227</a>] Premature end of script headers: rrdtool.png, referer: <a href="http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage">
http://10.3.120.131/cgi-bin/smokeping.cgi?target=CapeComputing.joesgarage</a><br><br><br>/var/www<br><br>drwxr-xr-x 3 apache apache 4096 Dec&nbsp; 5 15:05&nbsp;&nbsp; cgi-bin<br>drwxr-xr-x 3 root&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Dec&nbsp; 4 16:29&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error
<br>drwxr-xr-x 3 apache apache 4096 Dec&nbsp; 6 13:09&nbsp;&nbsp; html<br>drwxr-xr-x 3 root&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Dec&nbsp; 4 16:29&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icons<br><br clear="all">/var/www/cgi-bin&nbsp; looks like this<br><br>-rwxr-xr-x 1 apache apache&nbsp; 314 Dec&nbsp; 5 12:43 
test.cgi<br>-rwxr-xr-x 1 apache apache 2599 Dec&nbsp; 5 12:56 smokeping.cgi<br>drwxr-xr-x 4 apache apache 4096 Dec&nbsp; 5 15:35 image-cache<br><br>
/var/www/cgi-bin/image-cache&nbsp; looks like this<br><br>rwxr-xr-x 2 apache apache 4096 Dec&nbsp; 5 15:35 CapeComputing<br>drwxr-xr-x 2 apache apache 4096 Dec&nbsp; 5 15:31 __chartscache<br>-rwxr-xr-x 1 apache apache 3908 Dec&nbsp; 5 14:52 
rrdtool.png<br>-rwxr-xr-x 1 apache apache 4382 Dec&nbsp; 5 14:52 smokeping.png<br><br>/var/www/cgi-bin/image-cache/CapeComputing&nbsp; looks like this<br><br>-rw-r--r-- 1 apache apache 13158 Dec&nbsp; 5 17:10 joesgarage_mini.png<br>-rw-r--r-- 1 apache apache 13883 Dec&nbsp; 5 17:10 workflow-server_mini.png
<br><br>These are the two machines I have setup in the config file to monitor<br>
<br>I can post my config file if you need me too.<br><br>Basically why am I getting these errors?&nbsp; I know it is something I have done or not done but I followed the instructions as best I could.<br><br>thanks<br><br>&nbsp;Doug
<br><br><br><br><br><br>-- <br>What profits a man if he gains the whole world yet loses his soul?