Tobias Oetiker | 1 Dec 2007 12:40
Picon
Gravatar

Re: slave smokeping spawn problem

Hi Russell,

can you try this patch:

Index: lib/Smokeping.pm
===================================================================
--- lib/Smokeping.pm    (revision 891)
+++ lib/Smokeping.pm    (working copy)
 <at>  <at>  -3755,7 +3755,7  <at>  <at> 
             shared_secret => $secret,
             slave_name => $opt{'slave-name'} || hostname(),
         };
-        # this should get us a config set from the server
+        # this should get us an initial  config set from the server
         my $new_conf = Smokeping::Slave::submit_results($slave_cfg,$cfg);
         if ($new_conf){
             $cfg=$new_conf;
 <at>  <at>  -3844,7 +3844,7  <at>  <at> 
                 $gothup = 1;
         };
         while (1) { # just wait for the signals
-                sleep;
+                sleep; #sleep until we get a signal
                 next unless $gothup;
                 $reloading = 1;
                 $gothup = 0;
 <at>  <at>  -3963,13 +3963,8  <at>  <at> 
         my %sortercache;
         if ($opt{'master-url'}){
             my $new_conf = Smokeping::Slave::submit_results $slave_cfg,$cfg,$myprobe,$probes;
(Continue reading)

Niko Tyni | 1 Dec 2007 14:45
Picon
Picon

Re: Can't locate HTTP/Request.pm

On Fri, Nov 30, 2007 at 02:36:50PM -0800, John Heyer wrote:
> New install of Smokeping 2.2.7 on FreeBSD 6.2, Perl 5.8.8.  When I run the
> CGI from the command line, I get this:

> [Fri Nov 30 13:45:42 2007] smokeping.cgi: Can't locate HTTP/Request.pm in
>  <at> INC ( <at> INC contains: /usr/local/smokeping/lib /usr/local/lib/perl5/5.8.8

It's in libwww-perl, aka. LWP. 

 http://search.cpan.org/~gaas/libwww-perl-5.808/

I'll add this to the docs.

Cheers,
--

-- 
Niko

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Tobias Oetiker | 1 Dec 2007 17:57
Picon
Gravatar

Re: Can't locate HTTP/Request.pm

Hi Niko,

I thought LWP was part of the normal perl distro ... maybe it is
unbundled on freebsd and needs to be installed explicitly ?

cheers
tobi
Today Niko Tyni wrote:

> On Fri, Nov 30, 2007 at 02:36:50PM -0800, John Heyer wrote:
> > New install of Smokeping 2.2.7 on FreeBSD 6.2, Perl 5.8.8.  When I run the
> > CGI from the command line, I get this:
>
> > [Fri Nov 30 13:45:42 2007] smokeping.cgi: Can't locate HTTP/Request.pm in
> >  <at> INC ( <at> INC contains: /usr/local/smokeping/lib /usr/local/lib/perl5/5.8.8
>
> It's in libwww-perl, aka. LWP.
>
>  http://search.cpan.org/~gaas/libwww-perl-5.808/
>
> I'll add this to the docs.
>
> Cheers,
>

--

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi <at> oetiker.ch ++41 62 213 9902

_______________________________________________
(Continue reading)

Niko Tyni | 2 Dec 2007 13:33
Picon
Picon

Re: Can't locate HTTP/Request.pm

On Sat, Dec 01, 2007 at 05:57:59PM +0100, Tobias Oetiker wrote:

> I thought LWP was part of the normal perl distro ... maybe it is
> unbundled on freebsd and needs to be installed explicitly ?

No, it's separate on Debian too, and it's not listed in the
'Perl Core Modules' at perldoc.perl.org.

Cheers,
--

-- 
Niko

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

John Heyer | 2 Dec 2007 22:19
Picon
Favicon

Re: Can't locate HTTP/Request.pm

Cool, found it.  FYI for FreeBSD users - it's in the www category of ports,
not Perl5.

John Heyer
Network Engineer

-----Original Message-----

On Fri, Nov 30, 2007 at 02:36:50PM -0800, John Heyer wrote:
> New install of Smokeping 2.2.7 on FreeBSD 6.2, Perl 5.8.8.  When I run the
> CGI from the command line, I get this:

> [Fri Nov 30 13:45:42 2007] smokeping.cgi: Can't locate HTTP/Request.pm in
>  <at> INC ( <at> INC contains: /usr/local/smokeping/lib /usr/local/lib/perl5/5.8.8

It's in libwww-perl, aka. LWP. 

 http://search.cpan.org/~gaas/libwww-perl-5.808/

I'll add this to the docs.

Cheers,
--

-- 
Niko

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

(Continue reading)

Dez Cadena | 3 Dec 2007 10:10
Picon

Re: smokeping's server capacity

Tobias Oetiker wrote:
> Dez,
>
> if it is snmp latency then this is probably right, the question is
> if you cisco is happy with this ...
>   
Tobi,
Cisco is ok so far... I've tried increasing forks but load average of 
the box is rising fast (as expected)

> you might want to look into using the remote smokeping
> functionality
>
>   
Are you talking about the slave/master setup? How would that help?
cheers

> cheers
> tobi
>
> Today Dez Cadena wrote:
>
>   
>> Tobias Oetiker wrote:
>>     
>>> Dez,
>>>
>>> what makes you think the process is diskbound ? do you have high iowait ?
>>>
>>>
(Continue reading)

Tobias Oetiker | 3 Dec 2007 11:53
Picon
Gravatar

Re: smokeping's server capacity

Hi Dez,

> > you might want to look into using the remote smokeping
> > functionality
> >
> >
> Are you talking about the slave/master setup? How would that help?

this depends on where your load is comming from ... 800 targets
should realy be no problem ... so my guess is, it is a latency
issue with the ciscos not sending pings as fast as fping is able to
... so if you had fping in remote locations you could probably
achieve lower pinging latency ...

just guessing

tobi

--

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi <at> oetiker.ch ++41 62 213 9902

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Dez Cadena | 3 Dec 2007 15:05
Picon

Re: smokeping's server capacity

Tobias Oetiker wrote:
>
> this depends on where your load is comming from ... 800 targets
> should realy be no problem ... so my guess is, it is a latency
> issue with the ciscos not sending pings as fast as fping is able to
> ... so if you had fping in remote locations you could probably
> achieve lower pinging latency ...
>
> just guessing
>
> tobi
unfortunately, CiscoRTTMonEchoICMP is used and there's no (easy) way 
around that for the time being...
thanks anyway

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

MKS | 4 Dec 2007 00:19
Picon

curl and websites

Hello

I would like to monitor a website using the curl probe.

As far as I can see the curl probe only monitors a single target (e.g. index.html) but I would like to monitor the total website loading time including images etc.

Is there an easy way to accomplish this?

Regards
MKS


_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Stephane Bortzmeyer | 4 Dec 2007 13:55
Picon

Re: curl and websites

On Mon, Dec 03, 2007 at 11:19:41PM +0000,
 MKS <rekordmeister <at> gmail.com> wrote 
 a message of 45 lines which said:

> As far as I can see the curl probe only monitors a single target (e.g.
> index.html) but I would like to monitor the total website loading time
> including images etc.

I do not think there is a ready-made solution (it is more complicated
than it appears: because of things like the <object> element or HTTP
content negociation, the total size depends on the client).

I developed a program to do it, but it is no longer maintained and
quite incomplete:

http://delambre.sourceforge.net/

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


Gmane