[smokeping-users] Installating -version check fail
James Gorman
jg at wtechpartners.com
Fri Oct 19 20:46:42 CEST 2007
Help!
I am trying to get smokeping.cgi to work.
The command line works ( I get emails when a router is dropping packets)
It runs fine from command line 'sudo -u apache ./smokeping.cgi'
>From web page: I get
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, jg at jgorman.biz and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.
Log file entry:
[Fri Oct 19 14:42:08 2007] [error] Smokeping does not define
$Smokeping::VERSION--version check failed at
/var/www/vhosts/wtecpartners.com/httpdocs/smokeping.pl line 9.\nBEGIN
failed--compilation aborted at
/var/www/vhosts/wtecpartners.com/httpdocs/smokeping.pl line 9.\n
------ smokeping.cgi ( not using speedy intentionally)
#!/usr/bin/perl -w
# -*-perl-*-
use lib qw(/usr/local/rrdtool-1.2.23/lib/perl);
use lib qw(/var/www/vhosts/wtecpartners.com/httpdocs/smk/lib);
use CGI::Carp qw(fatalsToBrowser);
use Smokeping 2.002004 ;
Smokeping::cgi("/var/www/vhosts/wtecpartners.com/httpdocs/smk/etc/config.dis
t");
---- config file
owner = Peter Random
contact = some at address.nowhere
mailhost = my.mail.host
sendmail = /usr/sbin/sendmail
imgcache = /var/www/vhosts/wtecpartners.com/httpdocs/smokeping/cache
imgurl = http://www.wtecpartners.com/smokeping/cache
datadir = /tmp/smokeping-ms/data
piddir = /tmp/smokeping-ms/var
cgiurl = http://www.wtecpartners.com/smokeping.pl
smokemail = /var/www/vhosts/wtecpartners.com/httpdocs/smk/etc/smokemail.dist
tmail = /var/www/vhosts/wtecpartners.com/httpdocs/smk/etc/tmail.dist
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no
*** Alerts ***
to = jg at jgorman.biz
from = smokealert at wtecpartners.com
+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times in a row
*** Database ***
step = 300
pings = 20
# consfn mrhb steps total.
-----
James Gorman
Principal
Working Technology Partners
http://www.workingtechnologypartners.com
(888) 644-9206
(301) 448-5964 (cell)
jg at wtechpartners.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20071019/2285b266/attachment.html
More information about the smokeping-users
mailing list