From mailinglists at rednarb.com Wed May 9 18:05:57 2012 From: mailinglists at rednarb.com (Eric Brander) Date: Wed, 9 May 2012 10:05:57 -0600 Subject: [smokeping-users] How can I force the Fast CGI page to recache? Message-ID: 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 From ged at jubileegroup.co.uk Wed May 9 18:13:55 2012 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Wed, 9 May 2012 17:13:55 +0100 (BST) Subject: [smokeping-users] How can I force the Fast CGI page to recache? In-Reply-To: References: Message-ID: 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. From mailinglists at rednarb.com Wed May 9 18:43:04 2012 From: mailinglists at rednarb.com (Eric Brander) Date: Wed, 9 May 2012 10:43:04 -0600 Subject: [smokeping-users] How can I force the Fast CGI page to recache? In-Reply-To: References: Message-ID: On Wed, May 9, 2012 at 10:13 AM, G.W. Haywood 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! From gamji44 at hotmail.com Sun May 13 01:11:10 2012 From: gamji44 at hotmail.com (red hat) Date: Sat, 12 May 2012 23:11:10 +0000 Subject: [smokeping-users] please help errors on Ubuntu 12.04 Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120512/8b153a2a/attachment.htm From lionel at gentil.name Sun May 13 05:30:24 2012 From: lionel at gentil.name (Lionel Gentil) Date: Sat, 12 May 2012 20:30:24 -0700 Subject: [smokeping-users] please help errors on Ubuntu 12.04 In-Reply-To: References: Message-ID: <6BBB0ACF-F73F-48E0-83C9-E284467071E4@gentil.name> 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 From gstucky at surfbest.net Wed May 16 00:18:57 2012 From: gstucky at surfbest.net (Greg Stucky) Date: Tue, 15 May 2012 18:18:57 -0400 Subject: [smokeping-users] Graphs not showing in new installation of Smokeping Message-ID: <4FB2D651.1070104@surfbest.net> 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. From gstucky at surfbest.net Wed May 16 01:29:07 2012 From: gstucky at surfbest.net (Greg Stucky) Date: Tue, 15 May 2012 19:29:07 -0400 Subject: [smokeping-users] Graphs not showing in new installation of Smokeping In-Reply-To: <4FB2D651.1070104@surfbest.net> References: <4FB2D651.1070104@surfbest.net> Message-ID: <4FB2E6C3.6090209@surfbest.net> 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 > From alex at letmethink.co.uk Wed May 16 14:32:35 2012 From: alex at letmethink.co.uk (Alexander Mann) Date: Wed, 16 May 2012 13:32:35 +0100 Subject: [smokeping-users] unison_tolerance Message-ID: <33C31191-1112-48E0-A072-FC19F17728C7@letmethink.co.uk> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120516/95d00cb4/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: york_last_10800.png Type: image/png Size: 32704 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120516/95d00cb4/attachment-0001.png From samy.nashaat at orange.com Thu May 17 13:29:40 2012 From: samy.nashaat at orange.com (samy.nashaat at orange.com) Date: Thu, 17 May 2012 13:29:40 +0200 Subject: [smokeping-users] Master - Slave Config problem Message-ID: <21633_1337254183_4FB4E127_21633_16745_1_6F4FECEA3919634CA6E08F8E880838219AEDE8@PUEXCBJ0.nanterre.francetelecom.fr> 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/5a278ed3/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1081 bytes Desc: image001.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/5a278ed3/attachment-0002.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2201 bytes Desc: image002.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/5a278ed3/attachment-0003.gif From lee at racksrv.net Thu May 17 13:35:47 2012 From: lee at racksrv.net (Lee Gardiner (RackSRV)) Date: Thu, 17 May 2012 12:35:47 +0100 Subject: [smokeping-users] Master - Slave Config problem In-Reply-To: <21633_1337254183_4FB4E127_21633_16745_1_6F4FECEA3919634CA6E08F8E880838219AEDE8@PUEXCBJ0.nanterre.francetelecom.fr> References: <21633_1337254183_4FB4E127_21633_16745_1_6F4FECEA3919634CA6E08F8E880838219AEDE8@PUEXCBJ0.nanterre.francetelecom.fr> Message-ID: 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 [cid:image001.gif at 01CD3429.95F187B0] [cid:image002.gif at 01CD3429.95F187B0] 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/7f331f14/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1081 bytes Desc: image001.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/7f331f14/attachment-0002.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 2201 bytes Desc: image002.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/7f331f14/attachment-0003.gif From samy.nashaat at orange.com Thu May 17 13:37:53 2012 From: samy.nashaat at orange.com (samy.nashaat at orange.com) Date: Thu, 17 May 2012 13:37:53 +0200 Subject: [smokeping-users] Master - Slave Config problem In-Reply-To: References: <21633_1337254183_4FB4E127_21633_16745_1_6F4FECEA3919634CA6E08F8E880838219AEDE8@PUEXCBJ0.nanterre.francetelecom.fr> Message-ID: <7740_1337254676_4FB4E314_7740_10363_1_6F4FECEA3919634CA6E08F8E880838219AEDEA@PUEXCBJ0.nanterre.francetelecom.fr> Hello Lee, Thanks for the reply. Ok what should I set it to, maybe 440. Also, would that make it not work or just insecure? Thanks in advance Samy Nashaat FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT 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 ________________________________ From: smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch [mailto:smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch ] On Behalf Of Lee Gardiner (RackSRV) Sent: Thursday, May 17, 2012 1:36 PM To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] 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. _________________________________________________________________________________________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/0d3cda25/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1081 bytes Desc: image001.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/0d3cda25/attachment-0002.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2201 bytes Desc: image002.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/0d3cda25/attachment-0003.gif From emsearcy at gmail.com Thu May 17 21:01:18 2012 From: emsearcy at gmail.com (Eric Searcy) Date: Thu, 17 May 2012 12:01:18 -0700 Subject: [smokeping-users] FastCGI orphaned process issue, fix Message-ID: <4FB54AFE.8090200@gmail.com> I discovered on my system (Smokeping 2.6.8, RHEL6, Apache 2.2, mod_fcgid 2.3.7) that Smokeping CGI procs became orphaned on both Apache restarts and graceful/reloads. 2506 ? Ss 0:32 /usr/sbin/httpd.worker 25417 ? S 0:00 \_ /usr/sbin/httpd.worker 25530 ? S 0:00 | \_ /bin/sh /opt/smokeping-2.6.8/htdocs/smokeping.fcgi 25531 ? S 0:01 | \_ /usr/bin/perl /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config 25418 ? Sl 0:00 \_ /usr/sbin/httpd.worker 25419 ? Sl 0:00 \_ /usr/sbin/httpd.worker 25420 ? Sl 0:00 \_ /usr/sbin/httpd.worker 2658 ? S 0:02 /usr/bin/perl /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config 5979 ? S 0:04 /usr/bin/perl /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config 10350 ? S 0:02 /usr/bin/perl /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config [...] Connecting strace shows that FastCGI sends a TERM signal to the smokeping.fcgi process (25530 above) but it's child 25531 doesn't get any signal and joins the growing list of orphans. (and no, not caused by SELinux.) Fix: changing smokeping.fcgi from the .dist ... #!/bin/sh /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config to: #!/bin/sh exec /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config ... resolves the problem for me. I suspect the "exec" should work in all cases (regular CGI too). Anybody else see this behavior? Eric -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 307 bytes Desc: OpenPGP digital signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120517/524ccd3c/attachment.pgp From samy.nashaat at orange.com Tue May 22 14:43:08 2012 From: samy.nashaat at orange.com (samy.nashaat at orange.com) Date: Tue, 22 May 2012 14:43:08 +0200 Subject: [smokeping-users] Master - Slave Config problem In-Reply-To: <7740_1337254676_4FB4E314_7740_10363_1_6F4FECEA3919634CA6E08F8E880838219AEDEA@PUEXCBJ0.nanterre.francetelecom.fr> References: <21633_1337254183_4FB4E127_21633_16745_1_6F4FECEA3919634CA6E08F8E880838219AEDE8@PUEXCBJ0.nanterre.francetelecom.fr> <7740_1337254676_4FB4E314_7740_10363_1_6F4FECEA3919634CA6E08F8E880838219AEDEA@PUEXCBJ0.nanterre.francetelecom.fr> Message-ID: <13424_1337690591_4FBB89DF_13424_607_1_6F4FECEA3919634CA6E08F8E88083821A3AE3E@PUEXCBJ0.nanterre.francetelecom.fr> Hello All, I still have a problem to get this to work. Can you help me. Thanks in advance Samy Nashaat FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT tel. +202 2292 2784 | CVS 382 2784 | mob. +20122 3372 815 | 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 ________________________________ From: smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch [mailto:smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch ] On Behalf Of samy.nashaat at orange.com Sent: Thursday, May 17, 2012 1:38 PM To: Lee Gardiner (RackSRV); smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Master - Slave Config problem Hello Lee, Thanks for the reply. Ok what should I set it to, maybe 440. Also, would that make it not work or just insecure? Thanks in advance Samy Nashaat FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT 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 ________________________________ From: smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch [mailto:smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch ] On Behalf Of Lee Gardiner (RackSRV) Sent: Thursday, May 17, 2012 1:36 PM To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] 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. ________________________________________________________________________ _________________________________________________ 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. _________________________________________________________________________________________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120522/be018394/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1081 bytes Desc: image001.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120522/be018394/attachment-0002.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2201 bytes Desc: image002.gif Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120522/be018394/attachment-0003.gif From rjd at merit.edu Tue May 22 16:28:02 2012 From: rjd at merit.edu (Russell Dwarshuis) Date: Tue, 22 May 2012 10:28:02 -0400 (EDT) Subject: [smokeping-users] Master - Slave Config problem In-Reply-To: <13424_1337690591_4FBB89DF_13424_607_1_6F4FECEA3919634CA6E08F8E88083821A3AE3E@PUEXCBJ0.nanterre.francetelecom.fr> Message-ID: <455782439.1736999.1337696882555.JavaMail.root@merit.edu> Mine is 640, user and group is smokeping. Don't forget to set it the same on the slaves. I don't think smokeping will run unless it is set correctly. -Russell Dwarshuis ----- Original Message ----- From: "samy nashaat" To: "Lee Gardiner (RackSRV)" , smokeping-users at lists.oetiker.ch Sent: Tuesday, May 22, 2012 8:43:08 AM Subject: Re: [smokeping-users] Master - Slave Config problem Hello All, I still have a problem to get this to work. Can you help me. Thanks in advance Samy Nashaat FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT tel . +202 2292 2784 | CVS 382 2784 | mob. +20122 3372 815 | 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 From: smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch [mailto:smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch] On Behalf Of samy.nashaat at orange.com Sent: Thursday, May 17, 2012 1:38 PM To: Lee Gardiner (RackSRV); smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Master - Slave Config problem Hello Lee, Thanks for the reply. Ok what should I set it to, maybe 440. Also, would that make it not work or just insecure? Thanks in advance Samy Nashaat FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT 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 From: smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch [mailto:smokeping-users-bounces+samy.nashaat=orange.com at lists.oetiker.ch] On Behalf Of Lee Gardiner (RackSRV) Sent: Thursday, May 17, 2012 1:36 PM To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] 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? From tobi at oetiker.ch Wed May 23 18:02:53 2012 From: tobi at oetiker.ch (Tobias Oetiker) Date: Wed, 23 May 2012 18:02:53 +0200 (CEST) Subject: [smokeping-users] [smokeping] FastCGI orphaned process issue, fix In-Reply-To: <4FB54AFE.8090200@gmail.com> References: <4FB54AFE.8090200@gmail.com> Message-ID: Hi Eric, Thursday Eric Searcy wrote: > I discovered on my system (Smokeping 2.6.8, RHEL6, Apache 2.2, mod_fcgid > 2.3.7) that Smokeping CGI procs became orphaned on both Apache restarts > and graceful/reloads. > > 2506 ? Ss 0:32 /usr/sbin/httpd.worker > 25417 ? S 0:00 \_ /usr/sbin/httpd.worker > 25530 ? S 0:00 | \_ /bin/sh > /opt/smokeping-2.6.8/htdocs/smokeping.fcgi > 25531 ? S 0:01 | \_ /usr/bin/perl > /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config > 25418 ? Sl 0:00 \_ /usr/sbin/httpd.worker > 25419 ? Sl 0:00 \_ /usr/sbin/httpd.worker > 25420 ? Sl 0:00 \_ /usr/sbin/httpd.worker > 2658 ? S 0:02 /usr/bin/perl > /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config > 5979 ? S 0:04 /usr/bin/perl > /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config > 10350 ? S 0:02 /usr/bin/perl > /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config > [...] > > Connecting strace shows that FastCGI sends a TERM signal to the > smokeping.fcgi process (25530 above) but it's child 25531 doesn't get > any signal and joins the growing list of orphans. (and no, not caused > by SELinux.) > > Fix: changing smokeping.fcgi from the .dist ... > > #!/bin/sh > /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config > > to: > > #!/bin/sh > exec /opt/smokeping-2.6.8/bin/smokeping_cgi /opt/smokeping-2.6.8/etc/config > > ... resolves the problem for me. I suspect the "exec" should work in > all cases (regular CGI too). > > Anybody else see this behavior? makes sense ... fixed in trunk cheers tobi > > Eric > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900 From tobi at oetiker.ch Thu May 24 11:21:10 2012 From: tobi at oetiker.ch (Tobias Oetiker) Date: Thu, 24 May 2012 11:21:10 +0200 (CEST) Subject: [smokeping-users] unison_tolerance In-Reply-To: <33C31191-1112-48E0-A072-FC19F17728C7@letmethink.co.uk> References: <33C31191-1112-48E0-A072-FC19F17728C7@letmethink.co.uk> Message-ID: Hi Alex, unison tolerance only affects the scaling of multiple charts ... the effect of the smoke size on the graphscale is deliberately limited to prevent excessive smoke from pushing the median down too far ... but there are cases where this does not look optimal, I agree ... cheers tobi May 16 Alexander Mann wrote: > 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 > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900 From Al_Sorrell at troweprice.com Thu May 24 20:52:09 2012 From: Al_Sorrell at troweprice.com (Sorrell, Al) Date: Thu, 24 May 2012 14:52:09 -0400 Subject: [smokeping-users] problem with CiscoRTTMonEchoICMP Message-ID: <3899F44EE8372C44926752C5C84C13D30188057FB9@OMTCP36040.corp.troweprice.net> I'm using CiscoRTTMonEchoICMP with Smokeping 2.4.2 and 2.6.1 and seeing similar problems on both (Solaris) systems. Most of my probes run fine. However, I have one router (router1 in the sanitized example below) which consistently returns an error status of 'wrongValue'. This device is a ciscoASR1002 running IOS:15.1(2)S2. Config and error as follows: ++ router1-router2 menu=router1-router2 title=router1 T1300 sending to router2-Tunnel102 probe=CiscoRTTMonEchoICMP host=10.150.1.14 # @ ioshost=RWcomm at router1 # source address for pings sent from router in ioshost iosint=10.150.1.13 pings=20 Received SNMP response with error code error status: wrongValue index 5 (OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.7.26488) SNMPv2c_Session (remote host: "router1 [10.150.200.5].161) community: "RWcomm" request ID: -1500721022 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at lib/SNMP_util.pm line 786 I have several routers which receive a 'genErr' response - again a sample configs and response. These devices are cisco2821 running IOS:15.1(3)T. (I should note that I do have some of these devices with the same IOS which DO work correctly. Any ideas on the possible problem or how to troubleshoot? +++ router3-router4 menu=router3-router4 title=router3 Tunnel 102 sending to router4 T1300 probe=CiscoRTTMonEchoICMP host=router4-Tunnel1300 # @ ioshost=RWcomm at router3 # source address for pings sent from router in ioshost iosint=router3-Tunnel102 pings=20 Received SNMP response with error code error status: genErr index 1 (OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.9.18970) SNMPv2c_Session (remote host: "router3" [172.30.4.229].161) community: "RWcomm" request ID: -1310354256 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at lib/SNMP_util.pm line 786 _________________________ Almon (Al) Sorrell Global Business Solutions and Technology Services Corporate Network Services | Network Engineering Consultant T. Rowe Price 4515 Painters Mill Road, TE9008 Owings Mills, MD 21117 Phone: (410) 345-3042 Cell:(443) 527-2398 Fax:(410) 345-3135 Email: Al_Sorrell at troweprice.com T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice. Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein. Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail. The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail. From newsboonie at gmail.com Fri May 25 19:01:09 2012 From: newsboonie at gmail.com (Boonie) Date: Fri, 25 May 2012 19:01:09 +0200 Subject: [smokeping-users] online/offline Alert References: <3899F44EE8372C44926752C5C84C13D30188057FB9@OMTCP36040.corp.troweprice.net> Message-ID: Hi, I'm trying to monitor some sites that should come online on IPv6 soon. This is the definition in the Alerts file +online type = rtt pattern = ==U,==U,!=U comment = Box went online +offline type = rtt pattern = !=U,==U,==U edgetrigger = yes comment = Box went offline My problem is that when I restart smokeping, I'll receive a mail "offline was raised" and after less than an hour "offline was cleared". I would just like to know when the monitored site comes up or goes down. If anyone has a better Alert config for that, I'd be grateful. My box runs on Linux using Smokeping version 2.3.6 Thanks, Dave From peiffer at umn.edu Fri May 25 21:20:24 2012 From: peiffer at umn.edu (Tim Peiffer) Date: Fri, 25 May 2012 14:20:24 -0500 Subject: [smokeping-users] Use of Smokeping for LDAPS checks. Message-ID: <4FBFDB78.4040709@umn.edu> We have been instrumenting a number of our services with smokeping for some time. I have been interested in getting a little better visibility into our X500 directory since we have some dependencies that need to be there in order to make our wireless and vpn services work correctly. Is it possible to do LDAPS monitoring using the exisiting LDAP probe? How do you specifying where the SSL/TLS certificate is stored? Do you need to specify all of the attributes or or is uid good enough? Please advise, Tim -- Tim Peiffer Network Support Engineer Office of Information Technology University of Minnesota/NorthernLights GigaPOP +1 612 626-7884 (desk) From throck+smokeping at gmail.com Tue May 29 07:21:18 2012 From: throck+smokeping at gmail.com (Tom Throckmorton) Date: Tue, 29 May 2012 01:21:18 -0400 Subject: [smokeping-users] Use of Smokeping for LDAPS checks. In-Reply-To: <4FBFDB78.4040709@umn.edu> References: <4FBFDB78.4040709@umn.edu> Message-ID: <4FC45CCE.10406@gmail.com> Hello Tim; On 5/25/12 3:20 PM, Tim Peiffer wrote: > > We have been instrumenting a number of our services with smokeping for > some time. I have been interested in getting a little better visibility > into our X500 directory since we have some dependencies that need to be > there in order to make our wireless and vpn services work correctly. Is > it possible to do LDAPS monitoring using the exisiting LDAP probe? I believe that is dependent on echoping, which does not appear to support ldaps - are you not able to query your host over the non-ssl port? > How do you specifying where the SSL/TLS certificate is stored? OpenSSL-ish things usually want them in /etc/pki/tls/certs; some OpenLDAP-ish tools prefer /etc/openldap/cacerts/ - depends on the code. Doesn't matter in this case. > Do you need to specify all of the attributes or or is uid good enough? The request filter should reflect what you want to measure/model; the fetching of 1 or many entries. I suggest running echoping on the commandline to get a sense of which filter best captures what you're looking for. Note that echoping will perform an initial dummy request using objectclass='*' against the base you specify, so if you're pointing it at a directory base with many entries, you might be issuing more queries than you originally thought. If you're just looking to measure some generic response times, choose a base without much in it. You may also want to poke around at cn=monitor, if it is supported on your server. Cheers, -tt From mail at lists.macscr.com Wed May 30 10:57:27 2012 From: mail at lists.macscr.com (Mark Chaney) Date: Wed, 30 May 2012 03:57:27 -0500 Subject: [smokeping-users] slaves and web servers Message-ID: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> Do the slaves really need to have web servers installed? If so, why? According the install instructions, the slaves need everything a master has, but it gets its config from the master. Thanks for your help! -Mark From ged at jubileegroup.co.uk Wed May 30 11:27:28 2012 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Wed, 30 May 2012 10:27:28 +0100 (BST) Subject: [smokeping-users] slaves and web servers In-Reply-To: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> Message-ID: Hi there, On Wed, 30 May 2012, Mark Chaney wrote: > Do the slaves really need to have web servers installed? No. -- 73, Ged. From mail at lists.macscr.com Wed May 30 22:26:16 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Wed, 30 May 2012 15:26:16 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> Message-ID: <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> Ok, great. One last question. When I setup two slaves, im assuming the master is still used as a source of information as well? That way I have information being gathered by 3 sources (Master, Slave 1, Slave2)? Thanks, Mark From mail at lists.macscr.com Wed May 30 23:59:00 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Wed, 30 May 2012 16:59:00 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> Message-ID: <8e71089c75ac75589113fe9303bb3ee3@lists.macscr.com> Hmm. I think i have it setup correctly and the slave rrd's are being created, but this is what my charts are looking like: http://www.screencast.com/t/18M0nhYFZr5s Seems my two slaves are showing with the same name and all their results are empty. On 2012-05-30 15:26, mail at lists.macscr.com wrote: > Ok, great. One last question. When I setup two slaves, im assuming > the > master is still used as a source of information as well? That way I > have > information being gathered by 3 sources (Master, Slave 1, Slave2)? > > Thanks, > Mark > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From mail at lists.macscr.com Thu May 31 00:28:57 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Wed, 30 May 2012 17:28:57 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: <8e71089c75ac75589113fe9303bb3ee3@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> <8e71089c75ac75589113fe9303bb3ee3@lists.macscr.com> Message-ID: <2dac6bcedfef741d50ec98aa0d89203e@lists.macscr.com> Here is a snippet of my master config where it relates to the slaves: http://pastie.org/private/stdzptadj7g2wflryx6yg From mail at lists.macscr.com Thu May 31 00:36:44 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Wed, 30 May 2012 17:36:44 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> <8e71089c75ac75589113fe9303bb3ee3@lists.macscr.com> <2dac6bcedfef741d50ec98aa0d89203e@lists.macscr.com> Message-ID: <1160f2d47d2724468cbabbf35f1e4796@lists.macscr.com> But I have over 50 devices that are going to be monitored and multiple slaves. Thats not going to work well at all. Also, while i do have your attention, is there a way to include a separate file in the main config that i can use solely for targets instead of listing them in the main config? Havent tried, but wondering if just: "Include /path/to/target_file" would work. On 2012-05-30 17:32, Ryan Becker wrote: > Try specifying the slave name under the device name: > > + powerglide_foobar_com > host = powerglide.foobar.com [4] > slave = windcharger.foobar.com [5] > > On Wed, May 30, 2012 at 6:28 PM, wrote: > >> Here is a snippet of my master config where it relates to the >> slaves: >> http://pastie.org/private/stdzptadj7g2wflryx6yg [1] >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch [2] >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users [3] > > > > Links: > ------ > [1] http://pastie.org/private/stdzptadj7g2wflryx6yg > [2] mailto:smokeping-users at lists.oetiker.ch > [3] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > [4] http://powerglide.foobar.com > [5] http://windcharger.foobar.com > [6] mailto:mail at lists.macscr.com From w_thal at gmx.de Thu May 31 07:29:12 2012 From: w_thal at gmx.de (Werner Thal) Date: Thu, 31 May 2012 07:29:12 +0200 Subject: [smokeping-users] slaves and web servers In-Reply-To: <1160f2d47d2724468cbabbf35f1e4796@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <1160f2d47d2724468cbabbf35f1e4796@lists.macscr.com> (sfid-20120531_071206_111330_80522679) Message-ID: <201205310729.12803.w_thal@gmx.de> Hallo Mark, regarding the multiple Target config files, I can say - yes, it works. Because I have lots of Devices to monitor, I have had the same idea as you and decided to split the Targets in seperate files for a more clear arrangement. But let me telll you, that you have to take care of the order in wich you include the different files in the main config, because this affects the structure of the generated menu on your web page. Hope this will help you. Kind regards Werner > But I have over 50 devices that are going to be monitored and multiple > slaves. Thats not going to work well at all. > > Also, while i do have your attention, is there a way to include a > separate file in the main config that i can use solely for targets > instead of listing them in the main config? Havent tried, but wondering > if just: "Include /path/to/target_file" would work. > > > On 2012-05-30 17:32, Ryan Becker wrote: > > Try specifying the slave name under the device name: > > > > + powerglide_foobar_com > > host = powerglide.foobar.com [4] > > slave = windcharger.foobar.com [5] > > > > On Wed, May 30, 2012 at 6:28 PM, wrote: > > > >> Here is a snippet of my master config where it relates to the > >> slaves: > >> http://pastie.org/private/stdzptadj7g2wflryx6yg [1] > >> > >> _______________________________________________ > >> smokeping-users mailing list > >> smokeping-users at lists.oetiker.ch [2] > >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users [3] > > > > > > > > Links: > > ------ > > [1] http://pastie.org/private/stdzptadj7g2wflryx6yg > > [2] mailto:smokeping-users at lists.oetiker.ch > > [3] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > [4] http://powerglide.foobar.com > > [5] http://windcharger.foobar.com > > [6] mailto:mail at lists.macscr.com > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From mail at lists.macscr.com Thu May 31 07:36:02 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Thu, 31 May 2012 00:36:02 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: <201205310729.12803.w_thal@gmx.de> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <1160f2d47d2724468cbabbf35f1e4796@lists.macscr.com> (sfid-20120531_071206_111330_80522679) <201205310729.12803.w_thal@gmx.de> Message-ID: <7a116520505a38f5e2c754febe988422@lists.macscr.com> Thanks! So ideas on my chart issue for slaves though? Im not even sure how to debug this as the debug logs dont have any errors. This is driving me mad. On 2012-05-31 00:29, Werner Thal wrote: > Hallo Mark, > > regarding the multiple Target config files, I can say - yes, it > works. > Because I have lots of Devices to monitor, I have had the same idea > as you > and decided to split the Targets in seperate files for a more clear > arrangement. > But let me telll you, that you have to take care of the order in wich > you include the > different files in the main config, because this affects the > structure of the generated > menu on your web page. > > Hope this will help you. > > Kind regards > Werner > >> But I have over 50 devices that are going to be monitored and >> multiple >> slaves. Thats not going to work well at all. >> >> Also, while i do have your attention, is there a way to include a >> separate file in the main config that i can use solely for targets >> instead of listing them in the main config? Havent tried, but >> wondering >> if just: "Include /path/to/target_file" would work. >> >> >> On 2012-05-30 17:32, Ryan Becker wrote: >> > Try specifying the slave name under the device name: >> > >> > + powerglide_foobar_com >> > host = powerglide.foobar.com [4] >> > slave = windcharger.foobar.com [5] >> > >> > On Wed, May 30, 2012 at 6:28 PM, >> wrote: >> > >> >> Here is a snippet of my master config where it relates to the >> >> slaves: >> >> http://pastie.org/private/stdzptadj7g2wflryx6yg [1] >> >> >> >> _______________________________________________ >> >> smokeping-users mailing list >> >> smokeping-users at lists.oetiker.ch [2] >> >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users [3] >> > >> > >> > >> > Links: >> > ------ >> > [1] http://pastie.org/private/stdzptadj7g2wflryx6yg >> > [2] mailto:smokeping-users at lists.oetiker.ch >> > [3] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> > [4] http://powerglide.foobar.com >> > [5] http://windcharger.foobar.com >> > [6] mailto:mail at lists.macscr.com >> >> _______________________________________________ >> 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 From mail at lists.macscr.com Thu May 31 09:30:07 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Thu, 31 May 2012 02:30:07 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: <7a116520505a38f5e2c754febe988422@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <1160f2d47d2724468cbabbf35f1e4796@lists.macscr.com> (sfid-20120531_071206_111330_80522679) <201205310729.12803.w_thal@gmx.de> <7a116520505a38f5e2c754febe988422@lists.macscr.com> Message-ID: <4114b745f82889a8e1b70774e41935ff@lists.macscr.com> Ok, I am thinking this is a permissions issue with apache not being able to write to the rrd files, which is probably why the master works fine, but its needed for slaves. First, how do I get smokeping to run as a different user? This way i can add apache to its group. Right now its just running as root. I installed smokeping from source from the site. I am surprised these instructions arent part of the docs on the site. BTW, my OS is CentOS 5.x. Thanks! From w_thal at gmx.de Thu May 31 10:48:04 2012 From: w_thal at gmx.de (Werner Thal) Date: Thu, 31 May 2012 10:48:04 +0200 Subject: [smokeping-users] slaves and web servers In-Reply-To: <4114b745f82889a8e1b70774e41935ff@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <7a116520505a38f5e2c754febe988422@lists.macscr.com> <4114b745f82889a8e1b70774e41935ff@lists.macscr.com> (sfid-20120531_093214_243172_5CD3E979) Message-ID: <201205311048.04437.w_thal@gmx.de> Hallo Mark, I don't think that this is an apache permission problem, because apache only does the presentation of the data. The RRDs are written by the smokeping deamon, I assume. So, since I didn't have any experience with this master/slave construct I also don't have any clues for this. But I also have some issue in conjunction with more than one FPING probes. If I enable multiple FPING probes, smokeping stops writing the RRDs. After doing some (short ;o) ) debugging and don't finding any hints, i tried to start smokeping as root directly from the command line and let it deamonize itself. Than I noticed that my graphs are working again, also with multiple probes active. So maybe this is a workaround for you too? Trie to start the smokeping as root directly from CLI and look what happens. So I know that this is only a workaround, because it is not recommended starting smokeping as root directly. CU Werner > Ok, I am thinking this is a permissions issue with apache not being > able to write to the rrd files, which is probably why the master works > fine, but its needed for slaves. First, how do I get smokeping to run as > a different user? This way i can add apache to its group. Right now its > just running as root. I installed smokeping from source from the site. I > am surprised these instructions arent part of the docs on the site. BTW, > my OS is CentOS 5.x. > > Thanks! > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From mail at lists.macscr.com Thu May 31 11:32:37 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Thu, 31 May 2012 04:32:37 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: <201205311048.04437.w_thal@gmx.de> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <7a116520505a38f5e2c754febe988422@lists.macscr.com> <4114b745f82889a8e1b70774e41935ff@lists.macscr.com> (sfid-20120531_093214_243172_5CD3E979) <201205311048.04437.w_thal@gmx.de> Message-ID: Oh its already running as root. Which is why im trying to find a way to get it run as a different user. Extremely simple with ubuntu as it works out the the box, but i dont see anything in my init script that would make me think there was a "run as this user" option. I tried modifying it like so, with no luck. Still runs as root: http://pastie.org/private/8gkwxllyqhkr0swadr0aja Also, since the master receives data through apache from the slaves, i do think apache needs write access to the rrd files. From w_thal at gmx.de Thu May 31 11:48:41 2012 From: w_thal at gmx.de (Werner Thal) Date: Thu, 31 May 2012 11:48:41 +0200 Subject: [smokeping-users] slaves and web servers In-Reply-To: References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <201205311048.04437.w_thal@gmx.de> (sfid-20120531_113719_907326_4A4CFF19) Message-ID: <201205311148.42042.w_thal@gmx.de> > Oh its already running as root. Which is why im trying to find a way to > get it run as a different user. Extremely simple with ubuntu as it works > out the the box, but i dont see anything in my init script that would > make me think there was a "run as this user" option. I tried modifying > it like so, with no luck. Still runs as root: > http://pastie.org/private/8gkwxllyqhkr0swadr0aja I have an default option as follows in my init-script: DAEMON_USER=smokeping Maybe this helps. By the way, I am using debian testing. > > Also, since the master receives data through apache from the slaves, i > do think apache needs write access to the rrd files. Ahhhh, ok. I didn't know about that behavior. So, I am sorry about not beeing very helpful in this case. CU Werner > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From throck+smokeping at gmail.com Thu May 31 17:06:18 2012 From: throck+smokeping at gmail.com (Tom Throckmorton) Date: Thu, 31 May 2012 11:06:18 -0400 Subject: [smokeping-users] slaves and web servers In-Reply-To: <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> Message-ID: <4FC788EA.1020503@gmail.com> On 5/30/12 4:26 PM, mail at lists.macscr.com wrote: > Ok, great. One last question. When I setup two slaves, im assuming the > master is still used as a source of information as well? That way I have > information being gathered by 3 sources (Master, Slave 1, Slave2)? It is by default, yes, but can be disabled - see the 'nomasterpoll' option: http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html > nomasterpoll > > Use this in a master/slave setup where the master must not poll a particular target. The master will now skip this entry in its polling cycle. Note that if you set the hide property on a non leaf entry all subordinate entries will also disapear in the menu structure. You can still access them via direct link or via an alternate hierarchy. > > If you have no master/slave setup this will have a similar effect to the hide property, except that the menu entry will still show up, but will not contain any graphs. > > This variable inherits its value from the parent section if nothing is specified here. > > Default value: nomasterpoll = no You can apply that at any level within the Targets section, and it will be applied to subordinate targets. -tt