thats exactly what i thought, heres what smokeping.cgi looks like:
[EMAIL PROTECTED] smokeping]# cat
/var/www/cgi-bin/smokeping/smokeping.cgi
#!/usr/bin/perl -w
# -*-perl-*-
use lib qw(/usr/local/rrdtool-1.0.33/lib/perl);
use lib qw(/var/www/cgi-bin/smokeping/lib);
use lib qw(/usr/lib/perl5/site_perl/5.6.1/CGI);
use Smokeping 1.18;
Smokeping::main("/var/www/cgi-bin/smokeping/etc/config");
BEGIN {
if ($ENV{SERVER_SOFTWARE}) {
$SIG{__WARN__} = sub { print "Content-Type:
text/plain\n\n".(shift)."\n"; };
$SIG{__DIE__} = sub { print "Content-Type:
text/plain\n\n".(shift)."\n"; exit 1 }
};
}
i had to add the "use lib qw(/usr/lib/perl5/site_perl/5.6.1/CGI);" line
because it wasnt in @INC (only way i could get it to run)
thanks,
chelle
----- Original Message -----
From: "Leigh Sharpe" <[EMAIL PROTECTED]>
To: "chelle" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 10:19 PM
Subject: Re: [smokeping-users] Re: trouble with smokeping 1.18
> Getting somewhere.
> Now you have smokeping running, and apparently pinging as it should. The
RRD
> is being updated. Now all you need is to display it.
> According to your log, the smokeping CGI is outputting the following:
> Daemonizing /var/www/cgi-bin/s:
> /var/www/cgi-bin/smokeping/smokeping.cgi
> This looks wrong. Is your smokeping.cgi correct? It looks more like it is
> starting the executable, rather than the CGI.
>
> Regards,
> Leigh
>
> Leigh Sharpe
> Network Systems Engineer
> Pacific Wireless
> Ph 9584 8966
> Mob 0408 009 502
> email [EMAIL PROTECTED]
> web www.pacificwireless.com.au
>
>
>
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi