Brian Faulkner | 4 Mar 20:34 2005
Picon

CGI Error - Can't locate Pod/Usage.pm in <at> INC

Hello, 

I see this error in my apache logs when I run smokeping.cgi; It looks
like  <at> INC is searching for an older version of perl.  Is my current
version of perl installed the wrong place or is there something I need
to change for  <at> INC to have the correct paths?

This message in the archives looks like the same problem, but I don't
see an answer posted.
http://www.ee.ethz.ch/~slist/smokeping-users/msg00721.html

I've also included my configuration just in case I missed something. 

Regards,

Brian

Can't locate Pod/Usage.pm in  <at> INC ( <at> INC contains:
/export/home/brian/smokeping/lib /usr/local/rrdtool-1.0.33/lib/perl
/usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/su
n4-solaris /usr/perl5/site_perl/5.005 .) at
/export/home/brian/smokeping/lib/Smokeping.pm line 7.
BEGIN failed--compilation aborted at
/export/home/brian/smokeping/lib/Smokeping.pm line 7.
BEGIN failed--compilation aborted at
/usr/www/site.smokeping/cgi-bin/smokeping.cgi line 7.
speedy_backend[4864]: perl_parse error
speedy[4862]: Cannot spawn backend process
[Fri Mar  4 11:05:24 2005] [error] [client 172.16.2.43] Premature end
(Continue reading)

Tobias Oetiker | 6 Mar 00:04 2005
Picon
Picon

announce: smokeping 2.0rc2

Folks,

Niko has spent a lot of time working on smokeping lately. We are
now ready to present:

               Smokeping 2.0 Release Candidate 2

### WARNING: this is RC quality software. Don't come whining to us
if you computer explodes when you load it ... #####################

Get it from

  http://people.ee.ethz.ch/oetiker/webtools/smokeping/pub/beta

The main feature of the new release is a complete overhaul of the
probes interface. There is now much stricter syntax checking of the
configuration file now. The structure of the config file has also
been simplified. PROBE_CONF is a thing of the past now. Even probes
can now generate their own documentation. In the process, many of
the probes got a complete overhaul as well.

Check the doc/smokeping_upgrade.txt file for more information.

Niko and Tobi

--

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker  <at>  ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286
(Continue reading)

Brian Faulkner | 6 Mar 08:40 2005
Picon

config, line 1: table syntax error

Hello,

Does anyone have an idea why I would see this error in my browser when
I try to view http://172.16.2.55/cgi-bin/smokeping.cgi?  I've included
the beginning of my config and I don't see anything that looks wrong
at line 1.

Thanks, 
Brian

ERROR: /usr/local/smokeping/etc/config, line 1: table syntax error

# 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    = brian
contact  = support <at> ecuity.net
mailhost = smtp.ecuity.net
sendmail = /usr/lib/sendmail
imgcache = /usr/local/apache/htdocs/smokeping/.simg
imgurl   = ../.simg
datadir  = /usr/local/smokeping/rrd
piddir  = /usr/local/smokeping/var
cgiurl   = http://172.16.2.55/cgi-bin/smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail
# specify this to get syslog logging
syslogfacility = local0
(Continue reading)

Brian Faulkner | 6 Mar 08:51 2005
Picon

Fwd: config, line 1: table syntax error

I can view this test page created by smokeping.cgi fine.

./smokeping.cgi > /usr/local/apache/htdocs/smokeping/test.html

So I'm not sure why I get the line 1 error when I try to browse to
172.16.2.55/cgi-bin/smokeping.cgi

---------- Forwarded message ----------
From: Brian Faulkner <ecuity <at> gmail.com>
Date: Sat, 5 Mar 2005 23:40:55 -0800
Subject: config, line 1: table syntax error
To: smokeping-users <at> list.ee.ethz.ch

Hello,

Does anyone have an idea why I would see this error in my browser when
I try to view http://172.16.2.55/cgi-bin/smokeping.cgi?  I've included
the beginning of my config and I don't see anything that looks wrong
at line 1.

Thanks,
Brian

ERROR: /usr/local/smokeping/etc/config, line 1: table syntax error

# 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 ***
(Continue reading)

Niko Tyni | 6 Mar 20:20 2005
Picon
Picon

Re: CGI Error - Can't locate Pod/Usage.pm in <at> INC

On Fri, Mar 04, 2005 at 11:34:06AM -0800, Brian Faulkner wrote:

> I see this error in my apache logs when I run smokeping.cgi; It looks
> like  <at> INC is searching for an older version of perl.  Is my current
> version of perl installed the wrong place or is there something I need
> to change for  <at> INC to have the correct paths?

> Can't locate Pod/Usage.pm in  <at> INC ( <at> INC contains:
> /export/home/brian/smokeping/lib /usr/local/rrdtool-1.0.33/lib/perl
> /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503

> # perl -v
> 
> This is perl, v5.8.6 built for sun4-solaris

Hi,

I think you'll have to recompile speedy to match your perl
installation. Currently it indeed seems to be looking for 5.005_03,
which has disappeared from the system (if it ever was there).

HTH,
--

-- 
niko

Niko Tyni | 6 Mar 20:27 2005
Picon
Picon

Re: config, line 1: table syntax error

On Sat, Mar 05, 2005 at 11:40:55PM -0800, Brian Faulkner wrote:

> Does anyone have an idea why I would see this error in my browser when
> I try to view http://172.16.2.55/cgi-bin/smokeping.cgi?  I've included
> the beginning of my config and I don't see anything that looks wrong
> at line 1.
> 
> Thanks, 
> Brian
> 
> 
> ERROR: /usr/local/smokeping/etc/config, line 1: table syntax error

Hi,

is there anything in the web server error log?

If there's a speedy_backend process running on the server, try killing
it and see if the first error you get after that is something
different. Using speedy often hides the real problem on consecutive
runs of the CGI, because it skips the initialization code.

One more thing that you could check is whether the user the web server 
runs as has read permission on the config file (though I'd expect that
to be reported more clearly).

HTH,
--

-- 
niko

(Continue reading)

Niko Tyni | 7 Mar 20:36 2005
Picon
Picon

Re: announce: smokeping 2.0rc2

On Sun, Mar 06, 2005 at 12:04:51AM +0100, Tobias Oetiker wrote:

>                Smokeping 2.0 Release Candidate 2
> 
> ### WARNING: this is RC quality software. Don't come whining to us
> if you computer explodes when you load it ... #####################

I'd like to add that since it's a release _candidate_, bug reports are
even more welcome than usual :) So please test it a bit if you can.

Cheers,
--

-- 
niko

Chris de Vidal | 8 Mar 20:31 2005
Picon

Init and logrotate script

I've written an init and logrotate script for Fedora Core 3.  Should work
on most RedHat-based systems.

Bugs?  Perhaps; I copied and modified another script.  Works for me.

Hacky?  A little bit, especally when I killall speedy_backend.  Fix it for
me if you're not happy with it :-)

To use:
touch /etc/init.d/smokeping
(Add the contents below)
chmod 700 /etc/init.d/smokeping
chkconfig smokeping on
service smokeping start

#! /bin/bash
# dund:         SmokePing
#
# chkconfig:    345 99 00
# description:  Network latency grapher

# Source function library.
. /etc/rc.d/init.d/functions

start()
{
        echo -n $"Starting smokeping: "
        cd /opt/smokeping
        daemon bin/smokeping --logfile /var/log/smokeping.log
        cd - &> /dev/null
(Continue reading)

MJonkers | 9 Mar 19:53 2005
Picon
Picon

Smokeping install? How can I view the pages in webbrowser

Hi,
I have Fedora installed and everthing Smokeping needs. When I start smokeping in debug mode I get no errors
and numbers are displayed.
But where do I find the website with the pictures? Must I configure apache? If so how?
That is the only part I do not understand.

Thanks,

M
Edwards, Thomas W. | 9 Mar 19:24 2005
Picon

Reading Graphs


Hey,

	I am doing a demo to the helpdesk on using smokeping, and was
wondering if there were any docs out there on actually reading the data
collected?  Trying to put this in terms they can understand.

Thanks a lot for any help available.

Tom

This message is intended for the use of the person or entity to which it is addressed and may contain
information that is privileged and confidential, the disclosure of which is governed by applicable law.
If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended
recipient, you are hereby notified that any disclosure, copying or distribution of this information is
strictly prohibited. If you have received this message in error, please notify the sender immediately to
arrange for return or destruction of the message and any attachments.


Gmane