From stevedwray at gmail.com Tue Sep 3 15:34:02 2013 From: stevedwray at gmail.com (Steve Wray) Date: Tue, 3 Sep 2013 21:34:02 +0800 Subject: [smokeping-users] slave colors not changing Message-ID: Hi, I've got some slaves configured, their graphs show and update fine. Problem is that the colors of the lines are somehow stuck. I've changed the color in the config file, I've restarted smokeping, I've restarted apache, I've cleaned out /var/cache/smokeping/images/ but the colors stay stuck. What do I need to do to 'unstuck' the colors? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130903/1bb12b29/attachment.htm From almgren at gmail.com Wed Sep 4 07:45:43 2013 From: almgren at gmail.com (Matt Almgren) Date: Tue, 3 Sep 2013 22:45:43 -0700 Subject: [smokeping-users] Help with PERL5LIB error Message-ID: I am pulling my hair out here. I have a new CentOS6.4 install and running into problems installing smokeping. I'm not sure what to make of this PERL5LIB. I set it to /usr/bin/perl and still see problems. Any ideas? ... checking checking for gnu make availablility... /usr/bin/gmake is GNU make checking checking for perl module 'RRDs'... Failed checking checking for perl module 'FCGI'... Ok checking checking for perl module 'CGI'... Ok checking checking for perl module 'CGI::Fast'... Ok checking checking for perl module 'Config::Grammar'... Ok checking checking for perl module 'Digest::HMAC_MD5'... Ok checking checking for perl module 'LWP'... Ok ** Aborting Configure ****************************** If you know where perl can find the missing modules, set the PERL5LIB environment variable accordingly. FIRST though, make sure that 'perl' starts the perl binary you want to use for SmokePing. Now you can install local copies of the missing modules by running ./setup/build-perl-modules.sh /opt/smokeping/thirdparty The RRDs perl module is part of RRDtool. Either use the rrdtool package provided by your OS or install rrdtool from source. If you install from source, the RRDs module is located PREFIX/lib/perl [root at sfo-admin007 smokeping-2.6.9]# yum search perl | grep rrd perl-rrdtool.x86_64 : Perl RRDtool bindings rrdtool-perl.x86_64 : Perl RRDtool bindings [root at sfo-admin007 smokeping-2.6.9]# yum install perl-rrdtool.x86_64 rrdtool-perl.x86_64 Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirror.pac-12.org * extras: mirror.san.fastserv.com * rpmforge: mirror.hmc.edu * updates: mirrors.versaweb.com Setting up Install Process Package perl-rrdtool-1.4.7-1.el5.rf.x86_64 already installed and latest version Package rrdtool-perl-1.3.8-6.el6.x86_64 is obsoleted by perl-rrdtool-1.4.7-1.el5.rf.x86_64 which is already installed Nothing to do [root at sfo-admin007 smokeping-2.6.9]# [root at sfo-admin007 smokeping-2.6.9]# which perl /usr/bin/perl [root at sfo-admin007 smokeping-2.6.9]# echo $PERL5LIB /usr/bin/perl [root at sfo-admin007 smokeping-2.6.9]# -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130903/52862cc0/attachment.htm From lars at thegler.dk Wed Sep 4 09:12:28 2013 From: lars at thegler.dk (Lars Thegler) Date: Wed, 4 Sep 2013 09:12:28 +0200 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: References: Message-ID: On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren wrote: > I am pulling my hair out here. I have a new CentOS6.4 install and running > into problems installing smokeping. I'm not sure what to make of this > PERL5LIB. I set it to /usr/bin/perl and still see problems. Any ideas? PERL5LIB is a list of directories in which perl will look for module files, in addition to the built-in directories. So, find out where you've installed RRDs.pm, and add that directory to PERL5LIB. /Lars From jfoste at woodward.com Wed Sep 4 12:42:37 2013 From: jfoste at woodward.com (Jeff Foster) Date: Wed, 4 Sep 2013 05:42:37 -0500 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: References: Message-ID: <05FF0082A149034FA8EB1AA52841151749513DA5AE@RKFDMAIL.woodward.com> Try installing the perl rrd module via yum run the command - yum install rrdtool-perl Jeff F> From: smokeping-users-bounces+jfoste=woodward.com at lists.oetiker.ch [mailto:smokeping-users-bounces+jfoste=woodward.com at lists.oetiker.ch] On Behalf Of Matt Almgren Sent: Wednesday, September 04, 2013 12:46 AM To: SmokePing Users Subject: [smokeping-users] Help with PERL5LIB error I am pulling my hair out here. I have a new CentOS6.4 install and running into problems installing smokeping. I'm not sure what to make of this PERL5LIB. I set it to /usr/bin/perl and still see problems. Any ideas? ... checking checking for gnu make availablility... /usr/bin/gmake is GNU make checking checking for perl module 'RRDs'... Failed checking checking for perl module 'FCGI'... Ok checking checking for perl module 'CGI'... Ok checking checking for perl module 'CGI::Fast'... Ok checking checking for perl module 'Config::Grammar'... Ok checking checking for perl module 'Digest::HMAC_MD5'... Ok checking checking for perl module 'LWP'... Ok ** Aborting Configure ****************************** If you know where perl can find the missing modules, set the PERL5LIB environment variable accordingly. FIRST though, make sure that 'perl' starts the perl binary you want to use for SmokePing. Now you can install local copies of the missing modules by running ./setup/build-perl-modules.sh /opt/smokeping/thirdparty The RRDs perl module is part of RRDtool. Either use the rrdtool package provided by your OS or install rrdtool from source. If you install from source, the RRDs module is located PREFIX/lib/perl [root at sfo-admin007 smokeping-2.6.9]# yum search perl | grep rrd perl-rrdtool.x86_64 : Perl RRDtool bindings rrdtool-perl.x86_64 : Perl RRDtool bindings [root at sfo-admin007 smokeping-2.6.9]# yum install perl-rrdtool.x86_64 rrdtool-perl.x86_64 Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirror.pac-12.org * extras: mirror.san.fastserv.com * rpmforge: mirror.hmc.edu * updates: mirrors.versaweb.com Setting up Install Process Package perl-rrdtool-1.4.7-1.el5.rf.x86_64 already installed and latest version Package rrdtool-perl-1.3.8-6.el6.x86_64 is obsoleted by perl-rrdtool-1.4.7-1.el5.rf.x86_64 which is already installed Nothing to do [root at sfo-admin007 smokeping-2.6.9]# [root at sfo-admin007 smokeping-2.6.9]# which perl /usr/bin/perl [root at sfo-admin007 smokeping-2.6.9]# echo $PERL5LIB /usr/bin/perl [root at sfo-admin007 smokeping-2.6.9]# *** The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information. *** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130904/e4dec8fc/attachment-0001.htm From sean at bitmakerlabs.com Wed Sep 4 16:47:22 2013 From: sean at bitmakerlabs.com (Sean Power) Date: Wed, 04 Sep 2013 10:47:22 -0400 Subject: [smokeping-users] smoke ping stops capturing data intermittently Message-ID: Hello, I have "holes" in my smoke ping graphs, and no clue how I'd go about troubleshooting them: http://i.imgur.com/d4faBgZ.jpg. I'm running smoke ping 2.6.8 on a raspberry pi model b, using Raspbian OS (basically, Debian optimized for Raspberry Pi). I've attached a dump of my configs here: http://pastebin.ca/2443480 Thoughts on where to go from here? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130904/f1a35dd2/attachment.htm From gregs at sloop.net Wed Sep 4 17:07:10 2013 From: gregs at sloop.net (Gregory Sloop) Date: Wed, 4 Sep 2013 08:07:10 -0700 Subject: [smokeping-users] smoke ping stops capturing data intermittently In-Reply-To: References: Message-ID: <1109862885.20130904080710@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130904/a9f8a990/attachment.htm From almgren at gmail.com Thu Sep 5 01:17:23 2013 From: almgren at gmail.com (Matt Almgren) Date: Wed, 4 Sep 2013 16:17:23 -0700 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: References: Message-ID: Hi Lars, I tried the following: 237 export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi Then I tried to add a link to the @INC lib: 245 cd /usr/share/perl5/ 246 ln -s /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm . Still getting same results: checking checking for perl module 'RRDs'... Failed checking checking for perl module 'FCGI'... Ok checking checking for perl module 'CGI'... Ok checking checking for perl module 'CGI::Fast'... Ok checking checking for perl module 'Config::Grammar'... Ok checking checking for perl module 'Digest::HMAC_MD5'... Ok checking checking for perl module 'LWP'... Ok ** Aborting Configure ****************************** If you know where perl can find the missing modules, set the PERL5LIB environment variable accordingly. On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler wrote: > On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren wrote: > > I am pulling my hair out here. I have a new CentOS6.4 install and > running > > into problems installing smokeping. I'm not sure what to make of this > > PERL5LIB. I set it to /usr/bin/perl and still see problems. Any ideas? > > PERL5LIB is a list of directories in which perl will look for module > files, in addition to the built-in directories. So, find out where > you've installed RRDs.pm, and add that directory to PERL5LIB. > > /Lars > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130904/7bf715fe/attachment.htm From throck+smokeping at gmail.com Thu Sep 5 05:22:13 2013 From: throck+smokeping at gmail.com (Tom Throckmorton) Date: Wed, 04 Sep 2013 23:22:13 -0400 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: References: Message-ID: <5227F8E5.7080903@gmail.com> Matt; It looks like you have rpmforge repos enabled and you're pulling in el5 packages, e.g. the perl-rrdtool-1.4.7-1.el5.rf.x86_64. Not only is that package for the wrong dist, it is also for the wrong version of perl on 6.4 (5.10). At this point, I would 'yum erase perl-rrdtool' and then 'yum install rrdtool-perl --disablerepo=rpmforge'. That should take care of your RRDs location issue for the build. Beyond that, it looks like you may have the wrong rpmforge-release package installed; you may want to backout any packages you installed from that repo, correct that and then start again. cheers, -tt On 09/04/2013 07:17 PM, Matt Almgren wrote: > Hi Lars, I tried the following: > > 237 export > PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > > > Then I tried to add a link to the @INC lib: > > 245 cd /usr/share/perl5/ > 246 ln -s > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm . > > > Still getting same results: > > checking checking for perl module 'RRDs'... Failed > checking checking for perl module 'FCGI'... Ok > checking checking for perl module 'CGI'... Ok > checking checking for perl module 'CGI::Fast'... Ok > checking checking for perl module 'Config::Grammar'... Ok > checking checking for perl module 'Digest::HMAC_MD5'... Ok > checking checking for perl module 'LWP'... Ok > > ** Aborting Configure ****************************** > > If you know where perl can find the missing modules, set > the PERL5LIB environment variable accordingly. > > > > > > > > > On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler > wrote: > > On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren > wrote: > > I am pulling my hair out here. I have a new CentOS6.4 install and > running > > into problems installing smokeping. I'm not sure what to make of this > > PERL5LIB. I set it to /usr/bin/perl and still see problems. Any > ideas? > > PERL5LIB is a list of directories in which perl will look for module > files, in addition to the built-in directories. So, find out where > you've installed RRDs.pm, and add that directory to PERL5LIB. > > /Lars > > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From jean at wedebugyou.com Thu Sep 5 06:23:19 2013 From: jean at wedebugyou.com (Jean) Date: Thu, 5 Sep 2013 06:23:19 +0200 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: <5227F8E5.7080903@gmail.com> References: <5227F8E5.7080903@gmail.com> Message-ID: <3412B5BC-40F6-4AFC-B178-30F7695DF71C@wedebugyou.com> Hi, It seems there is no smokeping package under centos. Try this guide. If any improvement needs to be done, I would be happy to contribute. http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/ Good luck Jean On 2013-09-05, at 5:22, Tom Throckmorton wrote: > Matt; > > It looks like you have rpmforge repos enabled and you're pulling in el5 > packages, e.g. the perl-rrdtool-1.4.7-1.el5.rf.x86_64. Not only is that > package for the wrong dist, it is also for the wrong version of perl on > 6.4 (5.10). At this point, I would 'yum erase perl-rrdtool' and then > 'yum install rrdtool-perl --disablerepo=rpmforge'. That should take > care of your RRDs location issue for the build. > > Beyond that, it looks like you may have the wrong rpmforge-release > package installed; you may want to backout any packages you installed > from that repo, correct that and then start again. > > cheers, > > -tt > > > On 09/04/2013 07:17 PM, Matt Almgren wrote: >> Hi Lars, I tried the following: >> >> 237 export >> PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >> >> >> Then I tried to add a link to the @INC lib: >> >> 245 cd /usr/share/perl5/ >> 246 ln -s >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm . >> >> >> Still getting same results: >> >> checking checking for perl module 'RRDs'... Failed >> checking checking for perl module 'FCGI'... Ok >> checking checking for perl module 'CGI'... Ok >> checking checking for perl module 'CGI::Fast'... Ok >> checking checking for perl module 'Config::Grammar'... Ok >> checking checking for perl module 'Digest::HMAC_MD5'... Ok >> checking checking for perl module 'LWP'... Ok >> >> ** Aborting Configure ****************************** >> >> If you know where perl can find the missing modules, set >> the PERL5LIB environment variable accordingly. >> >> >> >> >> >> >> >> >> On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler > > wrote: >> >> On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren > > wrote: >>> I am pulling my hair out here. I have a new CentOS6.4 install and >> running >>> into problems installing smokeping. I'm not sure what to make of this >>> PERL5LIB. I set it to /usr/bin/perl and still see problems. Any >> ideas? >> >> PERL5LIB is a list of directories in which perl will look for module >> files, in addition to the built-in directories. So, find out where >> you've installed RRDs.pm, and add that directory to PERL5LIB. >> >> /Lars >> >> >> >> >> _______________________________________________ >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130905/b25c67a2/attachment-0001.htm From almgren at gmail.com Thu Sep 5 07:53:01 2013 From: almgren at gmail.com (Matt Almgren) Date: Wed, 4 Sep 2013 22:53:01 -0700 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: <5227F8E5.7080903@gmail.com> References: <5227F8E5.7080903@gmail.com> Message-ID: <-7583718754755154620@unknownmsgid> Hi tt, can you point me to the correct rpmforge repo that I should be using for centos6.4? I'll try out your suggestions tomorrow. Thanks! -- iMatt On Sep 4, 2013, at 8:22 PM, Tom Throckmorton wrote: > Matt; > > It looks like you have rpmforge repos enabled and you're pulling in el5 > packages, e.g. the perl-rrdtool-1.4.7-1.el5.rf.x86_64. Not only is that > package for the wrong dist, it is also for the wrong version of perl on > 6.4 (5.10). At this point, I would 'yum erase perl-rrdtool' and then > 'yum install rrdtool-perl --disablerepo=rpmforge'. That should take > care of your RRDs location issue for the build. > > Beyond that, it looks like you may have the wrong rpmforge-release > package installed; you may want to backout any packages you installed > from that repo, correct that and then start again. > > cheers, > > -tt > > > On 09/04/2013 07:17 PM, Matt Almgren wrote: >> Hi Lars, I tried the following: >> >> 237 export >> PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >> >> >> Then I tried to add a link to the @INC lib: >> >> 245 cd /usr/share/perl5/ >> 246 ln -s >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm . >> >> >> Still getting same results: >> >> checking checking for perl module 'RRDs'... Failed >> checking checking for perl module 'FCGI'... Ok >> checking checking for perl module 'CGI'... Ok >> checking checking for perl module 'CGI::Fast'... Ok >> checking checking for perl module 'Config::Grammar'... Ok >> checking checking for perl module 'Digest::HMAC_MD5'... Ok >> checking checking for perl module 'LWP'... Ok >> >> ** Aborting Configure ****************************** >> >> If you know where perl can find the missing modules, set >> the PERL5LIB environment variable accordingly. >> >> >> >> >> >> >> >> >> On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler > > wrote: >> >> On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren > > wrote: >>> I am pulling my hair out here. I have a new CentOS6.4 install and >> running >>> into problems installing smokeping. I'm not sure what to make of this >>> PERL5LIB. I set it to /usr/bin/perl and still see problems. Any >> ideas? >> >> PERL5LIB is a list of directories in which perl will look for module >> files, in addition to the built-in directories. So, find out where >> you've installed RRDs.pm, and add that directory to PERL5LIB. >> >> /Lars >> >> >> >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From almgren at gmail.com Thu Sep 5 07:55:16 2013 From: almgren at gmail.com (Matt Almgren) Date: Wed, 4 Sep 2013 22:55:16 -0700 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: <3412B5BC-40F6-4AFC-B178-30F7695DF71C@wedebugyou.com> References: <5227F8E5.7080903@gmail.com> <3412B5BC-40F6-4AFC-B178-30F7695DF71C@wedebugyou.com> Message-ID: <792958365778510700@unknownmsgid> Hi Jean, we've actually worked together last year with your guide and my input. I documented all the steps from your guide and my suggestions. They've worked at least a handful of times before, so I'm surprised it failed this time. -- iMatt On Sep 4, 2013, at 9:23 PM, Jean wrote: Hi, It seems there is no smokeping package under centos. Try this guide. If any improvement needs to be done, I would be happy to contribute. http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/ Good luck Jean On 2013-09-05, at 5:22, Tom Throckmorton wrote: Matt; It looks like you have rpmforge repos enabled and you're pulling in el5 packages, e.g. the perl-rrdtool-1.4.7-1.el5.rf.x86_64. Not only is that package for the wrong dist, it is also for the wrong version of perl on 6.4 (5.10). At this point, I would 'yum erase perl-rrdtool' and then 'yum install rrdtool-perl --disablerepo=rpmforge'. That should take care of your RRDs location issue for the build. Beyond that, it looks like you may have the wrong rpmforge-release package installed; you may want to backout any packages you installed from that repo, correct that and then start again. cheers, -tt On 09/04/2013 07:17 PM, Matt Almgren wrote: Hi Lars, I tried the following: 237 export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi Then I tried to add a link to the @INC lib: 245 cd /usr/share/perl5/ 246 ln -s /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm . Still getting same results: checking checking for perl module 'RRDs'... Failed checking checking for perl module 'FCGI'... Ok checking checking for perl module 'CGI'... Ok checking checking for perl module 'CGI::Fast'... Ok checking checking for perl module 'Config::Grammar'... Ok checking checking for perl module 'Digest::HMAC_MD5'... Ok checking checking for perl module 'LWP'... Ok ** Aborting Configure ****************************** If you know where perl can find the missing modules, set the PERL5LIB environment variable accordingly. On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler >> wrote: On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren >> wrote: I am pulling my hair out here. I have a new CentOS6.4 install and running into problems installing smokeping. I'm not sure what to make of this PERL5LIB. I set it to /usr/bin/perl and still see problems. Any ideas? PERL5LIB is a list of directories in which perl will look for module files, in addition to the built-in directories. So, find out where you've installed RRDs.pm, and add that directory to PERL5LIB. /Lars _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130904/e737b647/attachment.htm From almgren at gmail.com Thu Sep 5 19:47:58 2013 From: almgren at gmail.com (Matt Almgren) Date: Thu, 5 Sep 2013 10:47:58 -0700 Subject: [smokeping-users] Help with PERL5LIB error In-Reply-To: <52281D41.4030102@jedinetworks.com> References: <5227F8E5.7080903@gmail.com> <3412B5BC-40F6-4AFC-B178-30F7695DF71C@wedebugyou.com> <792958365778510700@unknownmsgid> <52281D41.4030102@jedinetworks.com> Message-ID: Thanks all, I followed Jean's page and it was successful. It turns out that I was using the wrong rpmforge repo. -- Matt On Wed, Sep 4, 2013 at 10:57 PM, Jaysen Johnson wrote: > The We Debug You guide is excellent, I used it for my SmokePing setup. > > http://www.wedebugyou.com/**2012/11/how-to-install-and-** > configure-smokeping-on-centos-**6/ > > Jaysen Johnson > > > On 9/4/2013 22:55, Matt Almgren wrote: > >> Hi Jean, we've actually worked together last year with your guide and my >> input. I documented all the steps from your guide and my suggestions. >> They've worked at least a handful of times before, so I'm surprised it >> failed this time. >> >> >> -- iMatt >> >> On Sep 4, 2013, at 9:23 PM, Jean > > wrote: >> >> Hi, >>> >>> It seems there is no smokeping package under centos. >>> >>> Try this guide. If any improvement needs to be done, I would be happy >>> to contribute. >>> >>> http://www.wedebugyou.com/**2012/11/how-to-install-and-** >>> configure-smokeping-on-centos-**6/ >>> >>> Good luck >>> >>> Jean >>> >>> On 2013-09-05, at 5:22, Tom Throckmorton >> >> >>> wrote: >>> >>> Matt; >>>> >>>> It looks like you have rpmforge repos enabled and you're pulling in el5 >>>> packages, e.g. the perl-rrdtool-1.4.7-1.el5.rf.**x86_64. Not only is >>>> that >>>> package for the wrong dist, it is also for the wrong version of perl on >>>> 6.4 (5.10). At this point, I would 'yum erase perl-rrdtool' and then >>>> 'yum install rrdtool-perl --disablerepo=rpmforge'. That should take >>>> care of your RRDs location issue for the build. >>>> >>>> Beyond that, it looks like you may have the wrong rpmforge-release >>>> package installed; you may want to backout any packages you installed >>>> from that repo, correct that and then start again. >>>> >>>> cheers, >>>> >>>> -tt >>>> >>>> >>>> On 09/04/2013 07:17 PM, Matt Almgren wrote: >>>> >>>>> Hi Lars, I tried the following: >>>>> >>>>> 237 export >>>>> PERL5LIB=/usr/lib64/perl5/**vendor_perl/5.8.8/x86_64-** >>>>> linux-thread-multi >>>>> >>>>> >>>>> Then I tried to add a link to the @INC lib: >>>>> >>>>> 245 cd /usr/share/perl5/ >>>>> 246 ln -s >>>>> /usr/lib64/perl5/vendor_perl/**5.8.8/x86_64-linux-thread-**multi/RRDs.pm >>>>> . >>>>> >>>>> >>>>> Still getting same results: >>>>> >>>>> checking checking for perl module 'RRDs'... Failed >>>>> checking checking for perl module 'FCGI'... Ok >>>>> checking checking for perl module 'CGI'... Ok >>>>> checking checking for perl module 'CGI::Fast'... Ok >>>>> checking checking for perl module 'Config::Grammar'... Ok >>>>> checking checking for perl module 'Digest::HMAC_MD5'... Ok >>>>> checking checking for perl module 'LWP'... Ok >>>>> >>>>> ** Aborting Configure ****************************** >>>>> >>>>> If you know where perl can find the missing modules, set >>>>> the PERL5LIB environment variable accordingly. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Sep 4, 2013 at 12:12 AM, Lars Thegler >>>> >>>>> > wrote: >>>>> >>>>> On Wed, Sep 4, 2013 at 7:45 AM, Matt Almgren >>>> >>>>> > wrote: >>>>> >>>>>> I am pulling my hair out here. I have a new CentOS6.4 install and >>>>>> >>>>> running >>>>> >>>>>> into problems installing smokeping. I'm not sure what to make of this >>>>>> PERL5LIB. I set it to /usr/bin/perl and still see problems. Any >>>>>> >>>>> ideas? >>>>> >>>>> PERL5LIB is a list of directories in which perl will look for module >>>>> files, in addition to the built-in directories. So, find out where >>>>> you've installed RRDs.pm, and add that directory to PERL5LIB. >>>>> >>>>> /Lars >>>>> >>>>> >>>>> >>>>> >>>>> ______________________________**_________________ >>>>> 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 >>>> >>> >> >> ______________________________**_________________ >> 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/20130905/2957e870/attachment-0001.htm From baeri3 at gmx.de Fri Sep 6 16:02:53 2013 From: baeri3 at gmx.de (baeri3 at gmx.de) Date: Fri, 6 Sep 2013 16:02:53 +0200 (CEST) Subject: [smokeping-users] Don't record data Message-ID: An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130906/9604f9e1/attachment.htm From baeri3 at gmx.de Fri Sep 6 16:07:36 2013 From: baeri3 at gmx.de (baeri3 at gmx.de) Date: Fri, 6 Sep 2013 16:07:36 +0200 (CEST) Subject: [smokeping-users] Don't record data Message-ID: Hello together, i installed on CentOS release 5.4 the Smokeping Version 2.006009 like this link: http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/ But smoke don't write correct data in the RRD archive. After the last installation, i only changed the host adress in the sample config and don't edit anything else. The --debug result: ---- Smokeping version 2.006009 successfully launched. Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that. FPing: probing 1 targets with step 300 s and offset 55 s. FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.100.35 Calling RRDs::update(/opt/smokeping/data/Test/James.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1378394189:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U) Alert "someloss": no match for target /opt/smokeping/data/Test/James ---- All ping result's are "U(ndef)". If i try: /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.100.35 i get this (i think good) result: 192.168.100.35 : 0.42 0.36 0.32 0.32 0.32 0.29 0.32 0.47 0.46 0.46 0.39 0.31 0.31 0.31 0.32 0.31 0.29 0.32 0.31 0.32 On a other system i see on --debug a line like FPing: Got fping output: ... but not at the new installation. Can you help me? Many thanks from south germany, Manuel ? ? From mmoses at nycl.com Fri Sep 6 18:43:23 2013 From: mmoses at nycl.com (Miguel Moses) Date: Fri, 6 Sep 2013 16:43:23 +0000 Subject: [smokeping-users] Seconds displayed in '000 u' format Message-ID: Hello, I am fairly new to using Smokeping and have it pretty much all setup to monitor what I need. I have one question about of my graphs and how seconds are displayed on the Y axis. All graphs display in '0 m', however this one is displaying in what looks to be a non-standard format in the screenshot below. Is this a configuration error on my part? +++Windstream menu = Windstream title = Windstream Edge host = xxx.xxx.xxx.xxx [cid:image003.jpg at 01CEAAFE.AC8697C0] Any help is much appreciated. Miguel Moses Systems Administrator, New York Cruise Lines Circle Line | World Yacht | The Beast http://www.circleline42.com | http://www.worldyacht.com/ o: 212-630-8194 | m: 212-495-9680 | e: mmoses at nycl.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130906/bf9d37fe/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 35112 bytes Desc: image003.jpg Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130906/bf9d37fe/attachment-0001.jpg From gregs at sloop.net Fri Sep 6 21:15:18 2013 From: gregs at sloop.net (Gregory Sloop) Date: Fri, 6 Sep 2013 12:15:18 -0700 Subject: [smokeping-users] Seconds displayed in '000 u' format In-Reply-To: References: Message-ID: <354455941.20130906121518@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130906/3ef783d0/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 35112 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130906/3ef783d0/attachment-0001.jpeg From artiflo at gmail.com Mon Sep 23 12:56:05 2013 From: artiflo at gmail.com (Artiflo) Date: Mon, 23 Sep 2013 12:56:05 +0200 Subject: [smokeping-users] 12 secondes to show a page on smokeping ? Message-ID: Hello, On smokeping 2.6.8, I have 2600 devices on 90 FPING probe. Each time I try to show a page or when I click on menu that took ~12 secondes !!! Why is so long ? (0.5 load on 4 XEON server) # time /usr/local/smokeping/bin/smokeping_cgi /usr/local/smokeping/etc/config real 0m12.763s user 0m11.519s sys 0m0.710s # cat /usr/local/smokeping/bin/smokeping_cgi #!/usr/bin/perl # -*-perl-*- use strict; use warnings; use FindBin; use lib qw(); # PERL5LIB use lib "$FindBin::Bin/../thirdparty/lib/perl5"; use lib "$FindBin::Bin/../lib"; # don't bother with zombies $SIG{CHLD} = 'IGNORE'; use CGI::Carp qw(fatalsToBrowser); use Smokeping; use CGI::Fast; my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config"; while (my $q = new CGI::Fast) { Smokeping::cgi($cfg,$q); } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130923/4c8ad3ff/attachment.htm From stevedwray at gmail.com Mon Sep 23 13:37:59 2013 From: stevedwray at gmail.com (Steve Wray) Date: Mon, 23 Sep 2013 19:37:59 +0800 Subject: [smokeping-users] 12 secondes to show a page on smokeping ? In-Reply-To: References: Message-ID: Try using fcgi, it loads a lot faster. ie where you have smokeping.cgi use smokeping.fcgi instead. You may need to install some additional packages to make it work. On 23 September 2013 18:56, Artiflo wrote: > Hello, > > On smokeping 2.6.8, I have 2600 devices on 90 FPING probe. > > Each time I try to show a page or when I click on menu that took ~12 > secondes !!! > > Why is so long ? > > (0.5 load on 4 XEON server) > > # time /usr/local/smokeping/bin/smokeping_cgi > /usr/local/smokeping/etc/config > real 0m12.763s > user 0m11.519s > sys 0m0.710s > > # cat /usr/local/smokeping/bin/smokeping_cgi > > #!/usr/bin/perl > # -*-perl-*- > > use strict; > use warnings; > > use FindBin; > use lib qw(); # PERL5LIB > use lib "$FindBin::Bin/../thirdparty/lib/perl5"; > use lib "$FindBin::Bin/../lib"; > > # don't bother with zombies > $SIG{CHLD} = 'IGNORE'; > > use CGI::Carp qw(fatalsToBrowser); > > use Smokeping; > > use CGI::Fast; > > my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config"; > > > while (my $q = new CGI::Fast) { > Smokeping::cgi($cfg,$q); > } > > _______________________________________________ > smokeping-users mailing list > 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/20130923/2ae4c352/attachment.htm From artiflo at gmail.com Mon Sep 23 14:09:03 2013 From: artiflo at gmail.com (Artiflo) Date: Mon, 23 Sep 2013 14:09:03 +0200 Subject: [smokeping-users] 12 secondes to show a page on smokeping ? In-Reply-To: References: Message-ID: Thanks for your quick answer :) I think I have already FCGI. How to know to be sure if I use CGI or FCGI for smokeping ? This is my smokeping.conf for Apache : ScriptAlias /smokeping/smokeping.cgi "/usr/local/smokeping/htdocs/smokeping.fcgi" Alias /smokeping "/usr/local/smokeping/htdocs/" Options Indexes Includes FollowSymLinks ExecCGI AllowOverride All AddHandler php5-fastcgi .php .php5 .php4 Action php5-fastcgi smokeping.fcgi Order allow,deny Allow from All Alias /smokeping/cache "/usr/local/smokeping/work/cache/" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all 2013/9/23 Steve Wray > Try using fcgi, it loads a lot faster. > > ie where you have smokeping.cgi use smokeping.fcgi instead. You may need > to install some additional packages to make it work. > > > > On 23 September 2013 18:56, Artiflo wrote: > >> Hello, >> >> On smokeping 2.6.8, I have 2600 devices on 90 FPING probe. >> >> Each time I try to show a page or when I click on menu that took ~12 >> secondes !!! >> >> Why is so long ? >> >> (0.5 load on 4 XEON server) >> >> # time /usr/local/smokeping/bin/smokeping_cgi >> /usr/local/smokeping/etc/config >> real 0m12.763s >> user 0m11.519s >> sys 0m0.710s >> >> # cat /usr/local/smokeping/bin/smokeping_cgi >> >> #!/usr/bin/perl >> # -*-perl-*- >> >> use strict; >> use warnings; >> >> use FindBin; >> use lib qw(); # PERL5LIB >> use lib "$FindBin::Bin/../thirdparty/lib/perl5"; >> use lib "$FindBin::Bin/../lib"; >> >> # don't bother with zombies >> $SIG{CHLD} = 'IGNORE'; >> >> use CGI::Carp qw(fatalsToBrowser); >> >> use Smokeping; >> >> use CGI::Fast; >> >> my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config"; >> >> >> while (my $q = new CGI::Fast) { >> Smokeping::cgi($cfg,$q); >> } >> >> _______________________________________________ >> smokeping-users mailing list >> 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/20130923/3c9ee4cf/attachment.htm From will at facetofacedigital.com Wed Sep 25 13:22:04 2013 From: will at facetofacedigital.com (Will Brocklebank) Date: Wed, 25 Sep 2013 12:22:04 +0100 Subject: [smokeping-users] Problem finding the HTDocs file Message-ID: <51C7142B-83EF-42C0-B248-C0A40B9E1298@facetofacedigital.com> Dear all - I am an enthusiastic noob so please forgive any inexperienced foolishness ;-) I have progressed through the installation procedure on Raspbian and all seems to be running smoothly. However, I have hit a problem with firing up the actual web interface. Specifically I do not understand these instructions: "There is a sample htdocs directory in your smokeping installation root. Copy its content to the place where your webserver expects its files. There are also two sample cgi scripts showing how to launch the smokeping cgi in your website. The only difference is the file extension. Adjust the paths in the script and you should be ready to go." I installed smokeping via apt-get on my Raspberry Pi and now I cannot find any htdocs directory either in the smokeping installation root (for clarity maybe someone could tell me exactly where this is so I can double-check but it isn't in /usr/etc/smokeping) and do not know how to move forward! Thanks for all your help! Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/a7882570/attachment.htm From ok.aless at gmail.com Wed Sep 25 14:00:57 2013 From: ok.aless at gmail.com (Alessandro Palermo) Date: Wed, 25 Sep 2013 09:00:57 -0300 Subject: [smokeping-users] Problem finding the HTDocs file In-Reply-To: <51C7142B-83EF-42C0-B248-C0A40B9E1298@facetofacedigital.com> References: <51C7142B-83EF-42C0-B248-C0A40B9E1298@facetofacedigital.com> Message-ID: All configuration files are in /etc/smokeping/ The html base is basepage.html The /etc/smokeping/config.d/ contains the Target, Probes and Alert files. Regards On 25 September 2013 08:22, Will Brocklebank wrote: > Dear all - I am an enthusiastic noob so please forgive any inexperienced > foolishness ;-) > I have progressed through the installation procedure on Raspbian and all > seems to be running smoothly. > > However, I have hit a problem with firing up the actual web interface. > Specifically I do not understand these instructions: > > "There is a sample htdocs directory in your smokeping installation root. > Copy its content to the place where your webserver expects its files. There > are also two sample cgi scripts showing how to launch the smokeping cgi in > your website. The only difference is the file extension. Adjust the paths > in the script and you should be ready to go." > > I installed smokeping via apt-get on my Raspberry Pi and now I cannot find > any htdocs directory either in the smokeping installation root (for clarity > maybe someone could tell me exactly where this is so I can double-check but > it isn't in /usr/etc/smokeping) and do not know how to move forward! > > Thanks for all your help! > > Will > > _______________________________________________ > smokeping-users mailing list > 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/20130925/afe0e885/attachment-0001.htm From ITheodoridis at bankofgreece.gr Wed Sep 25 15:26:07 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Wed, 25 Sep 2013 16:26:07 +0300 Subject: [smokeping-users] Problem finding the HTDocs file Message-ID: <5B6967F6EA05614489E63202C9F6C18004DC25A2@mkexc01.bankofgreece.gr> Hello Will! The contents of the htdocs dir are normally the cgi and fcgi files plus the cropper directory which is a javascript for zooming in your graph pages. I will not get into that right now. Leave your basepage.html where you found it. There is no need to change its location. What you do need is make sure the reference in the config file is correct (it's a little lower than the rest of the filepaths in the smokeping config file). Since you installed the package (instead of compiling yourself) I would expect all the file references in the config to be correct. Just check to make sure. The place where you will be copying the cropper directory is a matter of choice. You can choose to copy it in the webroot directory (probably /var/www/ in that case) or under the smokeping web directory (check your config file to see where that is). There is a cross reference for cropper in the basepage.html file so what you do needs to reflect that. There are absolute references and relative references for that and the graphs in the config and the basepage.html so you need to be careful there. I don't remember those by heart so get started with the main smokeping features and we can work out cropper later if you still have problems. You will probably go through graph creation issues first (usually file rights issues) before you run into those. The cgi files usually go in a separate folder than the rest of the web documents (for example the cropper dir or the smokeping graph images and data). That depends on the distro used. I can't remember by heart where it is for Debian (rasbian in this case) but it could be under /usr/lib. Check those to start with and get back to us for more. If you keep running into trouble I may try to reproduce your setup to provide accurate help (I just got my PI back). Good luck and keep it up! On a personal note let me tell you all that finally my institution approved the purchase of 15 PIs for dispatchable smokeping slaves so I expect to get started on that project sometime in the near feature! Best Regards, Ioannis. From: Alessandro Palermo [mailto:ok.aless at gmail.com] Sent: Wednesday, September 25, 2013 3:01 PM To: Will Brocklebank Cc: smokeping-users Subject: Re: [smokeping-users] Problem finding the HTDocs file All configuration files are in /etc/smokeping/ The html base is basepage.html The /etc/smokeping/config.d/ contains the Target, Probes and Alert files. Regards On 25 September 2013 08:22, Will Brocklebank wrote: Dear all - I am an enthusiastic noob so please forgive any inexperienced foolishness ;-) I have progressed through the installation procedure on Raspbian and all seems to be running smoothly. However, I have hit a problem with firing up the actual web interface. Specifically I do not understand these instructions: "There is a sample htdocs directory in your smokeping installation root. Copy its content to the place where your webserver expects its files. There are also two sample cgi scripts showing how to launch the smokeping cgi in your website. The only difference is the file extension. Adjust the paths in the script and you should be ready to go." I installed smokeping via apt-get on my Raspberry Pi and now I cannot find any htdocs directory either in the smokeping installation root (for clarity maybe someone could tell me exactly where this is so I can double-check but it isn't in /usr/etc/smokeping) and do not know how to move forward! Thanks for all your help! Will _______________________________________________ smokeping-users mailing list 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/20130925/47257ede/attachment.htm -------------- next part -------------- ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== From will at facetofacedigital.com Wed Sep 25 15:28:44 2013 From: will at facetofacedigital.com (Will Brocklebank) Date: Wed, 25 Sep 2013 14:28:44 +0100 Subject: [smokeping-users] Problem finding the HTDocs file In-Reply-To: <5B6967F6EA05614489E63202C9F6C18004DC25A2@mkexc01.bankofgreece.gr> References: <5B6967F6EA05614489E63202C9F6C18004DC25A2@mkexc01.bankofgreece.gr> Message-ID: <532C79FE-A9E9-4412-B078-CADF9D463F69@facetofacedigital.com> Dear Ioannis Very kind of you to chime in and to give such detailed feedback. With Alessandro's help I am up and running. Well done on getting auth for the 15 Pis! W On 25 Sep 2013, at 14:26, wrote: > Hello Will! > The contents of the htdocs dir are normally the cgi and fcgi files plus the cropper directory which is a javascript for zooming in your graph pages. I will not get into that right now. > Leave your basepage.html where you found it. There is no need to change its location. > What you do need is make sure the reference in the config file is correct (it?s a little lower than the rest of the filepaths in the smokeping config file). > Since you installed the package (instead of compiling yourself) I would expect all the file references in the config to be correct. Just check to make sure. > The place where you will be copying the cropper directory is a matter of choice. You can choose to copy it in the webroot directory (probably /var/www/ in that case) or under the smokeping web directory (check your config file to see where that is). There is a cross reference for cropper in the basepage.html file so what you do needs to reflect that. There are absolute references and relative references for that and the graphs in the config and the basepage.html so you need to be careful there. I don?t remember those by heart so get started with the main smokeping features and we can work out cropper later if you still have problems. You will probably go through graph creation issues first (usually file rights issues) before you run into those. > The cgi files usually go in a separate folder than the rest of the web documents (for example the cropper dir or the smokeping graph images and data). That depends on the distro used. I can?t remember by heart where it is for Debian (rasbian in this case) but it could be under /usr/lib. > Check those to start with and get back to us for more. > If you keep running into trouble I may try to reproduce your setup to provide accurate help (I just got my PI back). > Good luck and keep it up! > > On a personal note let me tell you all that finally my institution approved the purchase of 15 PIs for dispatchable smokeping slaves so I expect to get started on that project sometime in the near feature! > > Best Regards, > Ioannis. > > > From: Alessandro Palermo [mailto:ok.aless at gmail.com] > Sent: Wednesday, September 25, 2013 3:01 PM > To: Will Brocklebank > Cc: smokeping-users > Subject: Re: [smokeping-users] Problem finding the HTDocs file > > All configuration files are in /etc/smokeping/ > The html base is basepage.html > The /etc/smokeping/config.d/ contains the Target, Probes and Alert files. > > Regards > > > > On 25 September 2013 08:22, Will Brocklebank wrote: > Dear all - I am an enthusiastic noob so please forgive any inexperienced foolishness ;-) > > I have progressed through the installation procedure on Raspbian and all seems to be running smoothly. > > However, I have hit a problem with firing up the actual web interface. Specifically I do not understand these instructions: > > "There is a sample htdocs directory in your smokeping installation root. Copy its content to the place where your webserver expects its files. There are also two sample cgi scripts showing how to launch the smokeping cgi in your website. The only difference is the file extension. Adjust the paths in the script and you should be ready to go." > > I installed smokeping via apt-get on my Raspberry Pi and now I cannot find any htdocs directory either in the smokeping installation root (for clarity maybe someone could tell me exactly where this is so I can double-check but it isn't in /usr/etc/smokeping) and do not know how to move forward! > > Thanks for all your help! > > Will > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > > ============================================================================================================== > ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. > > ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. > > ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. > > > Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. > > The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. > > If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. > ============================================================================================================== > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/15eee4cb/attachment-0001.htm From ITheodoridis at bankofgreece.gr Wed Sep 25 15:35:02 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Wed, 25 Sep 2013 16:35:02 +0300 Subject: [smokeping-users] Problem finding the HTDocs file In-Reply-To: <532C79FE-A9E9-4412-B078-CADF9D463F69@facetofacedigital.com> References: <5B6967F6EA05614489E63202C9F6C18004DC25A2@mkexc01.bankofgreece.gr> <532C79FE-A9E9-4412-B078-CADF9D463F69@facetofacedigital.com> Message-ID: <5B6967F6EA05614489E63202C9F6C18004DC25A9@mkexc01.bankofgreece.gr> Hey! Np, the community is strong! Very glad you made it this fast, just let me know if cropper is working. If you get to the single graph level (not at the summary pages) you should get a cross if you put your mouse over the graph, allowing you to select an area for graphical zoom in. If you don?t have it, you need to correct the relative references like I mentioned (if you figure out they are referring to your web root dir as / and your smokeping web location as relative path, you should be able to make it work). Maybe it?s already where it?s supposed to be. All you would need to check after that is if the startup scripts are working correctly ( I still need to do some work on that). Cheers! Ioannis From: Will Brocklebank [mailto:will at facetofacedigital.com] Sent: Wednesday, September 25, 2013 4:29 PM To: Theodoridis Ioannis Cc: ok.aless at gmail.com; smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Problem finding the HTDocs file Dear Ioannis Very kind of you to chime in and to give such detailed feedback. With Alessandro's help I am up and running. Well done on getting auth for the 15 Pis! W On 25 Sep 2013, at 14:26, wrote: Hello Will! The contents of the htdocs dir are normally the cgi and fcgi files plus the cropper directory which is a javascript for zooming in your graph pages. I will not get into that right now. Leave your basepage.html where you found it. There is no need to change its location. What you do need is make sure the reference in the config file is correct (it?s a little lower than the rest of the filepaths in the smokeping config file). Since you installed the package (instead of compiling yourself) I would expect all the file references in the config to be correct. Just check to make sure. The place where you will be copying the cropper directory is a matter of choice. You can choose to copy it in the webroot directory (probably /var/www/ in that case) or under the smokeping web directory (check your config file to see where that is). There is a cross reference for cropper in the basepage.html file so what you do needs to reflect that. There are absolute references and relative references for that and the graphs in the config and the basepage.html so you need to be careful there. I don?t remember those by heart so get started with the main smokeping features and we can work out cropper later if you still have problems. You will probably go through graph creation issues first (usually file rights issues) before you run into those. The cgi files usually go in a separate folder than the rest of the web documents (for example the cropper dir or the smokeping graph images and data). That depends on the distro used. I can?t remember by heart where it is for Debian (rasbian in this case) but it could be under /usr/lib. Check those to start with and get back to us for more. If you keep running into trouble I may try to reproduce your setup to provide accurate help (I just got my PI back). Good luck and keep it up! On a personal note let me tell you all that finally my institution approved the purchase of 15 PIs for dispatchable smokeping slaves so I expect to get started on that project sometime in the near feature! Best Regards, Ioannis. From: Alessandro Palermo [mailto:ok.aless at gmail.com ] Sent: Wednesday, September 25, 2013 3:01 PM To: Will Brocklebank Cc: smokeping-users Subject: Re: [smokeping-users] Problem finding the HTDocs file All configuration files are in /etc/smokeping/ The html base is basepage.html The /etc/smokeping/config.d/ contains the Target, Probes and Alert files. Regards On 25 September 2013 08:22, Will Brocklebank > wrote: Dear all - I am an enthusiastic noob so please forgive any inexperienced foolishness ;-) I have progressed through the installation procedure on Raspbian and all seems to be running smoothly. However, I have hit a problem with firing up the actual web interface. Specifically I do not understand these instructions: "There is a sample htdocs directory in your smokeping installation root. Copy its content to the place where your webserver expects its files. There are also two sample cgi scripts showing how to launch the smokeping cgi in your website. The only difference is the file extension. Adjust the paths in the script and you should be ready to go." I installed smokeping via apt-get on my Raspberry Pi and now I cannot find any htdocs directory either in the smokeping installation root (for clarity maybe someone could tell me exactly where this is so I can double-check but it isn't in /usr/etc/smokeping) and do not know how to move forward! Thanks for all your help! Will _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/40646f54/attachment-0001.htm From ITheodoridis at bankofgreece.gr Wed Sep 25 15:37:40 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Wed, 25 Sep 2013 16:37:40 +0300 Subject: [smokeping-users] 12 secondes to show a page on smokeping ? Message-ID: <5B6967F6EA05614489E63202C9F6C18004DC25AD@mkexc01.bankofgreece.gr> Maybe I am wrong but it could be that you are not using mod-fcgid on apache. php5 seems a little out of place there.. From: Artiflo [mailto:artiflo at gmail.com] Sent: Monday, September 23, 2013 3:09 PM To: Steve Wray Cc: smokeping-users Subject: Re: [smokeping-users] 12 secondes to show a page on smokeping ? Thanks for your quick answer :) I think I have already FCGI. How to know to be sure if I use CGI or FCGI for smokeping ? This is my smokeping.conf for Apache : ScriptAlias /smokeping/smokeping.cgi "/usr/local/smokeping/htdocs/smokeping.fcgi" Alias /smokeping "/usr/local/smokeping/htdocs/" Options Indexes Includes FollowSymLinks ExecCGI AllowOverride All AddHandler php5-fastcgi .php .php5 .php4 Action php5-fastcgi smokeping.fcgi Order allow,deny Allow from All Alias /smokeping/cache "/usr/local/smokeping/work/cache/" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all 2013/9/23 Steve Wray Try using fcgi, it loads a lot faster. ie where you have smokeping.cgi use smokeping.fcgi instead. You may need to install some additional packages to make it work. On 23 September 2013 18:56, Artiflo wrote: Hello, On smokeping 2.6.8, I have 2600 devices on 90 FPING probe. Each time I try to show a page or when I click on menu that took ~12 secondes !!! Why is so long ? (0.5 load on 4 XEON server) # time /usr/local/smokeping/bin/smokeping_cgi /usr/local/smokeping/etc/config real 0m12.763s user 0m11.519s sys 0m0.710s # cat /usr/local/smokeping/bin/smokeping_cgi #!/usr/bin/perl # -*-perl-*- use strict; use warnings; use FindBin; use lib qw(); # PERL5LIB use lib "$FindBin::Bin/../thirdparty/lib/perl5"; use lib "$FindBin::Bin/../lib"; # don't bother with zombies $SIG{CHLD} = 'IGNORE'; use CGI::Carp qw(fatalsToBrowser); use Smokeping; use CGI::Fast; my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config"; while (my $q = new CGI::Fast) { Smokeping::cgi($cfg,$q); } _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/b01c6a6f/attachment.htm From will at facetofacedigital.com Wed Sep 25 16:56:46 2013 From: will at facetofacedigital.com (Will Brocklebank) Date: Wed, 25 Sep 2013 15:56:46 +0100 Subject: [smokeping-users] Problem finding the HTDocs file In-Reply-To: <5B6967F6EA05614489E63202C9F6C18004DC25A9@mkexc01.bankofgreece.gr> References: <5B6967F6EA05614489E63202C9F6C18004DC25A2@mkexc01.bankofgreece.gr> <532C79FE-A9E9-4412-B078-CADF9D463F69@facetofacedigital.com> <5B6967F6EA05614489E63202C9F6C18004DC25A9@mkexc01.bankofgreece.gr> Message-ID: <465E5F3C-53A5-4636-9683-376C93F70AA9@facetofacedigital.com> Thanks again. I do get the cross-hairs but when I drag over a portion of the graph nothing happens. Is there a way I can check if it is using FastCGI? It's not a problem but it probably takes 5 seconds to load any page at the moment. Startup seems to be working fine across reboot but I'll check again this evening. From ccharalambides at blackberry.com Wed Sep 25 23:38:58 2013 From: ccharalambides at blackberry.com (Chris Charalambides) Date: Wed, 25 Sep 2013 21:38:58 +0000 Subject: [smokeping-users] TCPping Probe not alerting Message-ID: <5DA151B7C49B9348A51710890FC00A6152850C69@XMB101BRU.rim.net> Hi I have been using smokeping fine for the last few years using the fping probe and had no issues at all. Now I'm using the TCPping Probe I'm having trouble getting SmokePing to alert when hosts are un-reachable or high packet loss. Below is some of my config and replaced sensitive information with x's. Example from Alerts file. *** Alerts *** to = xxxxx at xxxxx.com, from = xxxxx at xxxxx.com +bigloss type = loss # in percent pattern = >0%,>0%,>0%,>0%,>0% comment = !!!!!!URGENT!!!!!! +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row +startloss type = loss # in percent pattern = ==S,>0%,>0%,>0% comment = loss at startup +rttdetect type = rtt # in milli seconds pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 comment = routing messed up again ? Example from Target file. + xxx-xx menu = xxx-xx title = xxxxxx.xxxxx ++ xx- xx-1 menu = xxx-xx-x probe = TCPPing alerts = bigloss title = TCP-Over-443-To-x.x.x.x host = x.x.x.x pings = 5 port = 443 : Please can someone help or guide me in what I am doing wrong, the aim is to get the alert to trigger when un-reachable or very high loss is seen. Kind Regards Chris --------------------------------------------------------------------- Research In Motion UK Limited Registered in England and Wales. Registered No. 04022422, with registered office at 200 Bath Road, Slough, Berkshire, SL1 3XE, United Kingdom This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/cd8f54e5/attachment.htm From gregs at sloop.net Thu Sep 26 00:19:25 2013 From: gregs at sloop.net (Gregory Sloop) Date: Wed, 25 Sep 2013 15:19:25 -0700 Subject: [smokeping-users] TCPping Probe not alerting In-Reply-To: <5DA151B7C49B9348A51710890FC00A6152850C69@XMB101BRU.rim.net> References: <5DA151B7C49B9348A51710890FC00A6152850C69@XMB101BRU.rim.net> Message-ID: <28685698.20130925151925@sloop.net> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130925/dcd6fa42/attachment.htm From ITheodoridis at bankofgreece.gr Thu Sep 26 12:42:38 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Thu, 26 Sep 2013 13:42:38 +0300 Subject: [smokeping-users] Problem finding the HTDocs file In-Reply-To: <465E5F3C-53A5-4636-9683-376C93F70AA9@facetofacedigital.com> References: <5B6967F6EA05614489E63202C9F6C18004DC25A2@mkexc01.bankofgreece.gr> <532C79FE-A9E9-4412-B078-CADF9D463F69@facetofacedigital.com> <5B6967F6EA05614489E63202C9F6C18004DC25A9@mkexc01.bankofgreece.gr> <465E5F3C-53A5-4636-9683-376C93F70AA9@facetofacedigital.com> Message-ID: <5B6967F6EA05614489E63202C9F6C18004DC2747@mkexc01.bankofgreece.gr> If the url you are using ends with .fcgi, then it's all about the apache configuration. With Rasbian you will probably have to dig into the Apache config yourself to check if the mod-fcgi is declared properly to be used (it calls certain libraries, I have done that on my own once but ever since it seems to be working fine with default install). I will check later on the pi and let you know if I can draw any conclusions from it. If you are getting the crosshair but no zoom something maybe wrong on the basepage.html file. Check in there to see if all references for the javascript point to the correct locations. This is what I got on my main installation (I don't use the pi for master installation, so this comes from an Open SuSE system), as you can see I got the cropper dir in the webroot directory (/srv/www/htdocs in OpenSuSE, probably in /var/www in Debian/Ubuntu like systems). For the apache part, in Open SuSE there is a modular structure with config files in them, most of them under /etc/apache2/conf.d . In that dir you can find the config file for mod-fcgid (mod_fcgid.conf) which contains all the necessary declarations for fcgi module. Also in sysconfig.d directory there is the loadmodule.conf file where you need to declare the module to be loaded for example: LoadModule fcgid_module /usr/lib/apache2/mod_fcgid.so In the main config file (default-server.conf) you must have a handler declaration. For the mod-fcgid the proposed handler from the apache documentation is something like this SetHandler fcgid-script Options +ExecCGI # Customize the next two directives for your requirements. Order allow,deny Allow from all This comes from this page: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html So without being an expert on the subject, if you have defined a handler for your module and made sure it is loaded, it should work. You could check with your apache logs to see if something is going wrong. I am afraid that's as far as my knowledge will take me until now, I am happy to learn something if someone else can provide more accurate information. The php handler is used when you call this method from php pages. I don't think it applies here (referring to Artiflo's mail) since we are not using php. I will check where the configs are in Rasbian (if possible) and get back to you. Ioannis -----Original Message----- From: Will Brocklebank [mailto:will at facetofacedigital.com] Sent: Wednesday, September 25, 2013 5:57 PM To: Theodoridis Ioannis Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Problem finding the HTDocs file Thanks again. I do get the cross-hairs but when I drag over a portion of the graph nothing happens. Is there a way I can check if it is using FastCGI? It's not a problem but it probably takes 5 seconds to load any page at the moment. Startup seems to be working fine across reboot but I'll check again this evening. -------------- next part -------------- ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== From ITheodoridis at bankofgreece.gr Thu Sep 26 13:11:36 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Thu, 26 Sep 2013 14:11:36 +0300 Subject: [smokeping-users] Problem finding the HTDocs file Message-ID: <5B6967F6EA05614489E63202C9F6C18004DC276B@mkexc01.bankofgreece.gr> I think this url will help a lot too for proper mod-fcgid declarations (look at the summary to start with) http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html -----Original Message----- From: Theodoridis Ioannis Sent: Thursday, September 26, 2013 1:43 PM To: will at facetofacedigital.com Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Problem finding the HTDocs file If the url you are using ends with .fcgi, then it's all about the apache configuration. With Rasbian you will probably have to dig into the Apache config yourself to check if the mod-fcgi is declared properly to be used (it calls certain libraries, I have done that on my own once but ever since it seems to be working fine with default install). I will check later on the pi and let you know if I can draw any conclusions from it. If you are getting the crosshair but no zoom something maybe wrong on the basepage.html file. Check in there to see if all references for the javascript point to the correct locations. This is what I got on my main installation (I don't use the pi for master installation, so this comes from an Open SuSE system), as you can see I got the cropper dir in the webroot directory (/srv/www/htdocs in OpenSuSE, probably in /var/www in Debian/Ubuntu like systems). For the apache part, in Open SuSE there is a modular structure with config files in them, most of them under /etc/apache2/conf.d . In that dir you can find the config file for mod-fcgid (mod_fcgid.conf) which contains all the necessary declarations for fcgi module. Also in sysconfig.d directory there is the loadmodule.conf file where you need to declare the module to be loaded for example: LoadModule fcgid_module /usr/lib/apache2/mod_fcgid.so In the main config file (default-server.conf) you must have a handler declaration. For the mod-fcgid the proposed handler from the apache documentation is something like this SetHandler fcgid-script Options +ExecCGI # Customize the next two directives for your requirements. Order allow,deny Allow from all This comes from this page: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html So without being an expert on the subject, if you have defined a handler for your module and made sure it is loaded, it should work. You could check with your apache logs to see if something is going wrong. I am afraid that's as far as my knowledge will take me until now, I am happy to learn something if someone else can provide more accurate information. The php handler is used when you call this method from php pages. I don't think it applies here (referring to Artiflo's mail) since we are not using php. I will check where the configs are in Rasbian (if possible) and get back to you. Ioannis -----Original Message----- From: Will Brocklebank [mailto:will at facetofacedigital.com] Sent: Wednesday, September 25, 2013 5:57 PM To: Theodoridis Ioannis Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Problem finding the HTDocs file Thanks again. I do get the cross-hairs but when I drag over a portion of the graph nothing happens. Is there a way I can check if it is using FastCGI? It's not a problem but it probably takes 5 seconds to load any page at the moment. Startup seems to be working fine across reboot but I'll check again this evening. ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== From ITheodoridis at bankofgreece.gr Thu Sep 26 14:40:29 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Thu, 26 Sep 2013 15:40:29 +0300 Subject: [smokeping-users] is it using fast cgi or not? Message-ID: <5B6967F6EA05614489E63202C9F6C18004DC27DC@mkexc01.bankofgreece.gr> I followed my own advice and added a SetHandler directive under the directory entry for cgi-bin in apache configuration. It seems I have managed to break how apache + smokeping figure out what to do with the smokeping.fcgi so I get #!/bin/sh /opt/smokeping/bin/smokeping_cgi /opt/smokeping/etc/config in the browser window i.e. the contents of the smokeping .fcgi file. In /opt/smokeping/bin/smokeping_cgi there is a call to CGI::Fast so maybe that is enough. I give up, I don't know enough about apache to figure this out. Maybe some of you can give a hand there so we can understand how this works. I am afraid that the documentation on the smokeping site ("how to install smokeping" does not provide info on how it works, just points to the mod_fcgid apache documentation). So to sum up, take those links I provided under consideration but don't do what I suggested, until we figure this out. Ioannis -----Original Message----- From: Theodoridis Ioannis Sent: Thursday, September 26, 2013 1:43 PM To: will at facetofacedigital.com Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Problem finding the HTDocs file If the url you are using ends with .fcgi, then it's all about the apache configuration. With Rasbian you will probably have to dig into the Apache config yourself to check if the mod-fcgi is declared properly to be used (it calls certain libraries, I have done that on my own once but ever since it seems to be working fine with default install). I will check later on the pi and let you know if I can draw any conclusions from it. If you are getting the crosshair but no zoom something maybe wrong on the basepage.html file. Check in there to see if all references for the javascript point to the correct locations. This is what I got on my main installation (I don't use the pi for master installation, so this comes from an Open SuSE system), as you can see I got the cropper dir in the webroot directory (/srv/www/htdocs in OpenSuSE, probably in /var/www in Debian/Ubuntu like systems). For the apache part, in Open SuSE there is a modular structure with config files in them, most of them under /etc/apache2/conf.d . In that dir you can find the config file for mod-fcgid (mod_fcgid.conf) which contains all the necessary declarations for fcgi module. Also in sysconfig.d directory there is the loadmodule.conf file where you need to declare the module to be loaded for example: LoadModule fcgid_module /usr/lib/apache2/mod_fcgid.so In the main config file (default-server.conf) you must have a handler declaration. For the mod-fcgid the proposed handler from the apache documentation is something like this SetHandler fcgid-script Options +ExecCGI # Customize the next two directives for your requirements. Order allow,deny Allow from all This comes from this page: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html So without being an expert on the subject, if you have defined a handler for your module and made sure it is loaded, it should work. You could check with your apache logs to see if something is going wrong. I am afraid that's as far as my knowledge will take me until now, I am happy to learn something if someone else can provide more accurate information. The php handler is used when you call this method from php pages. I don't think it applies here (referring to Artiflo's mail) since we are not using php. I will check where the configs are in Rasbian (if possible) and get back to you. Ioannis -----Original Message----- From: Will Brocklebank [mailto:will at facetofacedigital.com] Sent: Wednesday, September 25, 2013 5:57 PM To: Theodoridis Ioannis Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Problem finding the HTDocs file Thanks again. I do get the cross-hairs but when I drag over a portion of the graph nothing happens. Is there a way I can check if it is using FastCGI? It's not a problem but it probably takes 5 seconds to load any page at the moment. Startup seems to be working fine across reboot but I'll check again this evening. ============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ============================================================================================================== From tobi at oetiker.ch Sun Sep 29 15:49:55 2013 From: tobi at oetiker.ch (Tobias Oetiker) Date: Sun, 29 Sep 2013 15:49:55 +0200 (CEST) Subject: [smokeping-users] smokeping 3.x update Message-ID: Smokepingers, I have fewer cycles available for working on this than I'd like to, BUT there is progress. The code on https://github.com/oetiker/smokeping-3.x is now able to read smokeping config files and it can show smokeping configuration documentation on its built in webserver. It is nowhere near finished, but at least some working code :-) if you want to play with it, make sure you have at least perl 5.10 installed on your system. git clone https://github.com/oetiker/smokeping-3.x cd smokeping-3.x ./setup/build-thirdparty.sh /scratch/sp3-test/thirdparty ./configure --prefix=/scratch/sp3-test make install then get configuration in place (you can try your 2.x config file) cd /scratch/sp3-test/etc mv smokeping.cfg.dist smokeping.cfg now run it cd /scratch/sp3-test/bin ./smokeping.pl daemon and you can access the built in documentation browser: http://localhost:3000/doc there is much more to come ... cheers 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 will at facetofacedigital.com Mon Sep 30 09:44:32 2013 From: will at facetofacedigital.com (Will Brocklebank) Date: Mon, 30 Sep 2013 08:44:32 +0100 Subject: [smokeping-users] Permissions or something else? Message-ID: Hi all Over the weekend I wanted to build up my entire Smokeping installation again on a fresh SD install of Raspbian because the first time there was much trial and error and I didn't wholly understand the process. So this time I thought I'd do it methodically and keep track of my moves. But it's gone wrong! Now I keep getting: ERROR: opening '/var/lib/smokeping/mysite1/myhost2.rrd': No such file or directory /var/cache/smokeping/images/mysite1/myhost2_last_10800.png I know that some posts have put this down to a permissions error but I can't seem to solve it using the instructions that follow. Could someone give me baby-steps on how to check the permissions of the various directories, processes and files that need to be right? I realise I should use suexec (perhaps it would solve this issue??) but I can't find instructions that seem to work to set this up either... For clarity my steps so far, have been: 1. Format SD card of at least 8GB with SDFormatter 2. Copy to SD card the latest NOOBS software 3. Insert SD card into Pi and power on. Follow GUI to install Raspbian 4. Change main password 5. On Advanced Options page enable SSH 6. SSH to Pi 7. Run sudo apt-get update 8. Then sudo apt-get upgrade 9. sudo reboot 10. Then login again and become root sudo su 11. Install Apache2 and FastCGI by following instructions from here: http://raspberryserver.blogspot.co.uk/ 12. Begin installing SmokePing from http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html 13. - this will include sudo apt-get install rrdtool etc (follow the list) 14. Install CPAN by using this command: cpan App::cpanminus 15. You may need to run cpanm install CPAN and then cpanm reload CPAN to make sure you have the most up to date version 16. Install the PERL modules using this command: sudo cpanm from the SmokePing list 17. When you have installed all the PERL modules and have got to the installation section on the Smokeping page use apt-get install smokeping to actually put the package in place 18. move to the /etc/smokeping/config.d 19. Edit the Target file using this page of examples to help http://oss.oetiker.ch/smokeping/doc/smokeping_examples.en.html 20. [At this stage I was getting ERROR: /etc/smokeping/config.d/pathnames, line 1: File '/usr/sbin/sendmail' does not exist] so I had to run apt-get install sendmail 21. Install sudo apt-get install apache2-suexec-custom 22??.. how best to configure suexec????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130930/4257c9f5/attachment-0001.htm From paul.mansfield+smokeping at grapeshot.co.uk Mon Sep 30 11:17:59 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Mon, 30 Sep 2013 10:17:59 +0100 Subject: [smokeping-users] smokeping 3.x update In-Reply-To: References: Message-ID: good news. thanks for all your work on smoke, and of course thanks to everyone else who's contributed!