Warrick FitzGerald | 2 Oct 17:41 2002

Graphs ?

Hi All,

I am trying to understand what the various shades mean on the HTTP proble.

If my proble is set to make 20 requests every 300 seconds, am I correct in
thinking that the Solid green line ... represents the average response time
for that batch of 20 requests and that the various shades of grey / black at
the same time interval represent the number of requests that occured at that
value.

In the attached Image looking at 10:00am ... does the dark black mean that
the majority of responses out of those 20 requests came back arround 70ms ?

Thanks
Warrick

-- Attached file removed by Listar and put at URL below --
-- Type: image/png
-- Size: 11k (11604 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/Dev1_last_10800[1].png

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

Warrick FitzGerald | 4 Oct 17:42 2002

SmokePing 1.15


Hi All,

I got smokeping working great on my test machine in my office, and am now
putting it into production however I seem to be running into a small
problem.

I installed all components in the same directory structure as on my test
machine, the only difference was that this time I installed 1.15 and not
1.14. The first problem I ran into was that when I un-tared the source it
did not create the /var directory (But it did do this in 1.14).

I then copied :
/bin/smokeping.pl
/etc/config
/etc/smokemail
the basepage and cgi files to my production machine and started the daemon.

Everything seems to be running great, but when I try and go to the cgi
script with a browser I get a 500 internal server error.

I then tried running the CGI from the shell and get the following error. If
someone could please tell me what I'm doing wrong I would really appreciate
it.

-------Error------------
root <at> localhost /var/www/cgi-bin # ./smokeping.cgi
zsh: no such file or directory: ./smokeping.cgi
-------------------------

(Continue reading)

Tobias Oetiker | 5 Oct 00:19 2002
Picon
Picon

Re: SmokePing 1.15


Yesterday Warrick FitzGerald wrote:

>
> Hi All,
>
> I got smokeping working great on my test machine in my office, and am now
> putting it into production however I seem to be running into a small
> problem.
>
> I installed all components in the same directory structure as on my test
> machine, the only difference was that this time I installed 1.15 and not
> 1.14. The first problem I ran into was that when I un-tared the source it
> did not create the /var directory (But it did do this in 1.14).
>
> I then copied :
> /bin/smokeping.pl
> /etc/config
> /etc/smokemail
> the basepage and cgi files to my production machine and started the daemon.
>
> Everything seems to be running great, but when I try and go to the cgi
> script with a browser I get a 500 internal server error.
>
> I then tried running the CGI from the shell and get the following error. If
> someone could please tell me what I'm doing wrong I would really appreciate
> it.
>
> -------Error------------
> root <at> localhost /var/www/cgi-bin # ./smokeping.cgi
(Continue reading)

Warrick FitzGerald | 5 Oct 00:50 2002

Re: SmokePing 1.15


Thanks Tobias,

I found the problem about 10 min before I got your mail. It was SpeedyCGI
that was the problem, for some reason it did not seem to install properly on
Mandrake.

For future reference (And perhaps as an update to the install procedure on
the site) do :

perl -MCPAN -e shell
install CGI::SpeedyCGI

This seemed to fix my problem 100%. As before I did this I tried "whereis
speedy" and go no "not found" ... after installing via CPAN it was found
(Most likely something stupid I did when installing from the binary) --
however the zsh shell did not report an invalid parser which did not help my
debugging.

---- One quick question though, I have some really strange results coming
from one or two of my web servers while using the http probe.

I get a red or a blue line indicating that only some of the requests retuned
un-successful responses. Is there any way of turning on logging of some kind
to see why these requests failed ? I know I could just run tcpdump or
something like that .. but I never know when the error appears so I would
have quite a bit of data.

Thanks
Warrick
(Continue reading)

James Lamb | 5 Oct 06:47 2002
Picon

cgi problems still


Hello,
I am having problems still with smokeping
I dont have errors anymore in my errorlog for apache but now i get this

Undefined subroutine &Smokeping::cgi called at 
/var/lib/apache/cgi-bin/smokeping.cgi line 9.

And when i go into look at the file it says

dog <at> monitor:/var/log# cat /var/lib/apache/cgi-bin/smokeping.cgi
#!/usr/bin/speedy -w
# -*-perl-*-

use lib qw(/usr/local/rrdtool-1.0.33/lib/perl);
use lib qw(/root/smokeping-1.12/lib);

#use Smokeping 1.12;

Smokeping::cgi("/root/smokeping-1.12/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 }
     };
}
dog <at> monitor:/var/log#
(Continue reading)

Tobias Oetiker | 5 Oct 09:23 2002
Picon
Picon

Re: cgi problems still


Today James Lamb wrote:

> use lib qw(/usr/local/rrdtool-1.0.33/lib/perl);
> use lib qw(/root/smokeping-1.12/lib);
>
> #use Smokeping 1.12;

Remove the comment character before the 'use'

tobi
--

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker <at> ee.ethz.ch http://google.com/search?q=tobi

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

James Lamb | 5 Oct 23:42 2002
Picon

Re: cgi problems still


Since removing the comment character from before the "use" This is now 
the error that 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, root <at> domain.com 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.

Apache/1.3.26 Server at monitor Port 80

and in the apache error log i get the following

Can't locate Smokeping.pm in  <at> INC ( <at> INC contains: 
/root/smokeping-1.12/lib /usr/local/rrdtool-1.0.33/lib/perl 
/usr/lib/perl5/i386-linux /usr/lib/perl5 
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at 
/var/lib/apache/cgi-bin/smokeping.cgi line 7.
BEGIN failed--compilation aborted at 
/var/lib/apache/cgi-bin/smokeping.cgi line 7.
speedy_backend[29593]: perl_parse error
speedy[29591]: Cannot spawn backend process
[Sun Oct  6 07:37:37 2002] [error] [client 10.117.1.218] Premature end 
of script headers: /var/lib/apache/cgi-bin/smokeping.cgi

(Continue reading)

Andy Franklin | 9 Oct 01:03 2002

Re: ANNOUNCE SmokePing 1.15


What are the chances that "host" would be added as one of the parameters that is passed to the external script
for alerts?

thanks,
andy

>>> Tobias Oetiker <tobi <at> oetiker.ch> 2002-09-27 00:20:44 >>>

Folks,

There is a new version of smokeping available for download from
http://people.ee.ethz.ch/~oetiker/webtools/smokeping 

cheers
tobi

2002/09/27 -- 1.15

* uptime color configuration was not working -- Alan Chen <alan <at> digikata.com>

* allow to call an external script upon matching an alert pattern -- Tobi

* unifie mail sending tools -- Tobi

* made loss for 0.x sized values work -- rodrigo.cunha <at> corp.vodafone.pt 

* send syslog events through unix domain socket on bsd and linux systems -- Ed Ravin <eravin <at> panix.com>

--

-- 
(Continue reading)

Obrien, Haskell W. | 9 Oct 20:54 2002
Picon

FPing.pm uninitialized value


using smokeping-1.15
fping-2.4b2_to
On Mandrake 8.2.
Using #!/usr/bin/perl -w to execute the scripts.

I get this error.  It appears that the rrd files get created but never seem to change size.(data not being written)

Use of uninitialized value in string eq at /home/smokeping/lib/probes/FPing.pm line 103, <GEN2> line 3.
Use of uninitialized value in string eq at /home/smokeping/lib/probes/FPing.pm line 103, <GEN2> line 30.

From FPing.pm:
    while (<$errh>){
        chomp;
        my  <at> times = split /\s+/;
        my $ip = shift  <at> times;
        next unless ':' eq shift  <at> times; #drop the colon                           <--line 103.

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

Warrick FitzGerald | 9 Oct 21:02 2002

Re: FPing.pm uninitialized value


> I get this error.  It appears that the rrd files get created but never
seem to change size.(data not being written)

I know nothing of the Perl problem, but from what I understand of the RRD
databasese they should not change size. That the beauty fo them  .... you
can create a 1000 of them and because they never grow ... you will never run
out of space :)

Like I said .. someone pls correct me if I'm wrong ?

Thanks
Warrick

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


Gmane