From dhawal.doshy+smokeping at gmail.com Tue Jan 4 13:42:46 2011 From: dhawal.doshy+smokeping at gmail.com (Dhawal Doshy) Date: Tue, 4 Jan 2011 18:12:46 +0530 Subject: [smokeping-users] Graph colors (for slaves) and Y-axis numbers In-Reply-To: References: Message-ID: On Wed, Dec 15, 2010 at 5:26 PM, Dhawal Doshy wrote: > Hello List, > > I've a minor query on the graph colors for slaves, it appears both > slaves use the same color (red) as compared to the master (blue). Is > it possible to have separate colors for each slave? Image is here: > http://lm1.netmagicians.com/Sprint_Network_mini.png This was sorted out via the "color" variable in the slave definition. > Also, for the attached image, there is some garbling of the numbers on > Y-axis towards the top. Is this a smokeping issue or an rrd issue? How > do i correct it? This one is still not clear, any pointers in the right direction will help. thanks, - dhawal From Jeremy.Guarini at nuance.com Sat Jan 8 00:53:33 2011 From: Jeremy.Guarini at nuance.com (Guarini, Jeremy) Date: Fri, 7 Jan 2011 23:53:33 +0000 Subject: [smokeping-users] curl probe and xml response Message-ID: Hi all, I am using the curl probe successfully with two sites but a third site that I have configured doesn't seem to work. I have ran smokeping in debug and have then taken the failing check and ran that by hand on the command line, which worked just fine. Comparing the output from the successful checks against the one that fails the only difference I can spot is in the response from the server, here is the difference: *working* < HTTP/1.1 200 OK < Date: Fri, 07 Jan 2011 23:42:10 GMT < Content-Length: 2595 < Content-Type: text/xml; charset=utf-8 < Set-Cookie: JSESSIONID=T79QNnkSqfhRrpGMPwmQhsPtyS3m0sQrmn2JnL0XshqQjKpnp4Z7!-1675284917; path=/ < *fails* < HTTP/1.1 200 OK < Server: Apache-Coyote/1.1 < Content-Type: text/xml < Content-Length: 4633 < Date: Fri, 07 Jan 2011 23:42:47 GMT < Trying to get more output from smokeping I went and changed the lib/Smokeping/probes/Curl.pm so that it would do system/exec on the @cmd and output stdout and stderr to a file to verify that I was actually getting a response from the server. Checking the stderr file I saw the expected correct output from the server, which happened to be the same output when calling curl directly. Here's a snip of the debug output from smokeping Smokeping version 2.004002 successfully launched. Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that. Curl: probing 1 targets with step 300 s and offset 149 s. FPing: probing 0 targets with step 300 s and offset 149 s. TCPPing: probing 0 targets with step 300 s and offset 149 s. DNS: probing 0 targets with step 300 s and offset 149 s. Curl: forks 5, timeout for each target 101 Curl: executing command list '/usr/local/bin/curl','-m','10','-o','-','-w','Time: %{time_total} DNS time: %{time_namelookup} Redirect time: %{time_redirect}\n','-L','--fail','--data','/admin/smokeping/xml-test/data.xml','--header','"SOAPAction: /test/info/query"','--header','"Content-Type: text/xml"','http://127.0.0.1:80/test/test' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 33 0 0 0 33 0 3 --:--:-- 0:00:10 --:--:-- 0 curl: (28) Operation timed out after 10000 milliseconds with 0 bytes received Curl: curl output: 'Time: 10.037 DNS time: 0.002 Redirect time: 0.000', result: 10.035 Curl: WARNING: curl exited with status 28 on 127.0.0.1 And here's the conf section for the site ++ xml_test probe = Curl menu = xml test curl title = xml test curl host = 127.0.0.1 insecure_ssl = 0 ssl2 = 0 pings = 5 timeout = 10 extraargs = --fail;--data;/admin/smokeping/xml-test/data.xml;--header;"SOAPAction: /test/info/query";--header;"Content-Type: text/xml" extrare = /;/ urlformat = http://%host%:80/test/test alerts = total_loss Relavent OS info: -bash-3.00$ ./bin/smokeping --version 2.004002 -bash-3.00$ /usr/local/bin/curl --version curl 7.19.6 (sparc-sun-solaris2.10) libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3 libidn/1.14 libssh2/1.2.2 Protocols: tftp ftp telnet dict http file https ftps scp sftp Features: IDN IPv6 Largefile NTLM SSL libz -bash-3.00$ uname -a SunOS snmblv04 5.10 Generic_142900-12 sun4v sparc SUNW,SPARC-Enterprise-T5220 I'm at a loss as to why the response seems to come back but smokeping just times out on the check, and as I noted two other checks work just fine. Also, is there a way to get all the traffic printed out and every step that is occurring, ie. More output other than ?debug ? thanks -- Jeremy Guarini From mpsaini at gmail.com Wed Jan 12 19:12:06 2011 From: mpsaini at gmail.com (Mohinder Partap Singh) Date: Wed, 12 Jan 2011 13:12:06 -0500 Subject: [smokeping-users] Need help with Smokeping Message-ID: Hi Can someone please help/advise we have 4 different Co-los. I want to install smokeping at each location and then bring the graphs to one single location. Can this be achieved ? Thanks Mp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110112/89f68d27/attachment.htm From tobi at oetiker.ch Wed Jan 12 21:19:34 2011 From: tobi at oetiker.ch (Tobias Oetiker) Date: Wed, 12 Jan 2011 21:19:34 +0100 (CET) Subject: [smokeping-users] Need help with Smokeping In-Reply-To: References: Message-ID: Hi Mohinder, Today Mohinder Partap Singh wrote: > Hi > > Can someone please help/advise > > we have 4 different Co-los. I want to install smokeping at each location and > then bring the graphs to one single location. Can this be achieved ? yes with a master/slave setup this can be achieved easily cheers tobi > Thanks > Mp > -- 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 sovrevage at gmail.com Wed Jan 19 01:51:43 2011 From: sovrevage at gmail.com (=?ISO-8859-1?Q?Stian_=D8vrev=E5ge?=) Date: Wed, 19 Jan 2011 01:51:43 +0100 Subject: [smokeping-users] DSCP marking on ICMP pings Message-ID: Hi all, To measure and tune the quality of service among different traffic classes in my network I'm eager to probe nodes with different DSCP markings. However, I've not come up with a way to do this with smokeping, mainly because: - FPing, the ICMP probe, does not appear to support changing the TOS/COS/DSCP header data. - The echoping probe does support changing TOS/COS/DSCP, but does not support plain old ICMP pings. My environment makes it somewhat impossible to rely on solely TCP/UDP echo pings. Fixing one of these would be my favored solution. Of workarounds one can start to fiddle with multiple IPs/interfaces on the server and do marking somewhere else in the network but this is very wasteful of resources and induces unneeded complexity. Any ideas? Which of fping or echoping would I be most likely to succeed in getting a change request fulfilled? Regards, Stian Ovrevage -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110119/42339d44/attachment.htm From m009 at sifalda.net Thu Jan 20 12:49:56 2011 From: m009 at sifalda.net (=?utf-8?q?Milo=C5=A1_=C5=A0ifalda?=) Date: Thu, 20 Jan 2011 12:49:56 +0100 Subject: [smokeping-users] confusing average packet loss Message-ID: <201101201249.56291.m009@sifalda.net> Hi all, I need to monitor real packet loss of company workstations. For example these workstations are 60% time down. I get in 400days graph average packet loss 61%. But I need average packet loss from the time when the workstation is up. I can calculate with 100% packet loss = host down. I need to set UNKNOWN value into rrd instead of 100% loss (maybe). How can I do this, or is another way to get real values of average packet lost? Thanks, Milos From kbensch at fullnet.co.uk Thu Jan 20 16:14:30 2011 From: kbensch at fullnet.co.uk (Kobus Bensch) Date: Thu, 20 Jan 2011 15:14:30 +0000 Subject: [smokeping-users] Traceroute feature Message-ID: <20110120151430.16004mamav8e7tys@esmith.fullnet.co.uk> Hello everyone I have managed to setup smokeping and i am happily smoking the network. I am now trying to setup the traceroute and although it pops up and wants to start tracing, i get the following error in the window: The specified type of tracerouting is only allowed for superuser only How do i get it to perform the trace? My smokeping speedy-cgi is running as apache on a centos box. Thanks in advance Kobus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110120/39408555/attachment.htm From tobi at oetiker.ch Thu Jan 20 16:51:46 2011 From: tobi at oetiker.ch (Tobias Oetiker) Date: Thu, 20 Jan 2011 16:51:46 +0100 (CET) Subject: [smokeping-users] Traceroute feature In-Reply-To: <20110120151430.16004mamav8e7tys@esmith.fullnet.co.uk> References: <20110120151430.16004mamav8e7tys@esmith.fullnet.co.uk> Message-ID: Hi Kobus, Today Kobus Bensch wrote: > Hello everyone > > I have managed to setup smokeping and i am happily smoking the > network. I am now trying to setup the traceroute and although it > pops up and wants to start tracing, i get the following error in > the window: > > The specified type of tracerouting is only allowed for superuser > only > > How do i get it to perform the trace? My smokeping speedy-cgi is > running as apache on a centos box. you have to make the traceroute binary setuid root cheers tobi > Thanks in advance > > Kobus > > -- 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 alter3d at alter3d.ca Thu Jan 20 14:38:46 2011 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Thu, 20 Jan 2011 05:38:46 -0800 Subject: [smokeping-users] confusing average packet loss Message-ID: <20110120053846.A0B76F17@resin13.mta.everyone.net> You can accomplish this by changing the xff value of the RRD files so that a higher percentage of samples must be 'known' in order for data to be consolidated. This is the second value in the lines defining the RRA records in the "*** Database ***" configuration section (for example, "AVERAGE 0.5 1 1008" has an xff of 0.5, meaning that you need to know 50% of the values in order to consolidate to a known value). See the Smokeping (or better yet, rrdtool) docs for a full explanation of the math involved. You'll have to figure out what xff value best suits your particular setup, however. - Peter --- m009 at sifalda.net wrote: From: Milo? ?ifalda To: smokeping-users at lists.oetiker.ch Subject: [smokeping-users] confusing average packet loss Date: Thu, 20 Jan 2011 12:49:56 +0100 Hi all, I need to monitor real packet loss of company workstations. For example these workstations are 60% time down. I get in 400days graph average packet loss 61%. But I need average packet loss from the time when the workstation is up. I can calculate with 100% packet loss = host down. I need to set UNKNOWN value into rrd instead of 100% loss (maybe). How can I do this, or is another way to get real values of average packet lost? Thanks, Milos _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From dano at northpb.com Sun Jan 23 17:06:50 2011 From: dano at northpb.com (Dan O'Neill) Date: Sun, 23 Jan 2011 08:06:50 -0800 Subject: [smokeping-users] Charts problem "unknown variable 'sorter'" Message-ID: The problem I am reporting is consistent between revision 2.4.2 and trunk 20110123 and is most likely a configuration error that I simply haven't been able to resolve. Taking a working configuration and adding in the 'charts' section per the documentation results in the following error when checking the config file or starting smokeping ERROR: etc/config, line 152: unknown variable 'sorter' Any help would be appreciated. Dan Here is a section of the config file ----- cut here ----- *** Targets *** menuextra = * probe = FPing menu = Top title = Network Latency Grapher remark = Welcome to a few things I measure from San Diego, CA. + charts menu = Charts title = The most interesting destinations ++ median sorter = Median(entries=>10) title = Sorted by Median Roundtrip Time menu = Top Median RTT format = Median RTT %e s + World menu = World title = Worldwide Connectivity ++ La_Jolla menu = La Jolla title = La Jolla TWC (173.198.15.10) host = 173.198.15.10 ----- end ----- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110123/ddff63b0/attachment.htm From alter3d at alter3d.ca Sun Jan 23 19:08:56 2011 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Sun, 23 Jan 2011 13:08:56 -0500 Subject: [smokeping-users] Charts problem "unknown variable 'sorter'" In-Reply-To: References: Message-ID: <4D3C6EB8.5090309@alter3d.ca> Hi Dan; You have the Charts definitions in the wrong section of the config file. It should go in the "*** Presentation ***" section, not "*** Targets ***". - Peter On 1/23/2011 11:06 AM, Dan O'Neill wrote: > The problem I am reporting is consistent between revision 2.4.2 and > trunk 20110123 and is most likely a configuration error that I simply > haven't been able to resolve. > > Taking a working configuration and adding in the 'charts' section per > the documentation results in the following error when checking the > config file or starting smokeping > > ERROR: etc/config, line 152: unknown variable 'sorter' > > Any help would be appreciated. > > Dan > > Here is a section of the config file > ----- cut here ----- > > *** Targets *** > menuextra = class='{CLASS}' \ > onclick="window.open(this.href,this.target, \ > > 'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \ > return false;">* > > probe = FPing > > menu = Top > title = Network Latency Grapher > remark = Welcome to a few things I measure from San Diego, CA. > > + charts > menu = Charts > title = The most interesting destinations > > ++ median > sorter = Median(entries=>10) > title = Sorted by Median Roundtrip Time > menu = Top Median RTT > format = Median RTT %e s > > + World > > menu = World > title = Worldwide Connectivity > > ++ La_Jolla > menu = La Jolla > title = La Jolla TWC (173.198.15.10) > host = 173.198.15.10 > > ----- end ----- > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > 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/20110123/9e6f9291/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6444 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110123/9e6f9291/attachment-0001.bin From dano at northpb.com Sun Jan 23 20:26:38 2011 From: dano at northpb.com (Dan O'Neill) Date: Sun, 23 Jan 2011 11:26:38 -0800 Subject: [smokeping-users] Charts problem "unknown variable 'sorter'" In-Reply-To: <4D3C6EB8.5090309@alter3d.ca> References: <4D3C6EB8.5090309@alter3d.ca> Message-ID: Thank you Peter for the prompt and polite response. That did indeed fix the problem. On Sun, Jan 23, 2011 at 10:08 AM, Peter Kristolaitis wrote: > Hi Dan; > > You have the Charts definitions in the wrong section of the config file. > It should go in the "*** Presentation ***" section, not "*** Targets ***". > > - Peter > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110123/803ea719/attachment.htm From chawkinson at cenic.org Mon Jan 24 20:05:47 2011 From: chawkinson at cenic.org (Chris Hawkinson) Date: Mon, 24 Jan 2011 11:05:47 -0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! Message-ID: <4D3DCD8B.1080109@cenic.org> Hi Everyone, I'm a newbie to Smokeping, but it looks like an great tool, and should be perfect for my application. Unfortunately, I'm having trouble getting a Master/Slave configuration to start up. Every time I try to start the slave with the command ... ./smokeping --cache-dir=/opt/smokeping/data --master-url=http://smokepingmaster/smokeping/smokeping.cgi --shared-secret=/opt/smokeping/etc/smokeping_secrets ... I get the error message ... "WARNING Master said 500 read timeout ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the targets on the master ?" Both the MASTER and SLAVE machines are Centos 5.5 32 bit Linux systems. My configuration is as follows... On the MASTER... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /opt/smokeping/etc/config looks like ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *** General *** owner = CENIC contact = chawkinson at cenic.org mailhost = my.mail.host sendmail = /usr/sbin/sendmail # NOTE: do not put the Image Cache below cgi-bin # since all files under cgi-bin will be executed ... this is not # good for images. imgcache = /var/www/html/smokeping/img imgurl = http://www.how2centos.com/smokeping/img datadir = /opt/smokeping/data piddir = /opt/smokeping/var cgiurl = http://www.how2centos.com/smokeping/smokeping.cgi smokemail = /opt/smokeping/etc/smokemail tmail = /opt/smokeping/etc/tmail # specify this to get syslog logging syslogfacility = local0 # each probe is now run in its own process # disable this to revert to the old behaviour # concurrentprobes = no *** Alerts *** to = alertee at address.somewhere from = smokealert at company.xy +someloss type = loss # in percent pattern =>0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row *** Database *** step = 300 pings = 20 # consfn mrhb steps total AVERAGE 0.5 1 1008 AVERAGE 0.5 12 4320 MIN 0.5 12 4320 MAX 0.5 12 4320 AVERAGE 0.5 144 720 MAX 0.5 144 720 MIN 0.5 144 720 *** Presentation *** template = /opt/smokeping/etc/basepage.html + charts menu = Charts title = The most interesting destinations ++ stddev sorter = StdDev(entries=>4) title = Top Standard Deviation menu = Std Deviation format = Standard Deviation %f ++ max sorter = Max(entries=>5) title = Top Max Roundtrip Time menu = by Max format = Max Roundtrip Time %f seconds ++ loss sorter = Loss(entries=>5) title = Top Packet Loss menu = Loss format = Packets Lost %f ++ median sorter = Median(entries=>5) title = Top Median Roundtrip Time menu = by Median format = Median RTT %f seconds + overview width = 600 height = 50 range = 10h + detail width = 600 height = 200 unison_tolerance = 2 "Last 3 Hours" 3h "Last 30 Hours" 30h "Last 10 Days" 10d "Last 400 Days" 400d #+ hierarchies #++ owner #title = Host Owner #++ location #title = Location *** Probes *** + FPing binary = /usr/sbin/fping *** Targets *** slaves = pipes-la-1 menuextra =(TR) probe = FPing menu = Top title = Network Latency Grapher remark = Welcome to the SmokePing website of xxx Company. \ Here you will learn all about the latency of our network. + hosts menu= Targets ++ How2CentOS menu = How2CentOS.com title = How2CentOS.com alerts = someloss host = www.how2centos.com ++ CentOS menu = CentOS.org title = CentOS.org alerts = someloss host = www.centos.org *** Slaves *** secrets=/opt/smokeping/etc/slavesecrets.conf +pipes-la-1 display_name=pipes-la-1 location=LAX color=ff0000 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /opt/smokeping/etc/slavesecrets.conf contains ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pipes-la-1:test1234 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Permissions/Ownership of slavesecrets.conf is... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -rw-r----- 1 apache root 51 Jan 24 10:28 slavesecrets.conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ON THE SLAVE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hostname is ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [root at pipes-la-1 bin]# hostname pipes-la-1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ smokeping_secrets contains ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test1234 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Permissions/Ownership od smokeping_secrets is... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -rw------- 1 root root 14 Jan 19 10:21 smokeping_secrets Any help you can provide would be greatly appreciated! Thanks, Chris From chawkinson at cenic.org Mon Jan 24 19:55:25 2011 From: chawkinson at cenic.org (Chris Hawkinson) Date: Mon, 24 Jan 2011 10:55:25 -0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! Message-ID: <4D3DCB1D.1010806@cenic.org> Hi Everyone, I'm a newbie to Smokeping, but it looks like an great tool, and should be perfect for my application. Unfortunately, I'm having trouble getting a Master/Slave configuration to start up. Every time I try to start the slave with the command ... ./smokeping --cache-dir=/opt/smokeping/data --master-url=http://smokepingmaster/smokeping/smokeping.cgi --shared-secret=/opt/smokeping/etc/smokeping_secrets ... I get the error message ... "WARNING Master said 500 read timeout ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the targets on the master ?" My configuration is as follows... On the MASTER... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /opt/smokeping/etc/config looks like ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *** General *** owner = CENIC contact = chawkinson at cenic.org mailhost = my.mail.host sendmail = /usr/sbin/sendmail # NOTE: do not put the Image Cache below cgi-bin # since all files under cgi-bin will be executed ... this is not # good for images. imgcache = /var/www/html/smokeping/img imgurl = http://www.how2centos.com/smokeping/img datadir = /opt/smokeping/data piddir = /opt/smokeping/var cgiurl = http://www.how2centos.com/smokeping/smokeping.cgi smokemail = /opt/smokeping/etc/smokemail tmail = /opt/smokeping/etc/tmail # specify this to get syslog logging syslogfacility = local0 # each probe is now run in its own process # disable this to revert to the old behaviour # concurrentprobes = no *** Alerts *** to = alertee at address.somewhere from = smokealert at company.xy +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row *** Database *** step = 300 pings = 20 # consfn mrhb steps total AVERAGE 0.5 1 1008 AVERAGE 0.5 12 4320 MIN 0.5 12 4320 MAX 0.5 12 4320 AVERAGE 0.5 144 720 MAX 0.5 144 720 MIN 0.5 144 720 *** Presentation *** template = /opt/smokeping/etc/basepage.html + charts menu = Charts title = The most interesting destinations ++ stddev sorter = StdDev(entries=>4) title = Top Standard Deviation menu = Std Deviation format = Standard Deviation %f ++ max sorter = Max(entries=>5) title = Top Max Roundtrip Time menu = by Max format = Max Roundtrip Time %f seconds ++ loss sorter = Loss(entries=>5) title = Top Packet Loss menu = Loss format = Packets Lost %f ++ median sorter = Median(entries=>5) title = Top Median Roundtrip Time menu = by Median format = Median RTT %f seconds + overview width = 600 height = 50 range = 10h + detail width = 600 height = 200 unison_tolerance = 2 "Last 3 Hours" 3h "Last 30 Hours" 30h "Last 10 Days" 10d "Last 400 Days" 400d #+ hierarchies #++ owner #title = Host Owner #++ location #title = Location *** Probes *** + FPing binary = /usr/sbin/fping *** Targets *** slaves = pipes-la-1 menuextra = (TR) probe = FPing menu = Top title = Network Latency Grapher remark = Welcome to the SmokePing website of xxx Company. \ Here you will learn all about the latency of our network. + hosts menu= Targets ++ How2CentOS menu = How2CentOS.com title = How2CentOS.com alerts = someloss host = www.how2centos.com ++ CentOS menu = CentOS.org title = CentOS.org alerts = someloss host = www.centos.org *** Slaves *** secrets=/opt/smokeping/etc/slavesecrets.conf +pipes-la-1 display_name=pipes-la-1 location=LAX color=ff0000 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /opt/smokeping/etc/slavesecrets.conf contains ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pipes-la-1:test1234 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Permissions/Ownership of slavesecrets.conf is... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -rw-r----- 1 apache root 51 Jan 24 10:28 slavesecrets.conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ON THE SLAVE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hostname is ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [root at pipes-la-1 bin]# hostname pipes-la-1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ smokeping_secrets contains ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test1234 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Permissions/Ownership od smokeping_secrets is... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -rw------- 1 root root 14 Jan 19 10:21 smokeping_secrets Any help you can provide would be greatly appreciated! Thanks, Chris From chawkinson at cenic.org Mon Jan 24 20:41:27 2011 From: chawkinson at cenic.org (Chris Hawkinson) Date: Mon, 24 Jan 2011 11:41:27 -0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! In-Reply-To: <4D3DCD8B.1080109@cenic.org> References: <4D3DCD8B.1080109@cenic.org> Message-ID: <4D3DD5E7.9030909@cenic.org> Sorry for the duplicate post earlier! I took a look at smokeping.cgi, and it's got the following in it... =head1 SETUP When installing SmokePing, this file has to be adjusted to fit your local system. Three paths have to be entered. use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); One pointing to your B installation use lib qw(/home/oetiker/public_html/smokeping/lib); One pointing to the place where you have installed the SmokePing libraries use Smokeping; Smokeping::cgi("/home/oetiker/.smokeping/config"); The third path is the argument to the Smokeping::cgi command. It points to the SmokePing configuration file. ***** So, do I need to fix all of these paths so they are real? Guess I'll try it and see if that helps. Chris On 1/24/11 11:05 AM, Chris Hawkinson wrote: > Hi Everyone, > > I'm a newbie to Smokeping, but it looks like an great tool, and should > be perfect for my application. > > Unfortunately, I'm having trouble getting a Master/Slave configuration > to start up. > > Every time I try to start the slave with the command ... > > ./smokeping --cache-dir=/opt/smokeping/data > --master-url=http://smokepingmaster/smokeping/smokeping.cgi > --shared-secret=/opt/smokeping/etc/smokeping_secrets > > ... I get the error message ... > > "WARNING Master said 500 read timeout > ERROR: we did not get config from the master. Maybe we are not > configured as a slave for any of the targets on the master ?" > > Both the MASTER and SLAVE machines are Centos 5.5 32 bit Linux systems. > > My configuration is as follows... > On the MASTER... > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > /opt/smokeping/etc/config looks like ... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > *** General *** > > owner = CENIC > contact = chawkinson at cenic.org > mailhost = my.mail.host > sendmail = /usr/sbin/sendmail > # NOTE: do not put the Image Cache below cgi-bin > # since all files under cgi-bin will be executed ... this is not > # good for images. > imgcache = /var/www/html/smokeping/img > imgurl = http://www.how2centos.com/smokeping/img > datadir = /opt/smokeping/data > piddir = /opt/smokeping/var > cgiurl = http://www.how2centos.com/smokeping/smokeping.cgi > smokemail = /opt/smokeping/etc/smokemail > tmail = /opt/smokeping/etc/tmail > > # specify this to get syslog logging > syslogfacility = local0 > > # each probe is now run in its own process > # disable this to revert to the old behaviour > # concurrentprobes = no > > *** Alerts *** > to = alertee at address.somewhere > from = smokealert at company.xy > > +someloss > type = loss > # in percent > pattern =>0%,*12*,>0%,*12*,>0% > comment = loss 3 times in a row > > *** Database *** > > step = 300 > pings = 20 > > # consfn mrhb steps total > > AVERAGE 0.5 1 1008 > AVERAGE 0.5 12 4320 > MIN 0.5 12 4320 > MAX 0.5 12 4320 > AVERAGE 0.5 144 720 > MAX 0.5 144 720 > MIN 0.5 144 720 > > *** Presentation *** > > template = /opt/smokeping/etc/basepage.html > > + charts > > menu = Charts > title = The most interesting destinations > > ++ stddev > sorter = StdDev(entries=>4) > title = Top Standard Deviation > menu = Std Deviation > format = Standard Deviation %f > > ++ max > sorter = Max(entries=>5) > title = Top Max Roundtrip Time > menu = by Max > format = Max Roundtrip Time %f seconds > > ++ loss > sorter = Loss(entries=>5) > title = Top Packet Loss > menu = Loss > format = Packets Lost %f > > ++ median > sorter = Median(entries=>5) > title = Top Median Roundtrip Time > menu = by Median > format = Median RTT %f seconds > > + overview > > width = 600 > height = 50 > range = 10h > > + detail > > width = 600 > height = 200 > unison_tolerance = 2 > > "Last 3 Hours" 3h > "Last 30 Hours" 30h > "Last 10 Days" 10d > "Last 400 Days" 400d > > #+ hierarchies > #++ owner > #title = Host Owner > #++ location > #title = Location > > *** Probes *** > > + FPing > > binary = /usr/sbin/fping > > *** Targets *** > slaves = pipes-la-1 > > menuextra = class='{CLASS}' \ > onclick="window.open(this.href,this.target, \ > 'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \ > return false;">(TR) > > probe = FPing > > menu = Top > title = Network Latency Grapher > remark = Welcome to the SmokePing website of xxx Company. \ > Here you will learn all about the latency of our network. > > + hosts > menu= Targets > > ++ How2CentOS > > menu = How2CentOS.com > title = How2CentOS.com > alerts = someloss > host = www.how2centos.com > > ++ CentOS > > menu = CentOS.org > title = CentOS.org > alerts = someloss > host = www.centos.org > > *** Slaves *** > secrets=/opt/smokeping/etc/slavesecrets.conf > > +pipes-la-1 > display_name=pipes-la-1 > location=LAX > color=ff0000 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > /opt/smokeping/etc/slavesecrets.conf contains ... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > pipes-la-1:test1234 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Permissions/Ownership of slavesecrets.conf is... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > -rw-r----- 1 apache root 51 Jan 24 10:28 slavesecrets.conf > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ON THE SLAVE > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > hostname is ... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [root at pipes-la-1 bin]# hostname > pipes-la-1 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > smokeping_secrets contains ... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > test1234 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Permissions/Ownership od smokeping_secrets is... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > -rw------- 1 root root 14 Jan 19 10:21 smokeping_secrets > > > Any help you can provide would be greatly appreciated! > > Thanks, > Chris > > > > > > > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From chawkinson at cenic.org Mon Jan 24 23:11:53 2011 From: chawkinson at cenic.org (Chris Hawkinson) Date: Mon, 24 Jan 2011 14:11:53 -0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! In-Reply-To: <4D3DD5E7.9030909@cenic.org> References: <4D3DCD8B.1080109@cenic.org> <4D3DD5E7.9030909@cenic.org> Message-ID: <4D3DF929.1030304@cenic.org> I verified that all of my paths are correct in smokeping.cgi, killed speedy_backend, and restarted SmokePing on the master node, but I still get ... WARNING Master said 500 Can't connect to smokemaster:80 (connect: timeout) ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the targets on the master ? Any ideas? Thanks, Chris On 1/24/11 11:41 AM, Chris Hawkinson wrote: > Sorry for the duplicate post earlier! > > I took a look at smokeping.cgi, and it's got the following in it... > > =head1 SETUP > > When installing SmokePing, this file has to be adjusted to fit your > local system. Three paths have to be entered. > > use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); > > One pointing to your B installation > > use lib qw(/home/oetiker/public_html/smokeping/lib); > > One pointing to the place where you have installed the SmokePing libraries > > use Smokeping; > > Smokeping::cgi("/home/oetiker/.smokeping/config"); > > The third path is the argument to the Smokeping::cgi command. It points to > the SmokePing configuration file. > > ***** So, do I need to fix all of these paths so they are real? Guess > I'll try it and see if that helps. > > Chris > > On 1/24/11 11:05 AM, Chris Hawkinson wrote: >> Hi Everyone, >> >> I'm a newbie to Smokeping, but it looks like an great tool, and should >> be perfect for my application. >> >> Unfortunately, I'm having trouble getting a Master/Slave configuration >> to start up. >> >> Every time I try to start the slave with the command ... >> >> ./smokeping --cache-dir=/opt/smokeping/data >> --master-url=http://smokepingmaster/smokeping/smokeping.cgi >> --shared-secret=/opt/smokeping/etc/smokeping_secrets >> >> ... I get the error message ... >> >> "WARNING Master said 500 read timeout >> ERROR: we did not get config from the master. Maybe we are not >> configured as a slave for any of the targets on the master ?" >> >> Both the MASTER and SLAVE machines are Centos 5.5 32 bit Linux systems. >> >> My configuration is as follows... >> On the MASTER... >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> /opt/smokeping/etc/config looks like ... >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> *** General *** >> >> owner = CENIC >> contact = chawkinson at cenic.org >> mailhost = my.mail.host >> sendmail = /usr/sbin/sendmail >> # NOTE: do not put the Image Cache below cgi-bin >> # since all files under cgi-bin will be executed ... this is not >> # good for images. >> imgcache = /var/www/html/smokeping/img >> imgurl = http://www.how2centos.com/smokeping/img >> datadir = /opt/smokeping/data >> piddir = /opt/smokeping/var >> cgiurl = http://www.how2centos.com/smokeping/smokeping.cgi >> smokemail = /opt/smokeping/etc/smokemail >> tmail = /opt/smokeping/etc/tmail >> >> # specify this to get syslog logging >> syslogfacility = local0 >> >> # each probe is now run in its own process >> # disable this to revert to the old behaviour >> # concurrentprobes = no >> >> *** Alerts *** >> to = alertee at address.somewhere >> from = smokealert at company.xy >> >> +someloss >> type = loss >> # in percent >> pattern =>0%,*12*,>0%,*12*,>0% >> comment = loss 3 times in a row >> >> *** Database *** >> >> step = 300 >> pings = 20 >> >> # consfn mrhb steps total >> >> AVERAGE 0.5 1 1008 >> AVERAGE 0.5 12 4320 >> MIN 0.5 12 4320 >> MAX 0.5 12 4320 >> AVERAGE 0.5 144 720 >> MAX 0.5 144 720 >> MIN 0.5 144 720 >> >> *** Presentation *** >> >> template = /opt/smokeping/etc/basepage.html >> >> + charts >> >> menu = Charts >> title = The most interesting destinations >> >> ++ stddev >> sorter = StdDev(entries=>4) >> title = Top Standard Deviation >> menu = Std Deviation >> format = Standard Deviation %f >> >> ++ max >> sorter = Max(entries=>5) >> title = Top Max Roundtrip Time >> menu = by Max >> format = Max Roundtrip Time %f seconds >> >> ++ loss >> sorter = Loss(entries=>5) >> title = Top Packet Loss >> menu = Loss >> format = Packets Lost %f >> >> ++ median >> sorter = Median(entries=>5) >> title = Top Median Roundtrip Time >> menu = by Median >> format = Median RTT %f seconds >> >> + overview >> >> width = 600 >> height = 50 >> range = 10h >> >> + detail >> >> width = 600 >> height = 200 >> unison_tolerance = 2 >> >> "Last 3 Hours" 3h >> "Last 30 Hours" 30h >> "Last 10 Days" 10d >> "Last 400 Days" 400d >> >> #+ hierarchies >> #++ owner >> #title = Host Owner >> #++ location >> #title = Location >> >> *** Probes *** >> >> + FPing >> >> binary = /usr/sbin/fping >> >> *** Targets *** >> slaves = pipes-la-1 >> >> menuextra => class='{CLASS}' \ >> onclick="window.open(this.href,this.target, \ >> 'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \ >> return false;">(TR) >> >> probe = FPing >> >> menu = Top >> title = Network Latency Grapher >> remark = Welcome to the SmokePing website of xxx Company. \ >> Here you will learn all about the latency of our network. >> >> + hosts >> menu= Targets >> >> ++ How2CentOS >> >> menu = How2CentOS.com >> title = How2CentOS.com >> alerts = someloss >> host = www.how2centos.com >> >> ++ CentOS >> >> menu = CentOS.org >> title = CentOS.org >> alerts = someloss >> host = www.centos.org >> >> *** Slaves *** >> secrets=/opt/smokeping/etc/slavesecrets.conf >> >> +pipes-la-1 >> display_name=pipes-la-1 >> location=LAX >> color=ff0000 >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> /opt/smokeping/etc/slavesecrets.conf contains ... >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> pipes-la-1:test1234 >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Permissions/Ownership of slavesecrets.conf is... >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> -rw-r----- 1 apache root 51 Jan 24 10:28 slavesecrets.conf >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> ON THE SLAVE >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> hostname is ... >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> [root at pipes-la-1 bin]# hostname >> pipes-la-1 >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> smokeping_secrets contains ... >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> test1234 >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Permissions/Ownership od smokeping_secrets is... >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> -rw------- 1 root root 14 Jan 19 10:21 smokeping_secrets >> >> >> Any help you can provide would be greatly appreciated! >> >> Thanks, >> Chris >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> 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 darren at victoriajd.com Tue Jan 25 01:34:57 2011 From: darren at victoriajd.com (Darren Murphy) Date: Tue, 25 Jan 2011 08:34:57 +0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! In-Reply-To: <4D3DCD8B.1080109@cenic.org> References: <4D3DCD8B.1080109@cenic.org> Message-ID: On 25 January 2011 03:05, Chris Hawkinson wrote: > --master-url=http://smokepingmaster/smokeping/smokeping.cgi > cgiurl ? = http://www.how2centos.com/smokeping/smokeping.cgi There is your problem, I suspect. The --master-url used when starting the slave would normally be the same as the cgiurl in your master config (unless you made a separate copy of it just for the slaves) In any case, --master-url needs to be something that the slave can reach and connect to. regards, Darren From chawkinson at cenic.org Tue Jan 25 02:05:19 2011 From: chawkinson at cenic.org (chris.oc.ca@gmail.com) Date: Mon, 24 Jan 2011 17:05:19 -0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! In-Reply-To: References: <4D3DCD8B.1080109@cenic.org> Message-ID: <9165eb54-8033-414d-b3de-5dd55e602761@email.android.com> Thanks. I'll give that a try. "Darren Murphy" wrote: >On 25 January 2011 03:05, Chris Hawkinson wrote: > >> --master-url=http://smokepingmaster/smokeping/smokeping.cgi > >> cgiurl ? = http://www.how2centos.com/smokeping/smokeping.cgi > >There is your problem, I suspect. >The --master-url used when starting the slave would normally be the >same as the cgiurl in your master config (unless you made a separate >copy of it just for the slaves) >In any case, --master-url needs to be something that the slave can >reach and connect to. > >regards, >Darren -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. From chawkinson at cenic.org Tue Jan 25 17:57:39 2011 From: chawkinson at cenic.org (Chris Hawkinson) Date: Tue, 25 Jan 2011 08:57:39 -0800 Subject: [smokeping-users] Master/Slave Configuration Help Please! In-Reply-To: <9165eb54-8033-414d-b3de-5dd55e602761@email.android.com> References: <4D3DCD8B.1080109@cenic.org> <9165eb54-8033-414d-b3de-5dd55e602761@email.android.com> Message-ID: <4D3F0103.60501@cenic.org> Thanks for your help Darren! I ended up changing the following.. cgiurl=http://smokepingmaster/smokeping/smokeping.cgi imgurl=http://smokepingmaster/smokeping/img ... and now the slave connects properly and I have some nice looking (but empty) graphs. On to the next step to set up some actually tests. Thanks again for your help, Chris On 1/24/11 5:05 PM, chris.oc.ca at gmail.com wrote: > Thanks. I'll give that a try. > > "Darren Murphy" wrote: > >> On 25 January 2011 03:05, Chris Hawkinson wrote: >> >>> --master-url=http://smokepingmaster/smokeping/smokeping.cgi >>> cgiurl = http://www.how2centos.com/smokeping/smokeping.cgi >> There is your problem, I suspect. >> The --master-url used when starting the slave would normally be the >> same as the cgiurl in your master config (unless you made a separate >> copy of it just for the slaves) >> In any case, --master-url needs to be something that the slave can >> reach and connect to. >> >> regards, >> Darren From tonyd at commspeed.net Wed Jan 26 20:23:34 2011 From: tonyd at commspeed.net (Tony DeMatteis) Date: Wed, 26 Jan 2011 12:23:34 -0700 Subject: [smokeping-users] Error - unable to determine cause In-Reply-To: <20110120151430.16004mamav8e7tys@esmith.fullnet.co.uk> References: <20110120151430.16004mamav8e7tys@esmith.fullnet.co.uk> Message-ID: <4D4074B6.3070708@commspeed.net> Hi all, I've got an error which I can't seem to find the reason. Most of my links/sublinks work just fine. I have a few which upon clicking prodice the following error: Can't call method "_pings" on an undefined value at /usr/local/smokeping/lib/Smokeping.pm line 837. A google search hasn't produced any useful information. Any insight into this would be greatly appreciated. I can post config or other if needed. Thank you, td -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110126/45456268/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: tonyd.vcf Type: text/x-vcard Size: 304 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110126/45456268/attachment.vcf From darren at victoriajd.com Thu Jan 27 03:47:01 2011 From: darren at victoriajd.com (Darren Murphy) Date: Thu, 27 Jan 2011 10:47:01 +0800 Subject: [smokeping-users] Error - unable to determine cause In-Reply-To: <4D4074B6.3070708@commspeed.net> References: <20110120151430.16004mamav8e7tys@esmith.fullnet.co.uk> <4D4074B6.3070708@commspeed.net> Message-ID: Hello Tony, I would suspect that you have an error in your configuration file. I would suggest examining the sections that produce the error very carefully (comparing to the examples in the docs), and post those sections of your config to the list if you have no luck. cheers, Darren On 27 January 2011 03:23, Tony DeMatteis wrote: > Hi all, > > I've got an error which I can't seem to find the reason.? Most of my > links/sublinks work just fine.? I have a few which upon clicking prodice the > following error: > > Can't call method "_pings" on an undefined value at > /usr/local/smokeping/lib/Smokeping.pm line 837. > > > A google search hasn't produced any useful information. Any insight into > this would be greatly appreciated. > I can post config or other if needed. > > > Thank you, > > td > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > >