[smokeping-users] FW: Graphics Not Displaying

Steve.Gingolaski at tevausa.com Steve.Gingolaski at tevausa.com
Wed Jul 7 05:29:12 MEST 2004


Greetings - 
 

Thanks for the quick response however I do not believe that the answer is
so obvious.

 

If I pull up the graphic directly from the directory with a web browser
file:///usr/local/apache2/htdocs/smoke/Cisco1_RTR_2600_mini.png

the graphic displays with no problem.

 

Only when I try and view and the graphics via smokeping.cgi do I get the
error telling me that the file is not found.

The requested URL /usr/local/apache2/htdocs/smoke/Cisco1_RTR_2600_mini.png

was not found on this server.

 

BUT IT IS THE SAME DIRECTORY!

 

So the images are there, I can see them when I grab them manually but not
through smokeping.cgi.

 

/etc/config

 

owner    = TEVA USA

contact  = sgingola at tevausa.com

#mailhost = smtp.mailhost.abc

#sendmail = /usr/lib/sendmail

imgcache = /usr/local/apache2/htdocs/smoke

imgurl   = /usr/local/apache2/htdocs/smoke

datadir  = /home/smoke

piddir  = /home/smoke/piddir

cgiurl   = http://X.X.7.198/cgi-bin/smokeping.cgi

smokemail = /usr/local/smokeping/etc/smokemail.dist

# specify this to get syslog logging

# syslogfacility = local0

 

Here is an extract from the ./bin/smokeping:

 

#!/usr/local/bin/perl -w

# -*-perl-*-

use lib qw(/usr/local/rrdtool/lib/perl);

use lib qw(/usr/local/rrdtool/lib/perl);

use lib qw(/usr/local/rrdtool/lib/perl);

use lib qw(/usr/local/smokeping/lib);

use Smokeping 1.29;

Smokeping::main("/usr/local/smokeping/etc/config");

 

 This is an extract from my smokeping.cgi file:

 

#!/usr/bin/speedy -w

# -*-perl-*-

use lib qw(/usr/local/rrdtool/lib/perl);

use lib qw(/usr/local/smokeping/lib);

use Smokeping 1.29;

Smokeping::cgi("/usr/local/smokeping/etc/config");

 

There is an error in the Apache error_log:

 

 [Tue Jul 06 15:41:49 2004] [error] [client X.X.4.153] File does not
exist: /usr/local/apache2/htdocs/usr, referer:
http://X.X.7.198/cgi-bin/smokeping.cgi

 

I am using RRDTool 1.0.38

Everything is working great with my MRTG graphs.

 

Also a lot of the included text that I put into the original email never
made it through the list server.  Not sure why that happened.

 

Thanks,

 

Steve Gingolaski

 



--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list