[smokeping-users] Re: Here's my config file

Dayo Adeyeye dayo at ipnxnigeria.net
Wed Aug 20 00:32:04 MEST 2003


Thanks Kevin.
But still the same result. Ive changed my file to look like this:

 owner    = Dayo
 contact  = Dayo at mydomain.com
 mailhost = smtp.mydomain.com
 sendmail = /usr/lib/sendmail
 imgcache = /var/www/html/smokeping/img
 imgurl   = /smokeping/img
 datadir  = /usr/src/smokie/smokeping-1.20/var
 piddir  = /usr/src/smokie/smokeping-1.20/var
 cgiurl   = http://10.50.3.207/cgi-bin/smokeping.cgi
 smokemail = /usr/src/smokie/smokeping-1.20/etc/smokemail


my bin/smokeping config:

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

use lib qw(/usr/local/rrdtool-1.0.33/lib/perl);
use lib qw(/usr/src/smokie/smokeping-1.20/lib);

use Smokeping 1.20;

Smokeping::main("/usr/src/smokie/smokeping-1.20/etc/config");


my smokeping.cgi which i have placed in my /var/www/cgi-bin


#!/usr/bin/speedy -w
# -*-perl-*-

use lib qw(/usr/local/rrdtool-1.0.33/lib/perl);
use lib qw(/usr/src/smokie/smokeping-1.20/lib);

use Smokeping 1.20;

Smokeping::cgi("/usr/src/smokie/smokeping-1.20/etc/config");


My basepage.html is in my /var/www/html directory.

Please help. I need to get this stuff up.

Kind regards

Dayo



----- Original Message ----- 
From: <kevin at sickelkb.com>
To: "Dayo Adeyeye" <dayo at ipnxnigeria.net>; <smokeping-users at list.ee.ethz.ch>
Sent: Tuesday, August 19, 2003 6:48 PM
Subject: [smokeping-users] Re: Here's my config file


> Dayo,
> Try making the Image Url line     imgurl = /smokeping/img
> assuming of course that this refers to your apache base served directory,
> which looks like /var/www/html/.
> Kevin
> ----- Original Message -----
> From: "Dayo Adeyeye" <dayo at ipnxnigeria.net>
> To: <smokeping-users at list.ee.ethz.ch>
> Sent: Tuesday, August 19, 2003 7:19 PM
> Subject: [smokeping-users] Here's my config file
> 
> 
> # Note that all IP addresses in this file are false, to
> prevent some
> # machine falling uder a deadly DOS storm because all
> users keep
> # the same addresses in their config.
> 
> *** General ***
> 
> owner    = Dayo
> contact  = Dayo at mydomain.com
> mailhost = smtp.mydomain.com
> sendmail = /usr/lib/sendmail
> imgcache = /var/www/html/smokeping/img
> imgurl   = http://10.50.3.207/smokeping/img
> datadir  = /usr/src/smokie/smokeping-1.20/var
> piddir  = /usr/src/smokie/smokeping-1.20/var
> cgiurl   = http://10.50.3.207/cgi-bin/smokeping.cgi
> smokemail = /usr/src/smokie/smokeping-1.20/etc/smokemail
> # specify this to get syslog logging
> # syslogfacility = local0
> 
> 
> *** Database ***
> 
> step     = 300
> pings    = 20
> 
> # consfn mrhb steps total
> 
> AVERAGE  0.5   1  1008
> AVERAGE  0.5  12  4320
>      MIN  0.5  12  4320
>      MAX  0.5  12  4320
> AVERAGE  0.5 144   720
>      MAX  0.5 144   720
>      MIN  0.5 144   720
> 
> *** Presentation ***
> 
> template = /var/www/html/basepage.html
> 
> + overview
> 
> width = 600
> height = 50
> range = 10h
> 
> + detail
> 
> width = 600
> height = 200
> unison_tolerance = 2
> 
> 
> "Last 3 Hours"    3h
> "Last 30 Hours"   30h
> "Last 10 Days"    10d
> "Last 400 Days"   400d
> 
> *** Probes ***
> 
> + FPing
> 
> binary = /usr/src/smokie/fping-2.4b2_to/fping
> 
> *** Targets ***
> 
> probe = FPing
> 
> menu = Top
> title = Network Latency Grapher
> remark = Welcome to the SmokePing website of xxx Company.
> \
>           Here you will learn all about the latency of our
> network.
> 
> + Netco
> 
> menu = NetcoHQ Router
> title = NetcoHQ Router
> host = 10.50.1.1
> 
> + DNS
> 
> menu = DNS Server 2
> title = DNS Server 2
> host = 10.50.1.99
> 
> --
> 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
> 
> 
> 
> --
> 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
> 

--
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