From ktdreyer at ktdreyer.com Sat Jul 2 20:48:10 2011 From: ktdreyer at ktdreyer.com (Ken Dreyer) Date: Sat, 2 Jul 2011 12:48:10 -0600 Subject: [smokeping-users] speedycgi replacement Message-ID: Any thoughts about replacing the SpeedyCGI dependency (eg. with FastCGI?) How much work would be involved? - Ken From jmv at google.com Fri Jul 8 08:57:59 2011 From: jmv at google.com (Juan Vasquez) Date: Thu, 7 Jul 2011 23:57:59 -0700 Subject: [smokeping-users] Smokeping does not match alerts Message-ID: Hello for some reason my smokeping is not triggering any of the alerts that are configured. I would have expected to see a debug message indicating the alert had matched for 17.29.254.41 as this is a misconfigured ip that has 100% loss. FPing: Executing /usr/bin/fping -C 10 -q -B1 -r1 -i10 us-aus-mop-core1-vlan201.n.corp.xxxx.com 172.31.34.237 172.31.218.235 17.29.254.41 172.31.149.235 172.31.193.233 us-mtv-cl2-dist1-gigabitethernet1-1.n.corp.xxxx.com qosprobe.arb.corp.xxxx.com FPing: Got fping output: 'us-aus-mop-core1-vlan201.n.corp.xxxx.com : 59.23 74.32 59.53 59.35 59.18 59.35 59.27 59.60 59.19 75.31' FPing: Got fping output: '172.31.34.237 : 11.35 11.40 11.40 12.04 11.30 11.29 11.34 11.37 11.31 11.31' FPing: Got fping output: '172.31.218.235 : 203.08 202.11 195.45 188.86 195.51 189.60 196.35 196.42 188.70 195.48' FPing: Got fping output: '17.29.254.41 : - - - - - - - - - -' FPing: Got fping output: '172.31.149.235 : 37.79 38.43 38.36 38.40 38.17 38.56 38.37 38.41 38.38 38.36' FPing: Got fping output: '172.31.193.233 : 40.48 40.44 40.52 40.47 40.46 40.48 40.48 40.48 40.47 40.54' FPing: Got fping output: 'qosprobe.arb.corp.xxxx.com : 76.61 75.95 76.58 75.58 76.02 76.82 75.96 76.27 75.07 76.78' Calling RRDs::update(/var/lib/smokeping/CBF/SFO.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:3.8380000000e-02:3.7790000000e-02:3.8170000000e-02:3.8360000000e-02:3.8360000000e-02:3.8370000000e-02:3.8380000000e-02:3.8400000000e-02:3.8410000000e-02:3.8430000000e-02:3.8560000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/NYC.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:10:U:U:U:U:U:U:U:U:U:U:U) Calling RRDs::update(/var/lib/smokeping/CBF/AUS.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:5.9350000000e-02:5.9180000000e-02:5.9190000000e-02:5.9230000000e-02:5.9270000000e-02:5.9350000000e-02:5.9350000000e-02:5.9530000000e-02:5.9600000000e-02:7.4320000000e-02:7.5310000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/CHI.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:1.1350000000e-02:1.1290000000e-02:1.1300000000e-02:1.1310000000e-02:1.1310000000e-02:1.1340000000e-02:1.1350000000e-02:1.1370000000e-02:1.1400000000e-02:1.1400000000e-02:1.2040000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/BUE.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:1.9551000000e-01:1.8870000000e-01:1.8886000000e-01:1.8960000000e-01:1.9545000000e-01:1.9548000000e-01:1.9551000000e-01:1.9635000000e-01:1.9642000000e-01:2.0211000000e-01:2.0308000000e-01) Calling RRDs::update(/var/lib/smokeping/CBF/ABR.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:7.6270000000e-02:7.5070000000e-02:7.5580000000e-02:7.5950000000e-02:7.5960000000e-02:7.6020000000e-02:7.6270000000e-02:7.6580000000e-02:7.6610000000e-02:7.6780000000e-02:7.6820000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/CAM.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:4.0480000000e-02:4.0440000000e-02:4.0460000000e-02:4.0470000000e-02:4.0470000000e-02:4.0480000000e-02:4.0480000000e-02:4.0480000000e-02:4.0480000000e-02:4.0520000000e-02:4.0540000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/MTV.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:3.7230000000e-02:3.6760000000e-02:3.6790000000e-02:3.6790000000e-02:3.6840000000e-02:3.6880000000e-02:3.7230000000e-02:3.7230000000e-02:3.7260000000e-02:3.7340000000e-02:3.7650000000e-02) Calling RRDs::update(/var/lib/smokeping/VAS/ATLVAS2.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:2.055:0.1:2.053:2.055:2.061:2.062) Calling RRDs::update(/var/lib/smokeping/VAS/CBFVAS4.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:0.009:0.009:0.009:0.009:0.01:0.01) Calling RRDs::update(/var/lib/smokeping/VAS/CBFVAS3.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:0.011:0.009:0.01:0.011:0.012:0.013) Calling RRDs::update(/var/lib/smokeping/VAS/ATLVAS1.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:2.062:1.985:2.034:2.062:2.065:2.174) jmv at kpbi3:/etc/smokeping$ My Alerts are jmv at kpbi3:/etc/smokeping$ cat ./config.d/Alerts *** Alerts *** to = jmv at xxxx.com from = jmv at xxxxx.com +bigloss type = loss # in percent pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is packet loss +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row +startloss type = loss # in percent pattern = >0% comment = loss at startup does anyone have any idea? I am running smokeping 2.3.6 on Ubuntu regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110707/f89e6a14/attachment-0001.htm From glenn.andersson at axis.com Fri Jul 8 14:16:04 2011 From: glenn.andersson at axis.com (Glenn Andersson) Date: Fri, 8 Jul 2011 14:16:04 +0200 Subject: [smokeping-users] RemoteFPing problem Message-ID: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441454@xmail2.se.axis.com> Hi users. My Probes config file looks like this: + FPing binary = /usr/bin/fping + RemoteFPing binary = /usr/bin/ssh rbinary = /usr/bin/fping rhost = proxy.domain.com ++ RemoteFPingChaos rbinary = /usr/local/sbin/fping rhost = anotherproxy.domain.com And I specified to use both RemoteFPing and RemoteFPingChaos on hosts (not the same probe for the same host thou) example: probe = FPing + host1 menu = host1 title = host1 host = host1.domain.com + host2 menu = host2 title = host2 probe = RemoteFPing host = host2.domain.com + host3 menu = host3 title = host3 probe = RemoteFPingChaos host = host3.domain.com But when I try and restart smokeping with this setup I get: Reloading latency logger daemon configuration...ERROR: /etc/smokeping/config.d/Targets, line 97: probe RemoteFPing missing from the Probes section. Am I doing something really stupid here or what is it? Best regards, Glenn Andersson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110708/429ebede/attachment.htm From ntyni+smokeping-users at mappi.helsinki.fi Fri Jul 8 14:27:16 2011 From: ntyni+smokeping-users at mappi.helsinki.fi (Niko Tyni) Date: Fri, 8 Jul 2011 15:27:16 +0300 Subject: [smokeping-users] RemoteFPing problem In-Reply-To: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441454@xmail2.se.axis.com> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441454@xmail2.se.axis.com> Message-ID: <20110708122716.GA2757@madeleine.local.invalid> On Fri, Jul 08, 2011 at 02:16:04PM +0200, Glenn Andersson wrote: > My Probes config file looks like this: > + RemoteFPing > > binary = /usr/bin/ssh > rbinary = /usr/bin/fping > rhost = proxy.domain.com > > ++ RemoteFPingChaos > > rbinary = /usr/local/sbin/fping > rhost = anotherproxy.domain.com > /etc/smokeping/config.d/Targets, line 97: probe RemoteFPing missing from > the Probes section. See example 3 in the smokeping_examples document; quoting: The top FPing section does not define a probe in itself because it has subsections. If we really wanted to have one probe named "FPing", we could do so by making a subsection by that name. HTH, -- Niko From laylanahar at gmail.com Sat Jul 9 07:08:21 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Sat, 9 Jul 2011 02:08:21 -0300 Subject: [smokeping-users] trouble setting up speedy cgi Message-ID: Hello, I have tried to install Speedy CGI on my system using source code and using binaries. Both lead to errors. I am using Centos 4.5. I would be most grateful if someone can help me get speedy CGI and thus smokeping itself up and running. With Speedy installed from binaries, when I try to open a simple test.cgi with shebang line "#!/usr/bin/speedy" I get a 500 Internal Server Error. apache error log shows: [Fri Jul 08 23:32:18 2011] [error] [client 10.10.10.3] /usr/bin/speedy: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory [Fri Jul 08 23:32:18 2011] [error] [client 10.10.10.3] Premature end of script headers: speedytest.cgi (If I replace "#!/usr/bin/speedy" with "#!/usr/bin/perl" the page can be opened as expected). I have tried updating perl using yum update perl, but it looks like I'm already at the latest version. I installed two different versions, both give the same failure rpm -i perl-CGI-SpeedyCGI-2.22-1.2.el4.rf.i386.rpm rpm -i RedHat-9-speedycgi-2.22-1.i386.rpm. I had earlier tried to install speedy cgi (2.22) from source code, but it failed on the memleak test, viz t/be_memleak..........ok 1/2 mem usage went from 6000K to 8048K in 1000 runs t/be_memleak..........FAILED test 2 Failed 1/2 tests, 50.00% okay ... t/be_memleak.t 2 1 50.00% 2 Failed 1/33 test scripts, 96.97% okay. 1/73 subtests failed, 98.63% okay. make[1]: *** [test_dynamic] Error 255 I had tried a workaround like this: sysctl -w net.core.wmem_default=65536 but Speedy CGI still failed the memory leak test. Any help would be much appreciated, Thank you, LN From glenn.andersson at axis.com Mon Jul 11 09:48:05 2011 From: glenn.andersson at axis.com (Glenn Andersson) Date: Mon, 11 Jul 2011 09:48:05 +0200 Subject: [smokeping-users] RemoteFPing problem In-Reply-To: <20110708122716.GA2757@madeleine.local.invalid> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441454@xmail2.se.axis.com> <20110708122716.GA2757@madeleine.local.invalid> Message-ID: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441531@xmail2.se.axis.com> -----Original Message----- From: Niko Tyni [mailto:ntyni+smokeping-users at mappi.helsinki.fi] Sent: den 8 juli 2011 14:27 To: smokeping-users at lists.oetiker.ch Cc: Glenn Andersson Subject: Re: [smokeping-users] RemoteFPing problem On Fri, Jul 08, 2011 at 02:16:04PM +0200, Glenn Andersson wrote: > My Probes config file looks like this: > + RemoteFPing > > binary = /usr/bin/ssh > rbinary = /usr/bin/fping > rhost = proxy.domain.com > > ++ RemoteFPingChaos > > rbinary = /usr/local/sbin/fping > rhost = anotherproxy.domain.com > /etc/smokeping/config.d/Targets, line 97: probe RemoteFPing missing from > the Probes section. See example 3 in the smokeping_examples document; quoting: The top FPing section does not define a probe in itself because it has subsections. If we really wanted to have one probe named "FPing", we could do so by making a subsection by that name. HTH, -- Niko -------------------------------------------------------------------------------------------------- Ok well, can't really understand the problem. RemoteFPing aint depending on FPing right? Then it should be marked with a single plus (+) sign? And when RemoteFPingChaos aint a real probe it will just be an alias with tweaks that is dependable on RemoteFPing probe? Or is + RemoteFPing terminated when I specify a sub probe with two plusses ++ ? Best regards, Glenn Andersson From ntyni+smokeping-users at mappi.helsinki.fi Tue Jul 12 11:40:16 2011 From: ntyni+smokeping-users at mappi.helsinki.fi (Niko Tyni) Date: Tue, 12 Jul 2011 12:40:16 +0300 Subject: [smokeping-users] RemoteFPing problem In-Reply-To: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441531@xmail2.se.axis.com> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441454@xmail2.se.axis.com> <20110708122716.GA2757@madeleine.local.invalid> <8EE95B77C6826E4094CB81DF9FAF5EFE5F65441531@xmail2.se.axis.com> Message-ID: <20110712094016.GA2639@madeleine.local.invalid> On Mon, Jul 11, 2011 at 09:48:05AM +0200, Glenn Andersson wrote: > On Fri, Jul 08, 2011 at 02:16:04PM +0200, Glenn Andersson wrote: > > My Probes config file looks like this: > > > + RemoteFPing > > > > binary = /usr/bin/ssh > > rbinary = /usr/bin/fping > > rhost = proxy.domain.com > > > > ++ RemoteFPingChaos > > > > rbinary = /usr/local/sbin/fping > > rhost = anotherproxy.domain.com > > > /etc/smokeping/config.d/Targets, line 97: probe RemoteFPing missing from > > the Probes section. > See example 3 in the smokeping_examples document; quoting: > > The top FPing section does not define a probe in itself because it has > subsections. If we really wanted to have one probe named "FPing", > we could do so by making a subsection by that name. > RemoteFPing aint depending on FPing right? Then it should be marked with a single plus (+) sign? RemoteFPing and FPing are (at the configuration level) independent probes. The example was about FPing, but just replace 'FPing' with 'RemoteFPing' everywhere to match it with your case. > And when RemoteFPingChaos aint a real probe it will just be an alias with tweaks that is dependable on RemoteFPing probe? > Or is + RemoteFPing terminated when I specify a sub probe with two plusses ++ ? Explaining another way: if there's just +RemoteFPing [...] then you have a single probe called 'RemoteFPing', but if you have +RemoteFPing var=val ++ RemoteFPing1 ++ RemoteFPing2 then you have two probes, 'RemoteFPing1' and 'RemoteFPing1', but no probe named 'RemoteFPing'. Both the probes have the setting 'var=val'. The '+' section does not define a real probe when it has '++' subsections, it just specifies settings common to all the 'subprobes'. Between these, there's the degenerate case of +RemoteFPing var=val ++ RemoteFPing1 which isn't particularly useful: there's only one probe, 'RemoteFPing1', with setting 'var=val'. As above, the '+' section does not define a real probe because it has '++' subsections (in this case just one.) The last one corresponds to your configuration. HTH, -- Niko From filter at stevenstromer.com Thu Jul 14 00:47:42 2011 From: filter at stevenstromer.com (Steven Stromer) Date: Wed, 13 Jul 2011 18:47:42 -0400 Subject: [smokeping-users] Issue getting SipSak probe to work Message-ID: I can't get smokeping to load once I add the SipSak probe: + SipSak binary = /usr/bin/sipsak Calling the smokeping binary directly returns: $ /opt/smokeping/bin/smokeping require Smokeping::probes::SipSak failed: Can't locate Smokeping/probes/SipSak.pm in @INC (@INC contains: .. /opt/smokeping/lib /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/RRDs/ /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi ....[perl paths].. .) at (eval 27) line 3, line 275. When I search for SipSak.pm in /opt/smokeping/lib/Smokeping/probes it is not listed there. On the assumption that, similar to other probes, the appropriate perl modules are required, I've installed Net::SIP: cpan[2]> install Net::SIP Net::SIP is up to date (0.62). This has not caused SipSak.pm to appear. Any ideas what I have to do to get this probe running? Much thanks, Steven From tarun.chopra at gmail.com Thu Jul 14 02:07:51 2011 From: tarun.chopra at gmail.com (Tarun Chopra) Date: Wed, 13 Jul 2011 17:07:51 -0700 Subject: [smokeping-users] no graphs from slave Message-ID: ran smokeping in slave mode/debug mode and it shows Sent data to Server. Server said OK but no change on RRD data files or graphs. for some reason, it did work at some point of time as I do have rrdfiles timestamped differently but never seen graph from slave servers. wonder how smokeping.cgi writes to different directory in smokeping application data? any help is much appreciated thx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110713/74f25403/attachment.htm From jmv at google.com Thu Jul 14 03:31:37 2011 From: jmv at google.com (Juan Vasquez) Date: Wed, 13 Jul 2011 18:31:37 -0700 Subject: [smokeping-users] CURL probe does not Alert Message-ID: Hello any idea how i can get the CURL probe to match if i do not get an http response. I have tried also to change this to an rtt type and match on U and it does not work. any ideas, i dont know what is wrong, it just does not seem to match and trigger an alert. my fping alerts are working. ##Alert# +anyloss type = loss pattern = >0%,>0% comment = Loss >0% for 2 polling cycles edgetrigger = yes ##Target# + Zero probe = Curl host = zero2.mtv.corp menu = ZERO2 alerts = anyloss title = zero2.mtv.corp/cgi-bin/smokeping.cgi agent = User-Agent: Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6c follow_redirects = yes include_redirects = yes insecure_ssl = 1 interface = eth0 pings = 3 ssl2 = 1 timeout = 20 urlformat = http://%host%/cgi-bin/smokeping.cgi # mandaeth0tory -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110713/ab83687f/attachment.htm From glenn.andersson at axis.com Thu Jul 14 09:24:41 2011 From: glenn.andersson at axis.com (Glenn Andersson) Date: Thu, 14 Jul 2011 09:24:41 +0200 Subject: [smokeping-users] remote user problem Message-ID: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> Hi, I use my RemoteFPing probe to do an fping on another machine (in this case an OpenBSD machine). The problem is that fping can only be executed as root, so my question is if someone have made this work on their BSD machines? The smokeping daemon is run on a debian machine so its just the machine I RemoteFPing to that is BSD. PS: I set up ssh-keys so I have a functional connection to the machine atleast. Brgd, Glenn Andersson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110714/3c3a48f5/attachment.htm From ged at jubileegroup.co.uk Thu Jul 14 11:06:52 2011 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Thu, 14 Jul 2011 10:06:52 +0100 (BST) Subject: [smokeping-users] remote user problem In-Reply-To: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> Message-ID: Hi there, On Thu, 14 Jul 2011, Glenn Andersson wrote: > I use my RemoteFPing probe to do an fping on another machine (in > this case an OpenBSD machine). The problem is that fping can only > be executed as root, so my question is if someone have made this > work on their BSD machines? Can you not use Sudo? http://www.softpanorama.org/Access_control/sudo.shtml http://linux-bsd-sharing.blogspot.com/2009/03/howto-using-sudo-on-freebsd.html -- 73, Ged. From ged at jubileegroup.co.uk Thu Jul 14 11:16:48 2011 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Thu, 14 Jul 2011 10:16:48 +0100 (BST) Subject: [smokeping-users] Issue getting SipSak probe to work In-Reply-To: References: Message-ID: Hi there, On Wed, 13 Jul 2011, Steven Stromer wrote: > I can't get smokeping to load once I add the SipSak probe: What version of Smokeping are you using? Are you sure that it even has the SipSak probe? -- 73, Ged. From don at bowenvale.co.nz Fri Jul 15 06:40:59 2011 From: don at bowenvale.co.nz (Don Gould) Date: Fri, 15 Jul 2011 16:40:59 +1200 Subject: [smokeping-users] config not updating? Message-ID: <4E1FC4DB.2070702@bowenvale.co.nz> http://www.myrandomserver.co.nz/smokeping/smokeping.cgi I edited /etc/smokeping/config.d/General but the site keeps saying "Maintained by Don Gould" even though I've edited the owner field. When I click on 'Local' in the menu I all I get is: Software error: ERROR: creating /var/cache/smokeping/images/Local: No such file or directory For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error. ----- I installed smokeping from apt-get on debain squeeze. I followed the instructions to set up some trail sites based on the general.simple example. I tested it by using /usr/bin/smokeping --debug and it didn't notice anything wrong. I tried restarting apache2, but that didn't seem to reload the right setting when I refreshed my page in the web browser I restarted /etc/init.d/smoking - didn't help Bit lost? -- Don Gould 31 Acheson Ave Mairehau Christchurch, New Zealand Ph: + 64 3 348 7235 Mobile: + 64 21 114 0699 From don at bowenvale.co.nz Fri Jul 15 07:06:12 2011 From: don at bowenvale.co.nz (Don Gould) Date: Fri, 15 Jul 2011 17:06:12 +1200 Subject: [smokeping-users] config not updating? In-Reply-To: <4E1FC4DB.2070702@bowenvale.co.nz> References: <4E1FC4DB.2070702@bowenvale.co.nz> Message-ID: <4E1FCAC4.1040807@bowenvale.co.nz> Ok, I sort of sorted the last problem by just restarting the server (not idea, but hey)... Software error: ERROR: creating /var/cache/smokeping/images/mysite1: No such file or directory For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error. -- can any one suggest what I might have over looked to get that error? D On 15/07/2011 4:40 p.m., Don Gould wrote: > http://www.myrandomserver.co.nz/smokeping/smokeping.cgi > > I edited /etc/smokeping/config.d/General but the site keeps saying > "Maintained by Don Gould" even though I've edited the owner field. > > When I click on 'Local' in the menu I all I get is: > > Software error: > > ERROR: creating /var/cache/smokeping/images/Local: No such file or > directory > > For help, please send mail to the webmaster ([no address given]), giving > this error message and the time and date of the error. > > ----- > > I installed smokeping from apt-get on debain squeeze. > > I followed the instructions to set up some trail sites based on the > general.simple example. > > I tested it by using /usr/bin/smokeping --debug and it didn't notice > anything wrong. > > I tried restarting apache2, but that didn't seem to reload the right > setting when I refreshed my page in the web browser > > I restarted /etc/init.d/smoking - didn't help > > Bit lost? > > -- Don Gould 31 Acheson Ave Mairehau Christchurch, New Zealand Ph: + 64 3 348 7235 Mobile: + 64 21 114 0699 From lionel at gentil.name Sun Jul 17 19:38:30 2011 From: lionel at gentil.name (Lionel Gentil) Date: Sun, 17 Jul 2011 10:38:30 -0700 Subject: [smokeping-users] Recording server IP with cURL Probe Message-ID: <7F0C6655-AAB7-48D3-A7BA-B55F991D210D@gentil.name> Hi, I discovered recently that SmokePing has a cURL probe. This is awesome as I am testing various CDN :) In order to understand results better, it would be great to have a record of the IP you connect to since CDN always the same DNS CNAME but always changes the IP and sometimes this IP is far away from where you are and that's nice to be able to record that at this point in time the CDN had a bad mapping. Is there an option somewhere to do so ? Also is it possible in cURL to say that if status is not 200 then consider it an error ? Thanks a lot for an amazgin tool! Cheers, Lionel From glenn.andersson at axis.com Tue Jul 19 09:50:13 2011 From: glenn.andersson at axis.com (Glenn Andersson) Date: Tue, 19 Jul 2011 09:50:13 +0200 Subject: [smokeping-users] remote user problem In-Reply-To: References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> Message-ID: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B66CE@xmail2.se.axis.com> Hi! Well of course i can use sudo but the system will ask for password for every check, and that will make the check fail. If someone else have a functional idea about sudo I will gladly listen :) Best regards, Glenn Andersson -----Original Message----- From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] Sent: den 14 juli 2011 11:07 To: Glenn Andersson Cc: 'smokeping-users at lists.oetiker.ch' (smokeping-users at lists.oetiker.ch) Subject: Re: [smokeping-users] remote user problem Hi there, On Thu, 14 Jul 2011, Glenn Andersson wrote: > I use my RemoteFPing probe to do an fping on another machine (in this > case an OpenBSD machine). The problem is that fping can only be > executed as root, so my question is if someone have made this work on > their BSD machines? Can you not use Sudo? http://www.softpanorama.org/Access_control/sudo.shtml http://linux-bsd-sharing.blogspot.com/2009/03/howto-using-sudo-on-freebsd.html -- 73, Ged. From alter3d at alter3d.ca Tue Jul 19 14:52:52 2011 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Tue, 19 Jul 2011 08:52:52 -0400 Subject: [smokeping-users] remote user problem In-Reply-To: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B66CE@xmail2.se.axis.com> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B66CE@xmail2.se.axis.com> Message-ID: <4E257E24.1070909@alter3d.ca> Check the man page for the sudoers file. There is a flag called NOPASSWD that you can set on a user that means they will not be prompted for a password when executing privileged commands. There are some related gotchas to set it up properly though, so a read through the man page is highly recommended. Alternatively, script the password entry using expect. ;) - Peter On 19/07/2011 3:50 AM, Glenn Andersson wrote: > Hi! > > Well of course i can use sudo but the system will ask for password for every check, and that will make the check fail. > > If someone else have a functional idea about sudo I will gladly listen :) > > Best regards, > Glenn Andersson > > -----Original Message----- > From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] > Sent: den 14 juli 2011 11:07 > To: Glenn Andersson > Cc: 'smokeping-users at lists.oetiker.ch' (smokeping-users at lists.oetiker.ch) > Subject: Re: [smokeping-users] remote user problem > > Hi there, > > On Thu, 14 Jul 2011, Glenn Andersson wrote: > >> I use my RemoteFPing probe to do an fping on another machine (in this >> case an OpenBSD machine). The problem is that fping can only be >> executed as root, so my question is if someone have made this work on >> their BSD machines? > Can you not use Sudo? > > http://www.softpanorama.org/Access_control/sudo.shtml > http://linux-bsd-sharing.blogspot.com/2009/03/howto-using-sudo-on-freebsd.html > > -- > > 73, > Ged. > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From glenn.andersson at axis.com Tue Jul 19 15:13:38 2011 From: glenn.andersson at axis.com (Glenn Andersson) Date: Tue, 19 Jul 2011 15:13:38 +0200 Subject: [smokeping-users] remote user problem In-Reply-To: <4E257E24.1070909@alter3d.ca> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B66CE@xmail2.se.axis.com> <4E257E24.1070909@alter3d.ca> Message-ID: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6732@xmail2.se.axis.com> Yea im using the NOPASSWD flag at the moment but the problem is that smokeping itself doesnt send the sudo command to the remote machine. Brgds Glenn -----Original Message----- From: smokeping-users-bounces+glenn.andersson=axis.com at lists.oetiker.ch [mailto:smokeping-users-bounces+glenn.andersson=axis.com at lists.oetiker.ch] On Behalf Of Peter Kristolaitis Sent: den 19 juli 2011 14:53 To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] remote user problem Check the man page for the sudoers file. There is a flag called NOPASSWD that you can set on a user that means they will not be prompted for a password when executing privileged commands. There are some related gotchas to set it up properly though, so a read through the man page is highly recommended. Alternatively, script the password entry using expect. ;) - Peter On 19/07/2011 3:50 AM, Glenn Andersson wrote: > Hi! > > Well of course i can use sudo but the system will ask for password for every check, and that will make the check fail. > > If someone else have a functional idea about sudo I will gladly listen > :) > > Best regards, > Glenn Andersson > > -----Original Message----- > From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] > Sent: den 14 juli 2011 11:07 > To: Glenn Andersson > Cc: 'smokeping-users at lists.oetiker.ch' > (smokeping-users at lists.oetiker.ch) > Subject: Re: [smokeping-users] remote user problem > > Hi there, > > On Thu, 14 Jul 2011, Glenn Andersson wrote: > >> I use my RemoteFPing probe to do an fping on another machine (in this >> case an OpenBSD machine). The problem is that fping can only be >> executed as root, so my question is if someone have made this work on >> their BSD machines? > Can you not use Sudo? > > http://www.softpanorama.org/Access_control/sudo.shtml > http://linux-bsd-sharing.blogspot.com/2009/03/howto-using-sudo-on-free > bsd.html > > -- > > 73, > Ged. > > _______________________________________________ > 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 alter3d at alter3d.ca Tue Jul 19 15:40:44 2011 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Tue, 19 Jul 2011 09:40:44 -0400 Subject: [smokeping-users] remote user problem In-Reply-To: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6732@xmail2.se.axis.com> References: <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6269@xmail2.se.axis.com> <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B66CE@xmail2.se.axis.com> <4E257E24.1070909@alter3d.ca> <8EE95B77C6826E4094CB81DF9FAF5EFE5F654B6732@xmail2.se.axis.com> Message-ID: <4E25895C.3090803@alter3d.ca> Use a wrapper script. Make a script that has something like 'sudo /path/to/fping $*' as its only line, save it as /usr/local/bin/fping-root.sh or something, then modify your remote probe to use the wrapper instead of the fping binary. Another possible option is to set the fping binary to suid root, unless there are other users on the system that you don't want to have access to fping. - Peter On 19/07/2011 9:13 AM, Glenn Andersson wrote: > Yea im using the NOPASSWD flag at the moment but the problem is that smokeping itself doesnt send the sudo command to the remote machine. > > Brgds > Glenn > > -----Original Message----- > From: smokeping-users-bounces+glenn.andersson=axis.com at lists.oetiker.ch [mailto:smokeping-users-bounces+glenn.andersson=axis.com at lists.oetiker.ch] On Behalf Of Peter Kristolaitis > Sent: den 19 juli 2011 14:53 > To: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] remote user problem > > Check the man page for the sudoers file. There is a flag called > NOPASSWD that you can set on a user that means they will not be prompted > for a password when executing privileged commands. There are some > related gotchas to set it up properly though, so a read through the man page is highly recommended. > > Alternatively, script the password entry using expect. ;) > > - Peter > > > On 19/07/2011 3:50 AM, Glenn Andersson wrote: >> Hi! >> >> Well of course i can use sudo but the system will ask for password for every check, and that will make the check fail. >> >> If someone else have a functional idea about sudo I will gladly listen >> :) >> >> Best regards, >> Glenn Andersson >> >> -----Original Message----- >> From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] >> Sent: den 14 juli 2011 11:07 >> To: Glenn Andersson >> Cc: 'smokeping-users at lists.oetiker.ch' >> (smokeping-users at lists.oetiker.ch) >> Subject: Re: [smokeping-users] remote user problem >> >> Hi there, >> >> On Thu, 14 Jul 2011, Glenn Andersson wrote: >> >>> I use my RemoteFPing probe to do an fping on another machine (in this >>> case an OpenBSD machine). The problem is that fping can only be >>> executed as root, so my question is if someone have made this work on >>> their BSD machines? >> Can you not use Sudo? >> >> http://www.softpanorama.org/Access_control/sudo.shtml >> http://linux-bsd-sharing.blogspot.com/2009/03/howto-using-sudo-on-free >> bsd.html >> >> -- >> >> 73, >> Ged. >> >> _______________________________________________ >> 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 ktdreyer at ktdreyer.com Tue Jul 19 17:00:30 2011 From: ktdreyer at ktdreyer.com (Ken Dreyer) Date: Tue, 19 Jul 2011 09:00:30 -0600 Subject: [smokeping-users] speedycgi replacement In-Reply-To: References: Message-ID: On Sat, Jul 2, 2011 at 12:48 PM, Ken Dreyer wrote: > Any thoughts about replacing the SpeedyCGI dependency (eg. with > FastCGI?) How much work would be involved? I have a bit more info on this, if anyone else is interested. I wanted to avoid SpeedyCGI because it is not maintained upstream (almost 9 years since a release), and FastCGI is a good replacement. I was able to replace Speedy with mod_fcgid. The code changes were pretty simple. In smokeping.cgi, I had to wrap the Smokeping::cgi function in a CGI::Fast loop. For example: use Smokeping 2.004002; use CGI::Fast; while (my $q = new CGI::Fast) { Smokeping::cgi("/usr/local/smokeping/etc/config", $q); } You can see that I'm passing $q now to cgi(). I had to modify Smokeping.pm's cgi() to take $q as a second argument rather than creating a new CGI object upon each invocation. Otherwise, the URLs were not getting properly passed back to the application, and the wrong page would show up for the wrong URL. I did not look into modifying tr.cgi, but I imagine that the modifications would be similar. - Ken From Ralf.Hildebrandt at charite.de Tue Jul 19 17:10:29 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Tue, 19 Jul 2011 17:10:29 +0200 Subject: [smokeping-users] speedycgi replacement In-Reply-To: References: Message-ID: <20110719151029.GB3813@charite.de> * Ken Dreyer : > On Sat, Jul 2, 2011 at 12:48 PM, Ken Dreyer wrote: > > Any thoughts about replacing the SpeedyCGI dependency (eg. with > > FastCGI?) How much work would be involved? > > I have a bit more info on this, if anyone else is interested. > > I wanted to avoid SpeedyCGI because it is not maintained upstream > (almost 9 years since a release), Version 2.22, Sat Oct 11 20:34:15 PDT 2003 -- that's less than 8 years :) From andrewhodel at gmail.com Tue Jul 19 18:08:08 2011 From: andrewhodel at gmail.com (Andrew Hodel) Date: Tue, 19 Jul 2011 11:08:08 -0500 Subject: [smokeping-users] Smokeping RRD configuration Message-ID: I'm trying to create smokeping styled graphs with data I already have stored in a database using rrdtool. What I have is a bunch of rows for a host, each containing the response time of 5 pings to another host. Each row represents a 5 minute period. It would save me a lot of time if someone who knows this information can provide it: * rrd create syntax * rrd update syntax * rrd graph syntax used to create smokeping graphs. I took a look in lib/Smokeping/Graphs.pm where this is defined, however as I'm sure developers are aware... it's not super easy to parse out exactly this information for the un-initiated. I'd be grateful for this information, would save me a lot of time recreating the wheel. Regards, Andrew Hodel Cobianet, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110719/113d4416/attachment.htm From laylanahar at gmail.com Wed Jul 20 04:58:58 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Tue, 19 Jul 2011 23:58:58 -0300 Subject: [smokeping-users] errors when clicking on "SmokePing Targets" menu items Message-ID: Hello, I have set up Smokeping according to the instructions at oss.oetiker.ch. I can start the smokeping daemon, and I can run rrdtool create and make an .rrd file, so I guess those two parts are in working order. However, I'm getting errors rather than seeing graphs. Can someone help me with two errors? when I click a link in the "SmokePing Targets" menu I see: ERROR: creating /var/www/smokeping/cache/mysite1: No such file or directory Do I need to create a new directory if I add a menu item in "config", or should that happen automatically? Does the failure above show that I did something wrong when I set up Smokeping? If I create the above missing directory , I see: ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory how does the rrd file for a host get created? (I checked RRDtools.pm but it seems to be about working with existing rrd files.) I would be very grateful for any help in understanding and fixing these errors - LN From laylanahar at gmail.com Wed Jul 20 14:43:31 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Wed, 20 Jul 2011 09:43:31 -0300 Subject: [smokeping-users] Smokeping RRD configuration Message-ID: Hello Andrew Do you find information that helps you on either of these two web pages? http://oss.oetiker.ch/rrdtool/doc/rrdtool.en.html http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html Layla ====================================== I'm trying to create smokeping styled graphs with data I already have stored in a database using rrdtool. What I have is a bunch of rows for a host, each containing the response time of 5 pings to another host. Each row represents a 5 minute period. It would save me a lot of time if someone who knows this information can provide it: * rrd create syntax * rrd update syntax * rrd graph syntax used to create smokeping graphs. I took a look in lib/Smokeping/Graphs.pm where this is defined, however as I'm sure developers are aware... it's not super easy to parse out exactly this information for the un-initiated. I'd be grateful for this information, would save me a lot of time recreating the wheel. Regards, Andrew Hodel Cobianet, Inc. From joshua_andrews at gemvision.com Wed Jul 20 14:52:05 2011 From: joshua_andrews at gemvision.com (Joshua Andrews) Date: Wed, 20 Jul 2011 12:52:05 +0000 Subject: [smokeping-users] errors when clicking on "SmokePing Targets" menu items In-Reply-To: References: Message-ID: Layla: Sounds more like a permissions issue than anything. Make sure the /var/www/smokeping directory has the proper permissions (for testing purposes set ownership to www:www and chmod to 777 and then back it up from there to a more secure setting). Make sure smokeping is running as www:www or has permissions to /var/www/smokeping as the user you want it to run at. Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 http://www.gemvision.com -----Original Message----- From: smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch [mailto:smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch] On Behalf Of Layla Nahar Sent: Tuesday, July 19, 2011 9:59 PM To: smokeping-users at lists.oetiker.ch Subject: [smokeping-users] errors when clicking on "SmokePing Targets" menu items Hello, I have set up Smokeping according to the instructions at oss.oetiker.ch. I can start the smokeping daemon, and I can run rrdtool create and make an .rrd file, so I guess those two parts are in working order. However, I'm getting errors rather than seeing graphs. Can someone help me with two errors? when I click a link in the "SmokePing Targets" menu I see: ERROR: creating /var/www/smokeping/cache/mysite1: No such file or directory Do I need to create a new directory if I add a menu item in "config", or should that happen automatically? Does the failure above show that I did something wrong when I set up Smokeping? If I create the above missing directory , I see: ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory how does the rrd file for a host get created? (I checked RRDtools.pm but it seems to be about working with existing rrd files.) I would be very grateful for any help in understanding and fixing these errors - LN _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From laylanahar at gmail.com Sun Jul 24 16:35:38 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Sun, 24 Jul 2011 11:35:38 -0300 Subject: [smokeping-users] errors when clicking on "SmokePing Targets" menu items In-Reply-To: References: Message-ID: By changing the permissions on the directories in question, I was able to eliminate the error: ERROR: creating /var/www/smokeping/cache/mysite1: No such file or directory I set www/smokeping/cache permissions to 777 When I clicked on a menu item the expected directory (ie mysite1)was created in www/smokeping/cache, as well as filesrrdtool.png smokeping.png y thank you for your help, Joshua On Wed, Jul 20, 2011 at 9:52 AM, Joshua Andrews wrote: > Layla: > > Sounds more like a permissions issue than anything. Make sure the /var/www/smokeping directory has the proper permissions (for testing purposes set ownership to www:www and chmod to 777 and then back it up from there to a more secure setting). > > Make sure smokeping is running as www:www or has permissions to /var/www/smokeping as the user you want it to run at. > > Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 http://www.gemvision.com > -----Original Message----- > From: smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch [mailto:smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch] On Behalf Of Layla Nahar > Sent: Tuesday, July 19, 2011 9:59 PM > To: smokeping-users at lists.oetiker.ch > Subject: [smokeping-users] errors when clicking on "SmokePing Targets" menu items > > Hello, > > I have set up Smokeping according to the instructions at > oss.oetiker.ch. I can start the smokeping daemon, and I can run > rrdtool create and make an .rrd file, so I guess those two parts are > in working order. However, I'm getting errors rather than seeing > graphs. Can someone help me with two errors? > > when I click a link in the "SmokePing Targets" menu I see: > ERROR: creating /var/www/smokeping/cache/mysite1: No such file or directory > > Do I need to create a new directory if I add a menu item in "config", > or should that happen automatically? > Does the failure above show that I did something wrong when I set up Smokeping? > > If I create the above missing directory , I see: > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > file or directory > > how does the rrd file for a host get created? (I checked RRDtools.pm > but it seems to be about working with existing rrd files.) > > I would be very grateful for any help in understanding and fixing > these errors - > > LN > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From laylanahar at gmail.com Mon Jul 25 14:21:31 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Mon, 25 Jul 2011 09:21:31 -0300 Subject: [smokeping-users] smokeping-users Digest, Vol 53, Issue 3 In-Reply-To: References: Message-ID: Hello Don, Perhaps you have sorted this out already, but in case you would still like some information regarding this error, the answer below from another user here helped me solve this problem. LN "Sounds more like a permissions issue than anything. Make sure the /var/www/smokeping directory has the proper permissions (for testing purposes set ownership to www:www and chmod to 777 and then back it up from there to a more secure setting). Make sure smokeping is running as www:www or has permissions to /var/www/smokeping as the user you want it to run at. Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 http://www.gemvision.com " > Message: 8 > Date: Fri, 15 Jul 2011 17:06:12 +1200 > From: Don Gould > Subject: Re: [smokeping-users] config not updating? > To: smokeping-users at lists.oetiker.ch > Message-ID: <4E1FCAC4.1040807 at bowenvale.co.nz> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Ok, I sort of sorted the last problem by just restarting the server (not > idea, but hey)... > > Software error: > > ERROR: creating /var/cache/smokeping/images/mysite1: No such file or > directory > > For help, please send mail to the webmaster ([no address given]), giving > this error message and the time and date of the error. > > -- can any one suggest what I might have over looked to get that error? From tobi at oetiker.ch Mon Jul 25 17:37:54 2011 From: tobi at oetiker.ch (Tobias Oetiker) Date: Mon, 25 Jul 2011 17:37:54 +0200 (CEST) Subject: [smokeping-users] the furture of smokeping Message-ID: There has been now new release of smokeping for some time. There are a bunch of updates in trunk but no proper release. The reason for this is that I have been planning to replace the smoketrace add-on with remocular (www.remocular.org) and just never got round to it ... in the mean time, I spent quite some time writing extopus, a generic web frontend to monitoring systems ... (www.extopus.org) I like extopus and its potentials a lot, and have therefore come up with the following plan for smokepings future: 1) release trunk minus smoketrace as a regular release 2) rewrite smokeping to work with the extopus frontend. The first step will take care of getting long standing bugfixes out into the open The second step will lift Smokeping up to a new level of interactivity and integration. Extopus is a fully interactive ajax web application. It has the potential of integrating data from several monitoring systems in a common frontend. There is no sponsorship for the smokeping rewrite project as of yet, I will work on it as time permits. If you are in a position to provide funding, please be in touch! stay tuned! tobi -- 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 don at bowenvale.co.nz Tue Jul 26 01:27:38 2011 From: don at bowenvale.co.nz (don at bowenvale.co.nz) Date: Tue, 26 Jul 2011 11:27:38 +1200 Subject: [smokeping-users] System Monitoring In-Reply-To: References: Message-ID: <4E2DFBEA.4060800@bowenvale.co.nz> Thanks Layla, So far I'm having a big fail on this whole monitoring space. I'm in the process of building a 'proof of concept' wireless ISP network with remote hands (ie I'm not on site, I have unskilled people doing most of the local work. I'm doing this out of need and education, ie to better understand the issues.) I need/want to monitor the active state of each Ubnt radio in the network (which is basically a star with a few hops in it for good measure). A very busy friend recommended smokeping as a useful tool after I crashed and burnt on Nagios. What I really want to do, and I don't know if this is the correct tool, is just ping and trace route some locations and get email alerts of something changes dramatically. I saw Tobi's earlier email and some of that looks useful as well as I'd also like to traceroute my upstreams to know if those go pear shape (as does seem to happen often in our part of the world). To add to my complexity, I'm using a hosting management system called DTC, which takes over the machine a bit, so www.www doesn't exist and I suspect that system security is my issue with a few of the products I'm trying to get working. Again thanks for the help and any comment welcomed. D Ps: Tobi, if you're reading, very cool software man... while I don't understand how most of it works yet, your stuff seems to be under the hood of just about everything I've been touching recently! :) On 26/07/2011 12:21 a.m., Layla Nahar wrote: > Hello Don, > > Perhaps you have sorted this out already, but in case you would still > like some information regarding this error, the answer below from > another user here helped me solve this problem. > > LN > > "Sounds more like a permissions issue than anything. Make sure the > /var/www/smokeping directory has the proper permissions (for testing > purposes set ownership to www:www and chmod to 777 and then back it up > from there to a more secure setting). > > Make sure smokeping is running as www:www or has permissions to > /var/www/smokeping as the user you want it to run at. > > Joshua Andrews> IT Administrator Gemvision Corporation 706 East River > Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 > http://www.gemvision.com > " > > > > >> Message: 8 >> Date: Fri, 15 Jul 2011 17:06:12 +1200 >> From: Don Gould >> Subject: Re: [smokeping-users] config not updating? >> To: smokeping-users at lists.oetiker.ch >> Message-ID:<4E1FCAC4.1040807 at bowenvale.co.nz> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Ok, I sort of sorted the last problem by just restarting the server (not >> idea, but hey)... >> >> Software error: >> >> ERROR: creating /var/cache/smokeping/images/mysite1: No such file or >> directory >> >> For help, please send mail to the webmaster ([no address given]), giving >> this error message and the time and date of the error. >> >> -- can any one suggest what I might have over looked to get that error? -- Don Gould 31 Acheson Ave Mairehau Christchurch, New Zealand Ph: + 64 3 348 7235 Mobile: + 64 21 114 0699 From laylanahar at gmail.com Wed Jul 27 13:34:40 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Wed, 27 Jul 2011 08:34:40 -0300 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory Message-ID: Hi, I'm getting this error: When I click on a menu item (eg 'MySite1) I get the failure. ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory Can somebody tell me how to fix this? I set tmp/smokeping-ms/data to permission 777 and I set ownership of both 'smokeping-ms' and 'data' to smokeping:smokeping. I also tried setting ownership to apache:apache but I still get the failure above. I am doing everything as root. I started smokeping as user root. root is able to run RRDTool and make a new *.rrd file user smokeping is able to run "rrdtool --help" but gets a permission denied error when trying to create an *.rrd file. Is the source of ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory in the permissioning? How can I fix this error? I can set up new users and groups if necessary. I've noticed references to user 'www' but I have yet to set up this user. I guess that it is related to apache. It would be great if someone could clarify the role of www. thank you very much LN From joshua_andrews at gemvision.com Wed Jul 27 15:42:18 2011 From: joshua_andrews at gemvision.com (Joshua Andrews) Date: Wed, 27 Jul 2011 13:42:18 +0000 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: Message-ID: Layla: Not sure, but it "feels" more like the file doesn't exist which means smokeping may not have created the data. Have you already setup the cron job and given it time to run some data before trying to load the links on the site? Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 http://www.gemvision.com -----Original Message----- From: smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch [mailto:smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch] On Behalf Of Layla Nahar Sent: Wednesday, July 27, 2011 6:35 AM To: smokeping-users at lists.oetiker.ch Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory Hi, I'm getting this error: When I click on a menu item (eg 'MySite1) I get the failure. ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory Can somebody tell me how to fix this? I set tmp/smokeping-ms/data to permission 777 and I set ownership of both 'smokeping-ms' and 'data' to smokeping:smokeping. I also tried setting ownership to apache:apache but I still get the failure above. I am doing everything as root. I started smokeping as user root. root is able to run RRDTool and make a new *.rrd file user smokeping is able to run "rrdtool --help" but gets a permission denied error when trying to create an *.rrd file. Is the source of ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory in the permissioning? How can I fix this error? I can set up new users and groups if necessary. I've noticed references to user 'www' but I have yet to set up this user. I guess that it is related to apache. It would be great if someone could clarify the role of www. thank you very much LN _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From laylanahar at gmail.com Thu Jul 28 04:43:29 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Wed, 27 Jul 2011 23:43:29 -0300 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: Message-ID: Josh - thank you very much for your response. I have yet to do anything with crontab on this system. I was going to follow your suggestion, and I checked in the smokeping directory but the only reference I find to cron seems to be for tSmoke, about sending email updates on the system status. Could you tell me what you mean by the cron job? Also I've been trying to figure out smokeping creates the initial rrd file, but I'm still puzzled by this. Could you tell me where I should look to understand that better? thanks again LN On 7/27/11, Joshua Andrews wrote: > Layla: > > Not sure, but it "feels" more like the file doesn't exist which means > smokeping may not have created the data. Have you already setup the cron > job and given it time to run some data before trying to load the links on > the site? > > Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive > Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 > http://www.gemvision.com > -----Original Message----- > From: smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch > [mailto:smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch] > On Behalf Of Layla Nahar > Sent: Wednesday, July 27, 2011 6:35 AM > To: smokeping-users at lists.oetiker.ch > Subject: [smokeping-users] ERROR: opening > '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory > > Hi, I'm getting this error: > > When I click on a menu item (eg 'MySite1) I get the failure. > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > file or directory > > Can somebody tell me how to fix this? > > I set tmp/smokeping-ms/data to permission 777 and I set ownership of > both 'smokeping-ms' and 'data' to smokeping:smokeping. I also tried > setting ownership to apache:apache but I still get the failure above. > > I am doing everything as root. I started smokeping as user root. > > root is able to run RRDTool and make a new *.rrd file > user smokeping is able to run "rrdtool --help" but gets a permission > denied error when trying to create an *.rrd file. > > Is the source of > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > file or directory > in the permissioning? > > How can I fix this error? I can set up new users and groups if > necessary. I've noticed references to user 'www' but I have yet to > set up this user. I guess that it is related to apache. It would be > great if someone could clarify the role of www. > > > thank you very much > > LN > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From joshua_andrews at gemvision.com Thu Jul 28 15:22:54 2011 From: joshua_andrews at gemvision.com (Joshua Andrews) Date: Thu, 28 Jul 2011 13:22:54 +0000 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: Message-ID: Layla: Sorry about that, was working with MRTG yesterday and use cronjobs in that all the time. I misled you when I asked if you were using cronjobs and I apologize for that. What I should have said is, did you make sure that you've started the SmokePing daemon and that you've given it enough time to create the data? It can take upwards of 15 mins or so to start generating the data. Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 http://www.gemvision.com -----Original Message----- From: Layla Nahar [mailto:laylanahar at gmail.com] Sent: Wednesday, July 27, 2011 9:43 PM To: Joshua Andrews Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory Josh - thank you very much for your response. I have yet to do anything with crontab on this system. I was going to follow your suggestion, and I checked in the smokeping directory but the only reference I find to cron seems to be for tSmoke, about sending email updates on the system status. Could you tell me what you mean by the cron job? Also I've been trying to figure out smokeping creates the initial rrd file, but I'm still puzzled by this. Could you tell me where I should look to understand that better? thanks again LN On 7/27/11, Joshua Andrews wrote: > Layla: > > Not sure, but it "feels" more like the file doesn't exist which means > smokeping may not have created the data. Have you already setup the cron > job and given it time to run some data before trying to load the links on > the site? > > Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive > Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 > http://www.gemvision.com > -----Original Message----- > From: smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch > [mailto:smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch] > On Behalf Of Layla Nahar > Sent: Wednesday, July 27, 2011 6:35 AM > To: smokeping-users at lists.oetiker.ch > Subject: [smokeping-users] ERROR: opening > '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory > > Hi, I'm getting this error: > > When I click on a menu item (eg 'MySite1) I get the failure. > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > file or directory > > Can somebody tell me how to fix this? > > I set tmp/smokeping-ms/data to permission 777 and I set ownership of > both 'smokeping-ms' and 'data' to smokeping:smokeping. I also tried > setting ownership to apache:apache but I still get the failure above. > > I am doing everything as root. I started smokeping as user root. > > root is able to run RRDTool and make a new *.rrd file > user smokeping is able to run "rrdtool --help" but gets a permission > denied error when trying to create an *.rrd file. > > Is the source of > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > file or directory > in the permissioning? > > How can I fix this error? I can set up new users and groups if > necessary. I've noticed references to user 'www' but I have yet to > set up this user. I guess that it is related to apache. It would be > great if someone could clarify the role of www. > > > thank you very much > > LN > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From laylanahar at gmail.com Thu Jul 28 16:41:49 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Thu, 28 Jul 2011 11:41:49 -0300 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: Message-ID: Thanks Josh So, I thought my smokeping daemon was up and running because I had started it some time ago. But when I ran ./bin/smokeping --logfile=smoke.log rather than giving me the message that smokeping was already running, it gave me an ordinary startup message. the error .../mysite1/myhost1.rrd': No such file or directory is gone! wonderful - thank you so much for that suggestion. LN On 7/28/11, Joshua Andrews wrote: > What I should have said is, did you make sure that you've started the > SmokePing daemon and that you've given it enough time to create the data? > It can take upwards of 15 mins or so to start generating the data. From joshua_andrews at gemvision.com Thu Jul 28 16:54:47 2011 From: joshua_andrews at gemvision.com (Joshua Andrews) Date: Thu, 28 Jul 2011 14:54:47 +0000 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: Message-ID: Make sure you create a startup script or add it to whatever startup params your OS supports. ;) Glad to hear you've got it working now. Joshua Andrews > IT Administrator Gemvision Corporation 706 East River Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 http://www.gemvision.com -----Original Message----- From: Layla Nahar [mailto:laylanahar at gmail.com] Sent: Thursday, July 28, 2011 9:42 AM To: Joshua Andrews Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory Thanks Josh So, I thought my smokeping daemon was up and running because I had started it some time ago. But when I ran ./bin/smokeping --logfile=smoke.log rather than giving me the message that smokeping was already running, it gave me an ordinary startup message. the error .../mysite1/myhost1.rrd': No such file or directory is gone! wonderful - thank you so much for that suggestion. LN On 7/28/11, Joshua Andrews wrote: > What I should have said is, did you make sure that you've started the > SmokePing daemon and that you've given it enough time to create the data? > It can take upwards of 15 mins or so to start generating the data. From laylanahar at gmail.com Thu Jul 28 22:56:33 2011 From: laylanahar at gmail.com (Layla Nahar) Date: Thu, 28 Jul 2011 17:56:33 -0300 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: Message-ID: Thanks for the reminder - & for all your help! On 7/28/11, Joshua Andrews wrote: > Make sure you create a startup script or add it to whatever startup params > your OS supports. ;) Glad to hear you've got it working now. From jmv0189 at gmail.com Fri Jul 8 06:48:18 2011 From: jmv0189 at gmail.com (Juan Vasquez) Date: Fri, 08 Jul 2011 04:48:18 -0000 Subject: [smokeping-users] Smokeping does not match alerts Message-ID: Hello for some reason my smokeping is not triggering any of the alerts that are configured. I would have expected to see a debug message indicating the alert had matched for 17.29.254.41 as this is a misconfigured ip that has 100% loss. FPing: Executing /usr/bin/fping -C 10 -q -B1 -r1 -i10 us-aus-mop-core1-vlan201.n.corp.xxxx.com 172.31.34.237 172.31.218.235 17.29.254.41 172.31.149.235 172.31.193.233 us-mtv-cl2-dist1-gigabitethernet1-1.n.corp.xxxx.com qosprobe.arb.corp.xxxx.com FPing: Got fping output: 'us-aus-mop-core1-vlan201.n.corp.xxxx.com : 59.23 74.32 59.53 59.35 59.18 59.35 59.27 59.60 59.19 75.31' FPing: Got fping output: '172.31.34.237 : 11.35 11.40 11.40 12.04 11.30 11.29 11.34 11.37 11.31 11.31' FPing: Got fping output: '172.31.218.235 : 203.08 202.11 195.45 188.86 195.51 189.60 196.35 196.42 188.70 195.48' FPing: Got fping output: '17.29.254.41 : - - - - - - - - - -' FPing: Got fping output: '172.31.149.235 : 37.79 38.43 38.36 38.40 38.17 38.56 38.37 38.41 38.38 38.36' FPing: Got fping output: '172.31.193.233 : 40.48 40.44 40.52 40.47 40.46 40.48 40.48 40.48 40.47 40.54' FPing: Got fping output: 'qosprobe.arb.corp.xxxx.com : 76.61 75.95 76.58 75.58 76.02 76.82 75.96 76.27 75.07 76.78' Calling RRDs::update(/var/lib/smokeping/CBF/SFO.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:3.8380000000e-02:3.7790000000e-02:3.8170000000e-02:3.8360000000e-02:3.8360000000e-02:3.8370000000e-02:3.8380000000e-02:3.8400000000e-02:3.8410000000e-02:3.8430000000e-02:3.8560000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/NYC.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:10:U:U:U:U:U:U:U:U:U:U:U) Calling RRDs::update(/var/lib/smokeping/CBF/AUS.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:5.9350000000e-02:5.9180000000e-02:5.9190000000e-02:5.9230000000e-02:5.9270000000e-02:5.9350000000e-02:5.9350000000e-02:5.9530000000e-02:5.9600000000e-02:7.4320000000e-02:7.5310000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/CHI.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:1.1350000000e-02:1.1290000000e-02:1.1300000000e-02:1.1310000000e-02:1.1310000000e-02:1.1340000000e-02:1.1350000000e-02:1.1370000000e-02:1.1400000000e-02:1.1400000000e-02:1.2040000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/BUE.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:1.9551000000e-01:1.8870000000e-01:1.8886000000e-01:1.8960000000e-01:1.9545000000e-01:1.9548000000e-01:1.9551000000e-01:1.9635000000e-01:1.9642000000e-01:2.0211000000e-01:2.0308000000e-01) Calling RRDs::update(/var/lib/smokeping/CBF/ABR.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:7.6270000000e-02:7.5070000000e-02:7.5580000000e-02:7.5950000000e-02:7.5960000000e-02:7.6020000000e-02:7.6270000000e-02:7.6580000000e-02:7.6610000000e-02:7.6780000000e-02:7.6820000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/CAM.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:4.0480000000e-02:4.0440000000e-02:4.0460000000e-02:4.0470000000e-02:4.0470000000e-02:4.0480000000e-02:4.0480000000e-02:4.0480000000e-02:4.0480000000e-02:4.0520000000e-02:4.0540000000e-02) Calling RRDs::update(/var/lib/smokeping/CBF/MTV.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10 1310099918:U:0:3.7230000000e-02:3.6760000000e-02:3.6790000000e-02:3.6790000000e-02:3.6840000000e-02:3.6880000000e-02:3.7230000000e-02:3.7230000000e-02:3.7260000000e-02:3.7340000000e-02:3.7650000000e-02) Calling RRDs::update(/var/lib/smokeping/VAS/ATLVAS2.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:2.055:0.1:2.053:2.055:2.061:2.062) Calling RRDs::update(/var/lib/smokeping/VAS/CBFVAS4.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:0.009:0.009:0.009:0.009:0.01:0.01) Calling RRDs::update(/var/lib/smokeping/VAS/CBFVAS3.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:0.011:0.009:0.01:0.011:0.012:0.013) Calling RRDs::update(/var/lib/smokeping/VAS/ATLVAS1.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5 1310099918:U:0:2.062:1.985:2.034:2.062:2.065:2.174) jmv at kpbi3:/etc/smokeping$ My Alerts are jmv at kpbi3:/etc/smokeping$ cat ./config.d/Alerts *** Alerts *** to = jmv at xxxx.com from = jmv at xxxxx.com +bigloss type = loss # in percent pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is packet loss +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row +startloss type = loss # in percent pattern = >0% comment = loss at startup does anyone have any idea? I am running smokeping 2.3.6 on Ubuntu regards -Juan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110708/9f9ee650/attachment.html From w_thal at gmx.de Thu Jul 28 08:00:32 2011 From: w_thal at gmx.de (Werner Thal) Date: Thu, 28 Jul 2011 06:00:32 -0000 Subject: [smokeping-users] ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory In-Reply-To: References: (sfid-20110728_072443_414645_A247966F) Message-ID: <201107280749.10618.w_thal@gmx.de> Dear Layla, a few weeks ago I have had a similar Problem and I didn't get deep enough into it to say what was the reason. But I found a workaround wich maybe aslo probable for you. I am using a Debian Testing System and installed Smokeping from the Debian repositories. Then I tried to customize the config files for my needs including custom pathes for rrd's, pictures and so on. But I realized that smokeping does not take care in every case of the customized pathes. So I did a reinstall and used the original locations for the files and everything seems to work fine except starting smokeping via rc-scripts. I have to start it manually as a deamon and no entries in crontab. Hope that helps you! Regards Werner PS: sorry for my not so good english ;o) > Josh - > > thank you very much for your response. > > I have yet to do anything with crontab on this system. I was going > to follow your suggestion, and I checked in the smokeping directory > but the only reference I find to cron seems to be for tSmoke, about > sending email updates on the system status. Could you tell me what > you mean by the cron job? > > Also I've been trying to figure out smokeping creates the initial rrd > file, but I'm still puzzled by this. Could you tell me where I should > look to understand that better? > > thanks again > > LN > > On 7/27/11, Joshua Andrews wrote: > > Layla: > > > > Not sure, but it "feels" more like the file doesn't exist which means > > smokeping may not have created the data. Have you already setup the cron > > job and given it time to run some data before trying to load the links on > > the site? > > > > Joshua Andrews > IT Administrator Gemvision Corporation 706 East River > > Drive Davenport, IA 52803 p 800.357.6272 x143 f 563.884.8181 > > http://www.gemvision.com > > -----Original Message----- > > From: > > smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetiker.ch > > [mailto:smokeping-users-bounces+joshua_andrews=gemvision.com at lists.oetik > > er.ch] On Behalf Of Layla Nahar > > Sent: Wednesday, July 27, 2011 6:35 AM > > To: smokeping-users at lists.oetiker.ch > > Subject: [smokeping-users] ERROR: opening > > '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such file or directory > > > > Hi, I'm getting this error: > > > > When I click on a menu item (eg 'MySite1) I get the failure. > > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > > file or directory > > > > Can somebody tell me how to fix this? > > > > I set tmp/smokeping-ms/data to permission 777 and I set ownership of > > both 'smokeping-ms' and 'data' to smokeping:smokeping. I also tried > > setting ownership to apache:apache but I still get the failure above. > > > > I am doing everything as root. I started smokeping as user root. > > > > root is able to run RRDTool and make a new *.rrd file > > user smokeping is able to run "rrdtool --help" but gets a permission > > denied error when trying to create an *.rrd file. > > > > Is the source of > > ERROR: opening '/tmp/smokeping-ms/data/mysite1/myhost1.rrd': No such > > file or directory > > in the permissioning? > > > > How can I fix this error? I can set up new users and groups if > > necessary. I've noticed references to user 'www' but I have yet to > > set up this user. I guess that it is related to apache. It would be > > great if someone could clarify the role of www. > > > > > > thank you very much > > > > LN > > > > _______________________________________________ > > 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