This is a notification from the Help Desk.



On Nov 12, 2013 @ 05:32 pm, [email protected] wrote:
Send smokeping-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of smokeping-users digest..."


Today's Topics:

   1. 12 secondes to show a page on smokeping ? (Artiflo)
   2. Re: 12 secondes to show a page on smokeping ? (Steve Wray)
   3. Re: 12 secondes to show a page on smokeping ? (Artiflo)
   4. Problem finding the HTDocs file (Will Brocklebank)
   5. Re: Problem finding the HTDocs file (Alessandro Palermo)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 Sep 2013 12:56:05 +0200
From: Artiflo <[email protected]>
Subject: [smokeping-users] 12 secondes to show a page on smokeping ?
To: [email protected]
Message-ID:
        <cakh3hripxkr362otnqpp8bymzengrp841kqo+c1zk+9vubl...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

On smokeping 2.6.8, I have 2600 devices on 90 FPING probe.

Each time I try to show a page or when I click on menu that took ~12
secondes !!!

Why is so long ?

(0.5 load on 4 XEON server)

# time /usr/local/smokeping/bin/smokeping_cgi
/usr/local/smokeping/etc/config
real    0m12.763s
user    0m11.519s
sys     0m0.710s

# cat /usr/local/smokeping/bin/smokeping_cgi

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

use strict;
use warnings;

use FindBin;
use lib qw(); # PERL5LIB
use lib "$FindBin::Bin/../thirdparty/lib/perl5";
use lib "$FindBin::Bin/../lib";

# don't bother with zombies
$SIG{CHLD} = 'IGNORE';

use CGI::Carp qw(fatalsToBrowser);

use Smokeping;

use CGI::Fast;

my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";


while (my $q = new CGI::Fast) {
   Smokeping::cgi($cfg,$q);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130923/4c8ad3ff/attachment-0001.htm
 

------------------------------

Message: 2
Date: Mon, 23 Sep 2013 19:37:59 +0800
From: Steve Wray <[email protected]>
Subject: Re: [smokeping-users] 12 secondes to show a page on smokeping
        ?
To: Artiflo <[email protected]>
Cc: [email protected]
Message-ID:
        <ca+vkodplzimtyxn_cceqttxxykprjmcccvhxk_83thbapnk...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Try using fcgi, it loads a lot faster.

ie where you have smokeping.cgi use smokeping.fcgi instead. You may need to
install some additional packages to make it work.



On 23 September 2013 18:56, Artiflo <[email protected]> wrote:

> Hello,
>
> On smokeping 2.6.8, I have 2600 devices on 90 FPING probe.
>
> Each time I try to show a page or when I click on menu that took ~12
> secondes !!!
>
>  Why is so long ?
>
> (0.5 load on 4 XEON server)
>
> # time /usr/local/smokeping/bin/smokeping_cgi
> /usr/local/smokeping/etc/config
> real    0m12.763s
>  user    0m11.519s
> sys     0m0.710s
>
> # cat /usr/local/smokeping/bin/smokeping_cgi
>
> #!/usr/bin/perl
> # -*-perl-*-
>
> use strict;
> use warnings;
>
> use FindBin;
> use lib qw(); # PERL5LIB
> use lib "$FindBin::Bin/../thirdparty/lib/perl5";
> use lib "$FindBin::Bin/../lib";
>
> # don't bother with zombies
> $SIG{CHLD} = 'IGNORE';
>
> use CGI::Carp qw(fatalsToBrowser);
>
> use Smokeping;
>
> use CGI::Fast;
>
> my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
>
>
> while (my $q = new CGI::Fast) {
>    Smokeping::cgi($cfg,$q);
> }
>
> _______________________________________________
> smokeping-users mailing list
> [email protected]
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130923/2ae4c352/attachment-0001.htm
 

------------------------------

Message: 3
Date: Mon, 23 Sep 2013 14:09:03 +0200
From: Artiflo <[email protected]>
Subject: Re: [smokeping-users] 12 secondes to show a page on smokeping
        ?
To: Steve Wray <[email protected]>
Cc: smokeping-users <[email protected]>
Message-ID:
        <CAKH3hrg5ymK=ceLYiHTwxW=jpc24inmx4qsr1a7q93uof70...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thanks for your quick answer :)

I think I have already FCGI.

How to know to be sure if I use CGI or FCGI for smokeping ?

This is my smokeping.conf for Apache :

ScriptAlias /smokeping/smokeping.cgi
"/usr/local/smokeping/htdocs/smokeping.fcgi"

Alias /smokeping "/usr/local/smokeping/htdocs/"
<Directory "/usr/local/smokeping/htdocs/">
         Options Indexes Includes FollowSymLinks ExecCGI
         AllowOverride All
         AddHandler php5-fastcgi .php .php5 .php4
         Action php5-fastcgi smokeping.fcgi
         Order allow,deny
         Allow from All
</Directory>

Alias /smokeping/cache "/usr/local/smokeping/work/cache/"
<Directory "/usr/local/smokeping/work/cache/">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>



2013/9/23 Steve Wray <[email protected]>

> Try using fcgi, it loads a lot faster.
>
> ie where you have smokeping.cgi use smokeping.fcgi instead. You may need
> to install some additional packages to make it work.
>
>
>
> On 23 September 2013 18:56, Artiflo <[email protected]> wrote:
>
>> Hello,
>>
>> On smokeping 2.6.8, I have 2600 devices on 90 FPING probe.
>>
>> Each time I try to show a page or when I click on menu that took ~12
>> secondes !!!
>>
>>  Why is so long ?
>>
>> (0.5 load on 4 XEON server)
>>
>> # time /usr/local/smokeping/bin/smokeping_cgi
>> /usr/local/smokeping/etc/config
>> real    0m12.763s
>>  user    0m11.519s
>> sys     0m0.710s
>>
>> # cat /usr/local/smokeping/bin/smokeping_cgi
>>
>> #!/usr/bin/perl
>> # -*-perl-*-
>>
>> use strict;
>> use warnings;
>>
>> use FindBin;
>> use lib qw(); # PERL5LIB
>> use lib "$FindBin::Bin/../thirdparty/lib/perl5";
>> use lib "$FindBin::Bin/../lib";
>>
>> # don't bother with zombies
>> $SIG{CHLD} = 'IGNORE';
>>
>> use CGI::Carp qw(fatalsToBrowser);
>>
>> use Smokeping;
>>
>> use CGI::Fast;
>>
>> my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
>>
>>
>> while (my $q = new CGI::Fast) {
>>    Smokeping::cgi($cfg,$q);
>> }
>>
>> _______________________________________________
>> smokeping-users mailing list
>> [email protected]
>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130923/3c9ee4cf/attachment-0001.htm
 

------------------------------

Message: 4
Date: Wed, 25 Sep 2013 12:22:04 +0100
From: Will Brocklebank <[email protected]>
Subject: [smokeping-users] Problem finding the HTDocs file
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Dear all - I am an enthusiastic noob so please forgive any inexperienced 
foolishness ;-)

I have progressed through the installation procedure on Raspbian and all seems 
to be running smoothly.

However, I have hit a problem with firing up the actual web interface. 
Specifically I do not understand these instructions:

"There is a sample htdocs directory in your smokeping installation root. Copy 
its content to the place where your webserver expects its files. There are also 
two sample cgi scripts showing how to launch the smokeping cgi in your website. 
The only difference is the file extension. Adjust the paths in the script and 
you should be ready to go."

I installed smokeping via apt-get on my Raspberry Pi and now I cannot find any 
htdocs directory either in the smokeping installation root (for clarity maybe 
someone could tell me exactly where this is so I can double-check but it isn't 
in /usr/etc/smokeping) and do not know how to move forward!

Thanks for all your help!

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/a7882570/attachment-0001.htm
 

------------------------------

Message: 5
Date: Wed, 25 Sep 2013 09:00:57 -0300
From: Alessandro Palermo <[email protected]>
Subject: Re: [smokeping-users] Problem finding the HTDocs file
To: Will Brocklebank <[email protected]>
Cc: smokeping-users <[email protected]>
Message-ID:
        <capbg55da-x2rnmme-mnhybu1xtmpwb7p1zz2es6d6mfedgf...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

All configuration files are in /etc/smokeping/
The html base is basepage.html
The /etc/smokeping/config.d/ contains the Target, Probes and Alert files.

Regards



On 25 September 2013 08:22, Will Brocklebank <[email protected]>wrote:

> Dear all - I am an enthusiastic noob so please forgive any inexperienced
> foolishness ;-)
> I have progressed through the installation procedure on Raspbian and all
> seems to be running smoothly.
>
> However, I have hit a problem with firing up the actual web interface.
> Specifically I do not understand these instructions:
>
> "There is a sample htdocs directory in your smokeping installation root.
> Copy its content to the place where your webserver expects its files. There
> are also two sample cgi scripts showing how to launch the smokeping cgi in
> your website. The only difference is the file extension. Adjust the paths
> in the script and you should be ready to go."
>
> I installed smokeping via apt-get on my Raspberry Pi and now I cannot find
> any htdocs directory either in the smokeping installation root (for clarity
> maybe someone could tell me exactly where this is so I can double-check but
> it isn't in /usr/etc/smokeping) and do not know how to move forward!
>
> Thanks for all your help!
>
> Will
>
> _______________________________________________
> smokeping-users mailing list
> [email protected]
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/afe0e885/attachment.htm
 

------------------------------

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


End of smokeping-users Digest, Vol 79, Issue 6
**********************************************

------
This is an automated response.  Your issue has been noted.  We'll be in touch 
soon.



Please reply to this email or visit the URL below with any additional details.

http://florin-pc/portal/view-help-request/49


_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to