[smokeping-users] Re: Mandrake 10.1

Richard Smalley rsmalley at oksameridial.com
Thu Jul 6 00:10:17 MEST 2006


After following these instructions this is the erro that i receive

[root at localhost smokeping]# ./bin/smokeping
Can't locate CGI.pm in @INC (@INC contains: /usr/local/smokeping/lib
/usr/local/rrdtool-1.2.13/lib/perl/5.8.5
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl .) at /usr/local/smokeping/lib/Smokeping.pm line
5.
BEGIN failed--compilation aborted at /usr/local/smokeping/lib/Smokeping.pm
line 5.
Compilation failed in require at ./bin/smokeping line 7.
BEGIN failed--compilation aborted at ./bin/smokeping line 7.
[root at localhost smokeping]#

Thanks
Richard

----- Original Message ----- 
From: "Priebe, Mike" <mp at rice.willmar.mn.us>
To: "Richard Smalley" <rsmalley at oksameridial.com>
Sent: Wednesday, July 05, 2006 12:18
Subject: RE: [smokeping-users] Mandrake 10.1


Not sure how familiar you are with installing software on Mandrake, but
assume you already have Apache running. Here are some of my own install
notes starting with SpeedyCGI install....

Downloaded CGI-SpeedyCGI-2.22.tar.gz into home directory.
Unzipped with tar xzvf CGI-SpeedyCGI-2.22.tar.gz
Perl Makefile.PL - a message about mod_speedcgi (default no)just press
enter because mod_ is an option.
make test- bunch of stuff will appear on screen, then several test with
ok.
make install

Downloaded latest version of rrdtool into /usr/local directory
tar xzfv rrdtool-1.2.12.tar.gz
./configure -disable-python - disable-tcl   without options there are
tcl and python errors.
make
make install

Downloaded latest version of Smoke ping into /usr/local directory
tar SmokePing-2.0.7 Smokeping is ready to go after unpackaged, and
config files have been modified.
Make the following directories with apache as the owner/user..
/var/www/html/smokeping/.simg
/usr/local/smokeping/var

edit bin/smokeping

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

use lib qw(/usr/local/rrdtool-1.2.12/lib/perl/5.8.5);
use lib qw(/usr/local/smokeping/lib);

use Smokeping 2.000005; #this is only for version and may be different
with future installs

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

edit htdocs/smokeping.cgi  then place a copy in /var/www/cgi-bin
#!/usr/bin/speedy -w # -*-perl-*-

use lib qw(/usr/local/rrdtool-1.2.12/lib/perl/5.8.5); # version may have
to be changed use lib qw(/usr/local/smokeping/lib); use CGI::Carp
qw(fatalsToBrowser);

use Smokeping 2.000005;

Smokeping::cgi("/usr/local/smokeping/etc/config");
 c. edit etc/config    this file is used to define what host are checked
and what types of checks /alerts are used
# 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    = Your Name
contact  = your at email address
mailhost = 10.123.55.12  #your email relay
sendmail = /bin/mail
imgcache = /var/www/html/smokeping/.simg
imgurl   = http://nagios2/smokeping/.simg  #nagios2 is the local host
name
datadir  = /usr/local/smokeping/var
piddir  = /usr/local/smokeping/var
cgiurl   = http://nagios2/cgi-bin/smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail
tmail = /usr/local/smokeping/etc/tmail
# 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 = your at email
from = your at email  # I have to use a registered email address for mail
relay

+bigloss
type = loss
# in percent
pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is
packet loss

+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times  in a row

+startloss
type = loss
# in percent
pattern = ==S,>0%,>0%,>0%
comment = loss at startup

+rttdetect
type = rtt
# in milli seconds
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
comment = routing mesed up again ?

*** 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 = /usr/local/smokeping/etc/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 = /bin/fping

*** Targets ***

probe = FPing

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of RMH. \
         Here you will learn all about the latency of our network.

+ IPPTSHOOT

menu = IPPhone
title = IPPhone Latency Analysis

++ IPPhoneTesting

menu = IPPhone Testing
title =IPPhone2

+++ iphone

menu = aprouter
title = Appleton Router 20.20.1.210
host = 20.20.1.210
#alerts = bigloss,someloss,startloss

#+++ madct
#menu = madct
#title = Madison CT 20.1.1.202
#host = 20.1.1.202


-----Original Message-----
From: Richard Smalley [mailto:rsmalley at oksameridial.com]
Sent: Wednesday, July 05, 2006 9:50 AM
To: Priebe, Mike
Subject: Re: [smokeping-users] Mandrake 10.1

That would be great.

Thanks
Richard


----- Original Message ----- 
From: "Priebe, Mike" <mp at rice.willmar.mn.us>
To: "Richard Smalley" <rsmalley at oksameridial.com>
Sent: Wednesday, July 05, 2006 10:40
Subject: RE: [smokeping-users] Mandrake 10.1


No RPM. But have successfully installed smokeping with 10.1. If
interested I can send you some notes. Cheers!

mp

-----Original Message-----
From: smokeping-users-bounce at list.ee.ethz.ch
[mailto:smokeping-users-bounce at list.ee.ethz.ch] On Behalf Of Richard
Smalley
Sent: Wednesday, June 28, 2006 10:17 AM
To: smokeping-users at list.ee.ethz.ch
Subject: [smokeping-users] Mandrake 10.1

Does anyone have a RPM for Mandrake 10.1?

--
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://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


----------------------------------------------------------------
"This e-mail transmission is for the sole use of the intended
recipient(s)
and may contain confidential and privileged information.  Any
unauthorized
review, use, disclosure, or distribution violates confidentiality, and
privacy laws; and is prohibited.  If you are not the intended recipient,
please notify the sender immediately and delete all copies of the
message.
Thank you."
------------------------------------








--
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://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list