Eric Brander | 9 May 2012 18:05
Favicon

How can I force the Fast CGI page to recache?

Hello Smokers;

Back when using Speedy I could just touch the cgi and it would recache
at the next page refresh however that doesn't seem to work for FCGI.
Any clue?

TIA,

Eric Brander

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

G.W. Haywood | 9 May 2012 18:13
Picon
Favicon

Re: How can I force the Fast CGI page to recache?

Hi there,

On Wed, 9 May 2012, Eric Brander wrote:

> Hello Smokers;

Never in my life. :)

> Back when using Speedy I could just touch the cgi and it would recache
> at the next page refresh however that doesn't seem to work for FCGI.
> Any clue?

Restart Apache?

Eric Brander | 9 May 2012 18:43
Favicon

Re: How can I force the Fast CGI page to recache?

On Wed, May 9, 2012 at 10:13 AM, G.W. Haywood <ged <at> jubileegroup.co.uk> wrote:
> Hi there,
>
> On Wed, 9 May 2012, Eric Brander wrote:
>
>> Hello Smokers;
>
>
> Never in my life. :)
>
>
>> Back when using Speedy I could just touch the cgi and it would recache
>> at the next page refresh however that doesn't seem to work for FCGI.
>> Any clue?
>
>
> Restart Apache?
>
> --
>
> 73,
> Ged.

A reload of apache/httpd worked great, thanks!

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

(Continue reading)

red hat | 13 May 2012 01:11
Picon
Favicon

please help errors on Ubuntu 12.04

i did the install all seem fine except that when i point my browser to http://localhost/cgi-bin/smokeping.bin
the end result of that is an error on apache error log saying .. i can also the smokeping deamon running just fine..

error client 127.0.0.1 script not found or unable to stat: /usr/lib/cgi-bin/smokeping.cgi

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Lionel Gentil | 13 May 2012 05:30

Re: please help errors on Ubuntu 12.04

Bad httpd.conf.

Copy/paste your httpd.conf script alias line in your response.

Lionel

On May 12, 2012, at 4:11 PM, red hat wrote:

> i did the install all seem fine except that when i point my browser to http://localhost/cgi-bin/smokeping.bin
> the end result of that is an error on apache error log saying .. i can also the smokeping deamon running just
fine.. 
> 
> error client 127.0.0.1 script not found or unable to stat: /usr/lib/cgi-bin/smokeping.cgi
> 
> _______________________________________________
> smokeping-users mailing list
> smokeping-users <at> lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

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

Greg Stucky | 16 May 2012 00:18

Graphs not showing in new installation of Smokeping

I just redid the computer I was using to run smokeping and used OpenSUSE 
12.1.  I had some initial issues getting Smokeping to run without errors 
and to be able to view the webpage.   Right now everything seems to be 
running with the exception of viewing the graphs on the web interface.

If i browse the /var/smokeping/cache/MyCo folder there are several PNG 
files.  However they contain no data points. If I view the webpage the 
graphs are not included on the page.

  I used rrdtool info data1.rrd to make sure data was being stored and 
there is data in the database.   I have included a sample below

sample
filename = "data1.rrd"
rrd_version = "0003"
step = 300
last_update = 1337103846
header_size = 19264
ds[uptime].index = 0
ds[uptime].type = "GUAGE"
ds[uptime].minimal_heartbeat = 600
ds[uptime].min = 0.0000000000e+00
ds[uptime].max = NaN
ds[uptime].last_ds = "U"
ds[uptime].value = 0.000000000e+00
ds[uptime].unknow_sec =246
.
.
.
.

rra[6].cf = "MIN"
rra[6].rows = 720
rra[6].cur_row = 501
rra[6].pdp_per_row = 144
rra[6].xff = 5.00000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 68
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 68
rra[6].cdp_prep[2].value = NaN
rra[6].cdp_prep[2].unknown_datapoints = 68
rra[6].cdp_prep[3].value = NaN
rra[6].cdp_prep[3].unknown_datapoints = 68

Any suggestions would be appreciated.

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

Greg Stucky | 16 May 2012 01:29

Re: Graphs not showing in new installation of Smokeping

I have looked into this some more and the graphs are not showing on the 
web page because the graphs are created in 
/var/lib/smokeping/cache/MyCo  and Apache is looking in 
/htdocs/smokeping/cache/MyCo.

I changed the imgcache path in /etc/smokeping/config to 
/srv/www/htdocs/smokeping/cache and gave wwwrun permissions to modify 
the folder and now it looks like it is working.

On 5/15/2012 6:18 PM, Greg Stucky wrote:
> I just redid the computer I was using to run smokeping and used OpenSUSE
> 12.1.  I had some initial issues getting Smokeping to run without errors
> and to be able to view the webpage.   Right now everything seems to be
> running with the exception of viewing the graphs on the web interface.
>
> If i browse the /var/smokeping/cache/MyCo folder there are several PNG
> files.  However they contain no data points. If I view the webpage the
> graphs are not included on the page.
>
>    I used rrdtool info data1.rrd to make sure data was being stored and
> there is data in the database.   I have included a sample below
>
> sample
> filename = "data1.rrd"
> rrd_version = "0003"
> step = 300
> last_update = 1337103846
> header_size = 19264
> ds[uptime].index = 0
> ds[uptime].type = "GUAGE"
> ds[uptime].minimal_heartbeat = 600
> ds[uptime].min = 0.0000000000e+00
> ds[uptime].max = NaN
> ds[uptime].last_ds = "U"
> ds[uptime].value = 0.000000000e+00
> ds[uptime].unknow_sec =246
> .
> .
> .
> .
>
> rra[6].cf = "MIN"
> rra[6].rows = 720
> rra[6].cur_row = 501
> rra[6].pdp_per_row = 144
> rra[6].xff = 5.00000000000e-01
> rra[6].cdp_prep[0].value = NaN
> rra[6].cdp_prep[0].unknown_datapoints = 68
> rra[6].cdp_prep[1].value = NaN
> rra[6].cdp_prep[1].unknown_datapoints = 68
> rra[6].cdp_prep[2].value = NaN
> rra[6].cdp_prep[2].unknown_datapoints = 68
> rra[6].cdp_prep[3].value = NaN
> rra[6].cdp_prep[3].unknown_datapoints = 68
>
> Any suggestions would be appreciated.
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users <at> lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>

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

Alexander Mann | 16 May 2012 14:32
Picon

unison_tolerance

Hi,

I'm having a problem with the y-axis not expanding to cover all the smoke.

On the attached graph, the average ping is around 14ms but the spikes will go up to 100-200ms.  I'd quite like
to be able to see them.

I understand that I can adjust the unison_tolerance variable but it doesn't seem to be making any
difference.  The default value is 2 but I'm unclear what I should be setting it to.  2, 20, 200, whatever, it
doesn't seem to change the graph.

Am I missing something?

Thanks,

Alex

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
samy.nashaat | 17 May 2012 13:29

Master - Slave Config problem

Hello All,

 

I’m not able to finish the config of a Master – Slave pair of Smokeping.

 

Master is working fine while the slave configuration is not working with the below eror:

ERROR: the shared secret file (/var/smokeping/secret.txt) is world-readable or writable at /usr/share/perl5/Smokeping.pm line 4109.

 

Please help me and let me know if you need more info

 

1.1                  Master Configuration

 

smoke <at> MASTER:/etc/smokeping/config.d$ cat Slaves

*** Slaves ***

secrets=/etc/smokeping/smokeping_secrets

#+boomer

#display_name=boomer

#color=0000ff

 

#+slave2

#display_name=another

#color=00ff00

 

+SLAVE01

display_name=SLAVE01

Location=NECKARSULM_SMOKE

color=ff0000

 

smoke <at> MASTER:/etc/smokeping/config.d$ cat Targets

*** Targets ***

 

slaves = SLAVE01

probe = FPing

 

menu = Top

.

.

 

smoke <at> MASTER:/etc/smokeping$ sudo cat smokeping_secrets

host1:mysercert

host2:yoursercert

boomer:lkasdf93uhhfdfddf

SLAVE01:Gr7k;=O&%/

 

 

1.2                  Slave configuration

smoke <at> SLAVE01:/var$ pwd

/var

smoke <at> SLAVE01:/var$ sudo mkdir smokeping

smoke <at> SLAVE01:/var$ ls -l

total 52

drwxr-xr-x  2 root root  4096 Apr 21 06:25 backups

drwxr-xr-x  9 root root  4096 Apr 17 12:10 cache

drwxr-xr-x 22 root root  4096 Apr 17 12:10 lib

drwxrwsr-x  2 root staff 4096 Jan 12 19:44 local

drwxrwxrwt  4 root root  4096 May 16 17:04 lock

drwxr-xr-x  7 root root  4096 May 17 06:25 log

drwxrwsr-x  2 root mail  4096 May 17 13:21 mail

drwxr-xr-x  2 root root  4096 Apr 17 12:06 opt

drwxr-xr-x  5 root root  4096 May 16 17:04 run

drwxr-xr-x  2 root root  4096 May 17 13:28 smokeping

drwxr-xr-x  4 root root  4096 Apr 17 12:10 spool

drwxrwxrwt  2 root root  4096 May 16 16:59 tmp

drwxr-xr-x  2 root root  4096 Apr 17 12:10 www

smoke <at> SLAVE01:/var$ cd smokeping/

smoke <at> SLAVE01:/var/smokeping$ ls

smoke <at> SLAVE01:/var/smokeping$ sudo vi secret.txt

smoke <at> audinevk0142:/usr/sbin$ ls -l /var/smokeping/

total 4

-rwxrwxrwx 1 root root 14 May 17 14:11 secret.txt

smoke <at> SLAVE01:/var/smokeping$ cat secret.txt

Gr7k;=O&%/

 

smoke <at> audinevk0142:/usr/sbin$ sudo  ./smokeping --master-url=http://smokeping/smokeping.cgi              --cache-dir=/var/cache/              --shared-secret=/var/smokeping/secret.txt

ERROR: the shared secret file (/var/smokeping/secret.txt) is world-readable or writable at /usr/share/perl5/Smokeping.pm line 4109.

smoke <at> audinevk0142:/usr/sbin$

 

Line 4109 in /usr/share/perl5/Smokeping.pm  = die "ERROR: the shared secret file ($opt{'shared-secret'}) is world-readable or writable"

 

Thanks in advance

         
Samy Nashaat

FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT
tel. +202 2292 2784 | | samy.nashaat <at> orange.com

Equant, City Stars Tower 2 Floor 10 Omar Ebn El Khatab Street, Heliopolis, Cairo, Egypt
www.orange-business.com
“God will make a way when there seems to be no way”

P Please do not print this e-mail unless you really need to

 

 

_________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Lee Gardiner (RackSRV | 17 May 2012 13:35

Re: Master - Slave Config problem

Hello,

 

Have you set your permissions on /var/smokeping/secret.txt to 777 or similar ?, you need to alter the ownership and permissions on this file to ensure it is secure.

 

-Lee

 

From: smokeping-users-bounces+lee=racksrv.net <at> lists.oetiker.ch [mailto:smokeping-users-bounces+lee=racksrv.net <at> lists.oetiker.ch] On Behalf Of samy.nashaat <at> orange.com
Sent: 17 May 2012 12:30
To: smokeping-users <at> lists.oetiker.ch
Subject: [smokeping-users] Master - Slave Config problem

 

Hello All,

 

I’m not able to finish the config of a Master – Slave pair of Smokeping.

 

Master is working fine while the slave configuration is not working with the below eror:

ERROR: the shared secret file (/var/smokeping/secret.txt) is world-readable or writable at /usr/share/perl5/Smokeping.pm line 4109.

 

Please help me and let me know if you need more info

 

1.1                   Master Configuration

 

smoke <at> MASTER:/etc/smokeping/config.d$ cat Slaves

*** Slaves ***

secrets=/etc/smokeping/smokeping_secrets

#+boomer

#display_name=boomer

#color=0000ff

 

#+slave2

#display_name=another

#color=00ff00

 

+SLAVE01

display_name=SLAVE01

Location=NECKARSULM_SMOKE

color=ff0000

 

smoke <at> MASTER:/etc/smokeping/config.d$ cat Targets

*** Targets ***

 

slaves = SLAVE01

probe = FPing

 

menu = Top

.

.

 

smoke <at> MASTER:/etc/smokeping$ sudo cat smokeping_secrets

host1:mysercert

host2:yoursercert

boomer:lkasdf93uhhfdfddf

SLAVE01:Gr7k;=O&%/

 

 

1.2                   Slave configuration

smoke <at> SLAVE01:/var$ pwd

/var

smoke <at> SLAVE01:/var$ sudo mkdir smokeping

smoke <at> SLAVE01:/var$ ls -l

total 52

drwxr-xr-x  2 root root  4096 Apr 21 06:25 backups

drwxr-xr-x  9 root root  4096 Apr 17 12:10 cache

drwxr-xr-x 22 root root  4096 Apr 17 12:10 lib

drwxrwsr-x  2 root staff 4096 Jan 12 19:44 local

drwxrwxrwt  4 root root  4096 May 16 17:04 lock

drwxr-xr-x  7 root root  4096 May 17 06:25 log

drwxrwsr-x  2 root mail  4096 May 17 13:21 mail

drwxr-xr-x  2 root root  4096 Apr 17 12:06 opt

drwxr-xr-x  5 root root  4096 May 16 17:04 run

drwxr-xr-x  2 root root  4096 May 17 13:28 smokeping

drwxr-xr-x  4 root root  4096 Apr 17 12:10 spool

drwxrwxrwt  2 root root  4096 May 16 16:59 tmp

drwxr-xr-x  2 root root  4096 Apr 17 12:10 www

smoke <at> SLAVE01:/var$ cd smokeping/

smoke <at> SLAVE01:/var/smokeping$ ls

smoke <at> SLAVE01:/var/smokeping$ sudo vi secret.txt

smoke <at> audinevk0142:/usr/sbin$ ls -l /var/smokeping/

total 4

-rwxrwxrwx 1 root root 14 May 17 14:11 secret.txt

smoke <at> SLAVE01:/var/smokeping$ cat secret.txt

Gr7k;=O&%/

 

smoke <at> audinevk0142:/usr/sbin$ sudo  ./smokeping --master-url=http://smokeping/smokeping.cgi              --cache-dir=/var/cache/              --shared-secret=/var/smokeping/secret.txt

ERROR: the shared secret file (/var/smokeping/secret.txt) is world-readable or writable at /usr/share/perl5/Smokeping.pm line 4109.

smoke <at> audinevk0142:/usr/sbin$

 

Line 4109 in /usr/share/perl5/Smokeping.pm  = die "ERROR: the shared secret file ($opt{'shared-secret'}) is world-readable or writable"

 

Thanks in advance

         
Samy Nashaat

FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT
tel. +202 2292 2784 | | samy.nashaat <at> orange.com

Equant, City Stars Tower 2 Floor 10 Omar Ebn El Khatab Street, Heliopolis, Cairo, Egypt
www.orange-business.com
“God will make a way when there seems to be no way”

P Please do not print this e-mail unless you really need to

 

 

_________________________________________________________________________________________________________________________

 

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

 

This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

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

Gmane