From dpacheco at unap.cl Fri Aug 2 14:23:29 2013 From: dpacheco at unap.cl (Dago Pacheco) Date: Fri, 2 Aug 2013 08:23:29 -0400 Subject: [smokeping-users] What does the grey colors means in smokeping graphs? In-Reply-To: References: <20130729193354.49e1965b@free.fr> Message-ID: <000901ce8f7b$1996b6a0$4cc423e0$@unap.cl> Dear Thomas, You can find a complete explanation here http://oss.oetiker.ch/smokeping/doc/reading.en.html for reading smokeping grpahs. I?m not quite sure if this is what you want, cause you also mention ?RRD instructions?, which I?m not aware of them. Bye De: smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch [mailto:smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch] En nombre de Ryan Becker Enviado el: lunes, 29 de julio de 2013 13:36 Para: SmokePing Users Asunto: Re: [smokeping-users] What does the grey colors means in smokeping graphs? I believe the gray zones are the deviation between the ping times for that round. As for generation instructions, I have no idea how SmokePing writes the RRD files for such things. On Mon, Jul 29, 2013 at 1:33 PM, Thomas Carri? > wrote: Hello, I have started using recently smokeping to monitor latency It was easy to install on Debian, I like the graphs very much, I am looking forward to be able to produce such graphs. Also I wonder what the grey areas means ? Is it the quantiles ? What instructions are given to to RRD to have these grey zones ? _______________________________________________ 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/20130802/a1ec4bdb/attachment.htm From jul.collas at gmail.com Fri Aug 2 16:53:00 2013 From: jul.collas at gmail.com (Julien Collas) Date: Fri, 2 Aug 2013 16:53:00 +0200 Subject: [smokeping-users] TCPPing binary check in cgi mode Message-ID: Hello, Today, I had a problem with tcpping binary path. It seems that TCPPing.pm doesn't allow relative path. I don't have the problem with FPing. The problem doesn't come from smokeping daemon but from cgi. What do you think if, as done in FPing.pm, the check of tcpping binary is disabled when in cgi mode ? $ diff TCPPing.pm TCPPing.pm_new 96c96 < --- > return undef if $ENV{SERVER_SOFTWARE}; # don't check for tcpping presence in cgi mode Julien -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130802/0031a4f2/attachment.htm From thocar at free.fr Sat Aug 3 00:07:40 2013 From: thocar at free.fr (Thomas =?UTF-8?B?Q2FycmnDqQ==?=) Date: Sat, 3 Aug 2013 00:07:40 +0200 Subject: [smokeping-users] What does the grey colors means in smokeping graphs? In-Reply-To: References: <20130729193354.49e1965b@free.fr> Message-ID: <20130803000740.0e7bc023@free.fr> Hello, I have found in the documentation the definition of the grey colors at page Here is the relevant doc extract: This means when there are 10 time values, value number 5 is selected and drawn. The other values are drawn as successively lighter shades of gray in the background (smoke) On Mon, 29 Jul 2013 13:35:37 -0400 Ryan Becker wrote: > I believe the gray zones are the deviation between the ping times for > that round. As for generation instructions, I have no idea how > SmokePing writes the RRD files for such things. > > > On Mon, Jul 29, 2013 at 1:33 PM, Thomas Carri? wrote: > > > Hello, > > > > I have started using recently smokeping to monitor latency > > > > It was easy to install on Debian, I like the graphs very > > much, I am looking forward to be able to produce such graphs. > > > > Also I wonder what the grey areas means ? > > > > Is it the quantiles ? What instructions are given to to RRD to have > > these grey zones ? > > > > < > > http://oss.oetiker.ch/smokeping-demo/?displaymode=n;start=2013-07-29%2016:24;end=now;target=rootns.F > > > > > > > _______________________________________________ > > smokeping-users mailing list > > smokeping-users at lists.oetiker.ch > > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > From dpacheco at unap.cl Wed Aug 7 17:51:29 2013 From: dpacheco at unap.cl (Dago Pacheco) Date: Wed, 7 Aug 2013 11:51:29 -0400 Subject: [smokeping-users] RRD parameter mismatch Message-ID: <007b01ce9385$fc41d7b0$f4c58710$@unap.cl> Hi Smokeping users. I'm getting a lot of WARNING apache log clamming this: smokeping_cgi: Warning: RRD parameter mismatch('Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:AVERAGE:5:1:1008, create string has RRA:AVERAGE:0.5:1:1008Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:AVERAGE:5:12:4320, create string has RRA:AVERAGE:0.5:12:4320Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:MIN:5:12:4320, create string has RRA:MIN:0.5:12:4320Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:MAX:5:12:4320, create string has RRA:MAX:0.5:12:4320Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:AVERAGE:5:144:720, create string has RRA:AVERAGE:0.5:144:720Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:MAX:5:144:720, create string has RRA:MAX:0.5:144:720Different RRA parameters: /opt/smokeping/data/servs/http/portal~netman-stgo.rrd has RRA:MIN:5:144:720, create string has RRA:MIN:0.5:144:720'). Continuing anyway. I understand that this is a mismatch between "5" and "0.5" RRD file and Create String parameter value, but I checked "Database" configuration section and AVERAGE is set to "0.5". My smokeping implementation consist of a master server and two slave ones. I know that somehow average value contained in rdd files has lost the "0." and I thing this might be because a 32bit to 64bit migration of rrd databases , which I did following this guide [1]. How can I check if this is the problem? And if it is . how can solve it? Thank. [1] http://blog.remibergsma.com/2012/04/30/rrdtool-moving-data-between-32bit-and -64bit-architectures/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130807/b678e330/attachment-0001.htm From valle at cimex.com.cu Tue Aug 13 21:03:38 2013 From: valle at cimex.com.cu (valle at cimex.com.cu) Date: Tue, 13 Aug 2013 14:03:38 -0500 Subject: [smokeping-users] no data recorded by smokeping Message-ID: <92E513164262C64492FFE840E5502539F03F33@sis10.cimex.com.cu> Hi everybody, I'm new using smokeping, I have modified the files to suit my organization and the web interface works fine, but no data is recorded after a while. I run this commands for troubleshooting: /etc/init.d/smokeping stop smokeping --debug And get this error: ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory Anyway, It still not record any data... Can you please help me find what is wrong..? Best regards, Valle __________________________________________ ?\_(?)_/? Jorge D. Valle Redes y Comunicaciones, Sucursal CIMEX, Sancti Spiritus 52873720 From paul.mansfield+smokeping at grapeshot.co.uk Wed Aug 14 11:22:35 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Wed, 14 Aug 2013 10:22:35 +0100 Subject: [smokeping-users] no data recorded by smokeping In-Reply-To: <92E513164262C64492FFE840E5502539F03F33@sis10.cimex.com.cu> References: <92E513164262C64492FFE840E5502539F03F33@sis10.cimex.com.cu> Message-ID: On 13 August 2013 20:03, wrote: > smokeping --debug > > And get this error: > ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory I have found that if you run the slaves in debug mode, when the master config changes and/or restarted, the slaves stop working. So once you have it working, I recommend not running the slaves in debug mode! From jaysen at jedinetworks.com Tue Aug 20 11:16:45 2013 From: jaysen at jedinetworks.com (Jaysen Johnson) Date: Tue, 20 Aug 2013 02:16:45 -0700 Subject: [smokeping-users] Help with multiple FPing probes? Message-ID: <521333FD.3090605@jedinetworks.com> Hello, I am new to SmokePing and need help with setting up multiple FPing probes. I just installed it and it was working fine with a few hosts but tonight I added about 100 more routers and now I notice the following error in my messages logs. FPing: WARNING: smokeping took 24 seconds to complete 1 round of polling. It should complete polling in 10 seconds. You may have unresponsive devices in your setup. I know I need to do something with the offset but I am confused. Can someone who has successfully setup multiple FPing probes help me out? I only need FPing and no other probes at this time. Here is my SmokePing URL: http://jedinetworks.net/smokeping/smokeping.cgi Thanks, Jaysen From jul.collas at gmail.com Tue Aug 20 11:20:52 2013 From: jul.collas at gmail.com (Julien Collas) Date: Tue, 20 Aug 2013 11:20:52 +0200 Subject: [smokeping-users] Help with multiple FPing probes? In-Reply-To: <521333FD.3090605@jedinetworks.com> References: <521333FD.3090605@jedinetworks.com> Message-ID: Can you give us your Probe configuration ? Julien 2013/8/20 Jaysen Johnson > Hello, > > I am new to SmokePing and need help with setting up multiple FPing > probes. I just installed it and it was working fine with a few hosts > but tonight I added about 100 more routers and now I notice the > following error in my messages logs. > > FPing: WARNING: smokeping took 24 seconds to complete 1 round of > polling. It should complete polling in 10 seconds. You may have > unresponsive devices in your setup. > > > I know I need to do something with the offset but I am confused. Can > someone who has successfully setup multiple FPing probes help me out? I > only need FPing and no other probes at this time. > > Here is my SmokePing URL: http://jedinetworks.net/smokeping/smokeping.cgi > > Thanks, > > Jaysen > > _______________________________________________ > 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/20130820/56d86cbc/attachment.htm From tobi at oetiker.ch Thu Aug 22 15:53:23 2013 From: tobi at oetiker.ch (Tobias Oetiker) Date: Thu, 22 Aug 2013 15:53:23 +0200 (CEST) Subject: [smokeping-users] SmokePing Version 3 Message-ID: SmokePing 3 ----------- Exciting news! My company, Oetiker+Partner AG (www.oetiker.ch), just got a PO from CatchPoint Systems Inc (www.catchpoint.com) for the development of SmokePing 3. The main new feature will be that SmokePing will get Extopus (www.extopus.org) as a front end. If you want to get a glimpse at what is in store, have a look at the extopus website, since there is a demo up, where extopus is acting as a front end to Torrus (www.torrus.org). Development will happen in public (github), as soon as there is code available, I will post about it here. cheers Tobi Oetiker -- 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 gstucky at surfbest.net Thu Aug 22 19:47:23 2013 From: gstucky at surfbest.net (Greg Stucky) Date: Thu, 22 Aug 2013 13:47:23 -0400 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 Message-ID: <52164EAB.2000200@surfbest.net> I am trying to setup Smokeping on an OpenSUSE 12.3 computer I just setup. I have installed and configured Smokeping as I have several times before but this time I an not getting the Graphs to appear. In config I have imgcache = /srv/www/htdocs/smokeping/cache which does exist. However when I use a browser to go to //localhost/cgi-bin/smokeping I get an error message stating that it does not exist. If I copy the location straight from the error page and past it into a browser the folder and its contents show up. If I paste it into Dolphin the same thing. I tried changing the imgcache back to the default imgcache =/var/lib/smokeping/cache. When I then open a browser Smokeping opens but there are no graphs. If I look in /var/lib/smokeping/cache the latest .png files are there. Is there something I am missing? Thanks for any suggestions From gstucky at surfbest.net Fri Aug 23 06:14:31 2013 From: gstucky at surfbest.net (Greg Stucky) Date: Fri, 23 Aug 2013 00:14:31 -0400 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 In-Reply-To: References: <52164EAB.2000200@surfbest.net> <1148663406.20130822134018@sloop.net> <52169F3B.3070509@surfbest.net> <491466335.20130822165949@sloop.net> <5216BB92.9040907@surfbest.net> Message-ID: <5216E1A7.8040100@surfbest.net> Sorry, I meant to submit to the users group. I think it is an Apache2 issue. I uninstalled Apache and reinstalled it and now I get a permissions error on all HTML files. Any suggestions would be appreciated. Greg Stucky On 8/22/2013 11:58 PM, Greg Sloop wrote: > > Well, that's what it is complaining about. > My guess is: there really is something wrong with that directory/perms. > > Make sure there isn't a problem... > > I suppose it could be some thing else in the config, so do you mind > giving the config. > > (And we should probably go back on-list, so others can help) > > On Aug 22, 2013 7:39 PM, "Greg Sloop <gregs at sloop.net > >" > wrote: > > See inline. > On Aug 22, 2013 6:32 PM, "Greg Stucky" > wrote: > > > > Results from --debug > > > > > > smokeping --config=/etc/smokeping/config --debug > > ### Compiling alert detector pattern 'someloss' > > ### >0%,*12*,>0%,*12*,>0% > > sub { > > my $d = shift; > > my $y = $d->{loss}; > > for(1){ > > my $imax2 = min(@$y - 3, 12); > > my $imax1 = min(@$y - 3, 12); > > my $minlength = 3; > > my $maxlength = 27; > > next if scalar @$y < $minlength ; > > my $i1; > > for($i1=0; $i1 < min($maxlength,$imax1); $i1++){ > > my $i2; > > for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){ > > next unless defined $y->[-3-$i1-$i2] > > and $y->[-3-$i1-$i2] =~ /^\d/ > > and $y->[-3-$i1-$i2] > 0 > > ; last; > > } > > return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2); > > next unless defined $y->[-2-$i1] > > and $y->[-2-$i1] =~ /^\d/ > > and $y->[-2-$i1] > 0 > > ; last; > > } > > return 0 if $i1 >= min($maxlength-$i1,$imax1); > > next unless defined $y->[-1] > > and $y->[-1] =~ /^\d/ > > and $y->[-1] > 0 > > ; return 1; > > } > > return 0; > > } > > > > > > > > Smokeping version 2.006008 successfully launched. > > Not entering multiprocess mode with '--debug'. Use '--debug-daemon' > > for that. > > FPing: probing 4 targets with step 300 s and offset 63 s. > > FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.1.122 > > 192.168.1.117 192.168.1.102 192.168.1.250 > > > > Calling RRDs::update(/var/lib/smokeping/data/MyLocs/server1.rrd > > --template > > > uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:pin > > > g9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping > > 19:ping20 > > > 1377220530:U:0:2.8340000000e-02:2.5960000000e-02:2.7160000000e-02:2.72 > > > 70000000e-02:2.7290000000e-02:2.7400000000e-02:2.7530000000e-02:2.7670 > > > 000000e-02:2.7870000000e-02:2.7880000000e-02:2.8110000000e-02:2.834000 > > > 0000e-02:2.8550000000e-02:2.8670000000e-02:2.8880000000e-02:2.91500000 > > > 00e-02:2.9170000000e-02:2.9510000000e-02:3.2220000000e-02:3.3470000000 > > e-02:3.8990000000e-02) > > > > > > Alert "someloss": no match for target > > /var/lib/smokeping/data/MyLocs/Server1 > > > > I checked and folder and .rrd file.cgi > /var/lib/smokeping/data/MyLocs/Server1 does exist. I also made a > copy of smokeping and called it smokeping.cgi in the cgi-bin > folder and i get the same error message > > > > ERROR: /etc/smokeping/config, line 10: Directory > '/srv/www/htdocs/smokeping/cache' does not exist > > Does the above dir exist, and does the user smokeping is running > as have rights? > > > > > Greg > > > > On 8/22/2013 7:59 PM, Gregory Sloop wrote: > >> > >> It should have an extension, I think. I don't think Apache will > run it > >> as a CGI without it...[Perhaps I'm wrong here, I'm really not sure. > >> Mine does have a .cgi extension.] > >> > >> As asked earlier: Did you run smokeping in debug mode, and what > does that show? > >> > >> --- > >> I don't believe I've seen any cases where running smokeping in > debug > >> mode, and watching the logs doesn't give some good hints where the > >> problems are. > >> > >> -Greg > >> > >> > >> GS> it is ../cgi-bin/smokeping If you look in the cgi-bin > directory > >> GS> smokeping has not file extension. Also if I copy the > .png files fro > >> GS> /var/lib/smokeping/cache to /srv/www/htdocs/smokeping/cache > they show up. > >> > >> GS> I looked in the error logs before I posted the first > question and the > >> GS> only error messages there relating to smokeping are several > does not > >> GS> exist errors. > >> > >> GS> Greg > >> > >> > >> GS> On 8/22/2013 4:40 PM, Gregory Sloop wrote: > >>>> > >>>> wouldn't it be > >>>> ../cgi-bin/smokeping.cgi > >>>> instead of > >>>> ../cgi-bin/smokeping/ > >>>> ?? > >>>> > >>>> If you fix that and it still doesn't work: > >>>> Does running smokeping in debug mode tell you anything > >>>> Does looking at the apache logs [especially the error logs] > tell you > >>>> anything? > >>>> > >>>> -Greg > >>>> > >>>> GS> I am trying to setup Smokeping on an OpenSUSE 12.3 > computer I just > >>>> GS> setup. I have installed and configured Smokeping as I > have several > >>>> GS> times before but this time I an not getting the Graphs to > appear. > >>>> > >>>> GS> In config I have imgcache = > /srv/www/htdocs/smokeping/cache which does > >>>> GS> exist. However when I use a browser to go to > >>>> GS> //localhost/cgi-bin/smokeping I get an error message > stating that it > >>>> GS> does not exist. If I copy the location straight from > the error page > >>>> GS> and past it into a browser the folder and its contents > show up. If I > >>>> GS> paste it into Dolphin the same thing. > >>>> > >>>> GS> I tried changing the imgcache back to the default imgcache > >>>> GS> =/var/lib/smokeping/cache. When I then open a browser > Smokeping opens > >>>> GS> but there are no graphs. If I look in > /var/lib/smokeping/cache the > >>>> GS> latest .png files are there. > >>>> > >>>> GS> Is there something I am missing? > >>>> > >>>> GS> Thanks for any suggestions > >>>> > >>>> GS> _______________________________________________ > >>>> GS> smokeping-users mailing list > >>>> GS> smokeping-users at lists.oetiker.ch > > >>>> GS> 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/20130823/f7daecab/attachment-0001.htm From ITheodoridis at bankofgreece.gr Fri Aug 23 11:15:24 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Fri, 23 Aug 2013 12:15:24 +0300 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 Message-ID: <5B6967F6EA05614489E63202C9F6C18004CCECAE@mkexc01.bankofgreece.gr> Good Morning all and special hello to Gregory (Sloop)! Greg (Stucky), I think you may be mixed up in your approach to solve the matter, as you are trying more than one thing at once. First of all keep in mind that when compiling smokeping for OpenSuSE 12.3 will put smokeping directory in /opt/ and your original config file will be in /opt/smokeping/etc/. So in this scenario if you run smokeping from the command line (not through the init script at boot) you will need to provide the path to the config. When you run in debug mode you still need to provide the option about where the config file is. There are detailed instructions in the documentation about installing Smokeping which you can follow to the letter. For OpenSuSE you have another option for installation which is through the Server Monitoring repository (you can find that one under http://download.opensuse.org/, you will need to add that repository using Yast, the url I have added is http://download.opensuse.org/repositories/server:/monitoring/openSUSE_12 .3/ ). If you add that repository you will have no problem installing all the packages you need through YAST. In that case the smokeping file paths are different, and you should try to locate exactly where your files are (I believe that the config file should be under /etc/ somewhere, locate the rest through YAST or use your favorite searching method). Depending on what installation you preferred the paths contained in the config file may be different. There are also relative and absolute paths in the config. Supposing everything works correctly about the paths to your necessary libraries (for example rrdtool), you still need to provide the correct path to the data and images folders. You should be very carefull there about which path is absolute (meaning you have to provide the whole path starting from root) and which one is relative the smokeping web dir or the Apache root dir. Your course of action should include the following steps in my opinion: -Try to verify locations in the config file first (keeping in mind what I told you about relative and absolute paths). - Run smokeping with the debug option but including the option which points to your config file, and an option to include a log in the smokeping dir (take a loot at instructions in the documentation, my typical command line looks like this: bin/smokeping --config=/opt/smokeping/etc/config --logfile=/opt/smokeping/smoke.log, which I use from the dir /opt/smokeping/ This will create/append a log file called smoke.log in the smokeping dir which you can take a look at with a command like this: tail --lines=500 smoke.log So first take a look at what smokeping tells you on the command line (with the debug option) and also on the log file. - Check the apache logs (I don't remember exactly where those are right now but it should not be so hard to find) and see what you info you can gather from there. I believe after doing these you will have enough information to pinpoint exactly at which point you have made a mistake. If you see rrd files getting created but no graphs most of the time it's the permissions on the apache directories for smokeping. If under the apache root, make sure that the apache user has full write access rights to those folders and files. Or you could be making a mistake in declaring where your image files should be for example this is my config section with the file paths (I removed my hostname): imgcache = /srv/www/htdocs/smokeping/cache imgurl = ../smokeping/cache datadir = /srv/www/htdocs/smokeping/data piddir = /opt/smokeping/var cgiurl = http:///cgi-bin/smokeping.fcgi smokemail = /opt/smokeping/etc/smokemail tmail = /opt/smokeping/etc/tmail . . . template = /opt/smokeping/etc/basepage.html If you are using the cool zoom feature (cropper) you should also modify the html template file (the one in the path declared in the config file) to properly adjust the location of the cropper directory (or adjust cropper's location to match the path in the template file. In this case I have compiled smokeping from sources. Here is how my apache root dir looks like: /srv/www/htdocs # ls -al total 2087960 drwxr-xr-x 8 wwwrun www 4096 Jun 28 22:11 . drwxr-xr-x 7 root root 4096 Nov 20 2012 .. drwxr-xr-x 3 root root 4096 May 22 2012 cropper -rw-r--r-- 1 root root 302 Mar 13 2006 favicon.ico drwxr-xr-x 2 root root 4096 Nov 20 2012 gif -rw-r--r-- 1 root root 44 Nov 20 2004 index.html -rw-r--r-- 1 root root 2356 Jun 23 2012 info2html.css drwxr-xr-x 6 root root 4096 Jun 27 23:57 phpMyAdmin -rw-r--r-- 1 root root 26 Mar 28 23:51 robots.txt drwxr-xr-x 4 wwwrun www 4096 Dec 4 2012 smokeping In this case you can see that I have placed cropper in the same starting place as smokeping so in basepage.html this is what I have declared: Notice the / sign before cropper stating that it's located in the apache root dir. This is how my smokeping web dir looks like: /srv/www/htdocs/smokeping # ls -al total 16 drwxr-xr-x 4 wwwrun www 4096 Dec 4 2012 . drwxr-xr-x 8 wwwrun www 4096 Jun 28 22:11 .. drwxr-xr-x 8 wwwrun www 4096 Dec 13 2012 cache drwxr-xr-x 7 wwwrun www 4096 Dec 4 2012 data I hope these help. If you come to a specific conclusion and still need help, don't hesitate to ask. Everyone this setup does work, however if you see something that doesn't fit as well as it should please comment so that the help given is 100% correct. Greetings to all, Have a nice weekend! ----------------------------------------------------- Ioannis Theodoridis Network & Systems Engineer Network & Telecommunications Support Informatics Bank of Greece ----------------------------------------------------- From: Greg Stucky [mailto:gstucky at surfbest.net] Sent: Friday, August 23, 2013 7:15 AM To: smokeping-users-request Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 Sorry, I meant to submit to the users group. I think it is an Apache2 issue. I uninstalled Apache and reinstalled it and now I get a permissions error on all HTML files. Any suggestions would be appreciated. Greg Stucky On 8/22/2013 11:58 PM, Greg Sloop wrote: Well, that's what it is complaining about. My guess is: there really is something wrong with that directory/perms. Make sure there isn't a problem... I suppose it could be some thing else in the config, so do you mind giving the config. (And we should probably go back on-list, so others can help) On Aug 22, 2013 7:39 PM, "Greg Sloop <gregs at sloop.net >" wrote: See inline. On Aug 22, 2013 6:32 PM, "Greg Stucky" wrote: > > Results from --debug > > > smokeping --config=/etc/smokeping/config --debug > ### Compiling alert detector pattern 'someloss' > ### >0%,*12*,>0%,*12*,>0% > sub { > my $d = shift; > my $y = $d->{loss}; > for(1){ > my $imax2 = min(@$y - 3, 12); > my $imax1 = min(@$y - 3, 12); > my $minlength = 3; > my $maxlength = 27; > next if scalar @$y < $minlength ; > my $i1; > for($i1=0; $i1 < min($maxlength,$imax1); $i1++){ > my $i2; > for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){ > next unless defined $y->[-3-$i1-$i2] > and $y->[-3-$i1-$i2] =~ /^\d/ > and $y->[-3-$i1-$i2] > 0 > ; last; > } > return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2); > next unless defined $y->[-2-$i1] > and $y->[-2-$i1] =~ /^\d/ > and $y->[-2-$i1] > 0 > ; last; > } > return 0 if $i1 >= min($maxlength-$i1,$imax1); > next unless defined $y->[-1] > and $y->[-1] =~ /^\d/ > and $y->[-1] > 0 > ; return 1; > } > return 0; > } > > > > Smokeping version 2.006008 successfully launched. > Not entering multiprocess mode with '--debug'. Use '--debug-daemon' > for that. > FPing: probing 4 targets with step 300 s and offset 63 s. > FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.1.122 > 192.168.1.117 192.168.1.102 192.168.1.250 > > Calling RRDs::update(/var/lib/smokeping/data/MyLocs/server1.rrd > --template > uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:pin > g9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping > 19:ping20 > 1377220530:U:0:2.8340000000e-02:2.5960000000e-02:2.7160000000e-02:2.72 > 70000000e-02:2.7290000000e-02:2.7400000000e-02:2.7530000000e-02:2.7670 > 000000e-02:2.7870000000e-02:2.7880000000e-02:2.8110000000e-02:2.834000 > 0000e-02:2.8550000000e-02:2.8670000000e-02:2.8880000000e-02:2.91500000 > 00e-02:2.9170000000e-02:2.9510000000e-02:3.2220000000e-02:3.3470000000 > e-02:3.8990000000e-02) > > > Alert "someloss": no match for target > /var/lib/smokeping/data/MyLocs/Server1 > > I checked and folder and .rrd file.cgi /var/lib/smokeping/data/MyLocs/Server1 does exist. I also made a copy of smokeping and called it smokeping.cgi in the cgi-bin folder and i get the same error message > > ERROR: /etc/smokeping/config, line 10: Directory '/srv/www/htdocs/smokeping/cache' does not exist Does the above dir exist, and does the user smokeping is running as have rights? > > Greg > > On 8/22/2013 7:59 PM, Gregory Sloop wrote: >> >> It should have an extension, I think. I don't think Apache will run it >> as a CGI without it...[Perhaps I'm wrong here, I'm really not sure. >> Mine does have a .cgi extension.] >> >> As asked earlier: Did you run smokeping in debug mode, and what does that show? >> >> --- >> I don't believe I've seen any cases where running smokeping in debug >> mode, and watching the logs doesn't give some good hints where the >> problems are. >> >> -Greg >> >> >> GS> it is ../cgi-bin/smokeping If you look in the cgi-bin directory >> GS> smokeping has not file extension. Also if I copy the .png files fro >> GS> /var/lib/smokeping/cache to /srv/www/htdocs/smokeping/cache they show up. >> >> GS> I looked in the error logs before I posted the first question and the >> GS> only error messages there relating to smokeping are several does not >> GS> exist errors. >> >> GS> Greg >> >> >> GS> On 8/22/2013 4:40 PM, Gregory Sloop wrote: >>>> >>>> wouldn't it be >>>> ../cgi-bin/smokeping.cgi >>>> instead of >>>> ../cgi-bin/smokeping/ >>>> ?? >>>> >>>> If you fix that and it still doesn't work: >>>> Does running smokeping in debug mode tell you anything >>>> Does looking at the apache logs [especially the error logs] tell you >>>> anything? >>>> >>>> -Greg >>>> >>>> GS> I am trying to setup Smokeping on an OpenSUSE 12.3 computer I just >>>> GS> setup. I have installed and configured Smokeping as I have several >>>> GS> times before but this time I an not getting the Graphs to appear. >>>> >>>> GS> In config I have imgcache = /srv/www/htdocs/smokeping/cache which does >>>> GS> exist. However when I use a browser to go to >>>> GS> //localhost/cgi-bin/smokeping I get an error message stating that it >>>> GS> does not exist. If I copy the location straight from the error page >>>> GS> and past it into a browser the folder and its contents show up. If I >>>> GS> paste it into Dolphin the same thing. >>>> >>>> GS> I tried changing the imgcache back to the default imgcache >>>> GS> =/var/lib/smokeping/cache. When I then open a browser Smokeping opens >>>> GS> but there are no graphs. If I look in /var/lib/smokeping/cache the >>>> GS> latest .png files are there. >>>> >>>> GS> Is there something I am missing? >>>> >>>> GS> Thanks for any suggestions >>>> >>>> GS> _______________________________________________ >>>> GS> smokeping-users mailing list >>>> GS> smokeping-users at lists.oetiker.ch >>>> GS> 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/20130823/0789f211/attachment-0001.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 paul.mansfield+smokeping at grapeshot.co.uk Fri Aug 23 13:21:45 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Fri, 23 Aug 2013 12:21:45 +0100 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 In-Reply-To: <5216E1A7.8040100@surfbest.net> References: <52164EAB.2000200@surfbest.net> <1148663406.20130822134018@sloop.net> <52169F3B.3070509@surfbest.net> <491466335.20130822165949@sloop.net> <5216BB92.9040907@surfbest.net> <5216E1A7.8040100@surfbest.net> Message-ID: is apparmor enabled and preventing apache being able to access the smokeping html and images? From gstucky at surfbest.net Fri Aug 23 14:54:30 2013 From: gstucky at surfbest.net (Greg Stucky) Date: Fri, 23 Aug 2013 08:54:30 -0400 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 In-Reply-To: References: <52164EAB.2000200@surfbest.net> <1148663406.20130822134018@sloop.net> <52169F3B.3070509@surfbest.net> <491466335.20130822165949@sloop.net> <5216BB92.9040907@surfbest.net> <5216E1A7.8040100@surfbest.net> Message-ID: <52175B86.4060409@surfbest.net> No, apparmor is not installed. On 8/23/2013 7:21 AM, Paul Mansfield wrote: > is apparmor enabled and preventing apache being able to access the > smokeping html and images? > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From gstucky at surfbest.net Fri Aug 23 15:29:56 2013 From: gstucky at surfbest.net (Greg Stucky) Date: Fri, 23 Aug 2013 09:29:56 -0400 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 In-Reply-To: <5B6967F6EA05614489E63202C9F6C18004CCECAE@mkexc01.bankofgreece.gr> References: <5B6967F6EA05614489E63202C9F6C18004CCECAE@mkexc01.bankofgreece.gr> Message-ID: <521763D4.5040804@surfbest.net> Thanks for the posts. I verified all of this before I posted the initial message. I think it is working now and it turned out to be an Apache permissions error. The user/owner were set wrong on the www directories and giving them explicit rights in advanced permissions did not work. I rest the permissions on www and applied them to all sub directories and it is now running. Thanks again to everyone who assisted. On 8/23/2013 5:15 AM, ITheodoridis at bankofgreece.gr wrote: > > Good Morning all and special hello to Gregory (Sloop)! > > Greg (Stucky), > > I think you may be mixed up in your approach to solve the matter, as > you are trying more than one thing at once. > > First of all keep in mind that when compiling smokeping for OpenSuSE > 12.3 will put smokeping directory in /opt/ and your original config > file will be in /opt/smokeping/etc/. So in this scenario if you run > smokeping from the command line (not through the init script at boot) > you will need to provide the path to the config. When you run in debug > mode you still need to provide the option about where the config file > is. There are detailed instructions in the documentation about > installing Smokeping which you can follow to the letter. > I verified all the locations for both /opt/ when i tried installing it from source and /etc/ when I installed it from the repository below > > For OpenSuSE you have another option for installation which is through > the Server Monitoring repository (you can find that one under > http://download.opensuse.org/, you will need to add that repository > using Yast, the url I have added is > http://download.opensuse.org/repositories/server:/monitoring/openSUSE_12.3/ > ). If you add that repository you will have no problem installing all > the packages you need through YAST. In that case the smokeping file > paths are different, and you should try to locate exactly where your > files are (I believe that the config file should be under /etc/ > somewhere, locate the rest through YAST or use your favorite searching > method). > > Depending on what installation you preferred the paths contained in > the config file may be different. There are also relative and absolute > paths in the config. Supposing everything works correctly about the > paths to your necessary libraries (for example rrdtool), you still > need to provide the correct path to the data and images folders. You > should be very carefull there about which path is absolute (meaning > you have to provide the whole path starting from root) and which one > is relative the smokeping web dir or the Apache root dir. > > Your course of action should include the following steps in my opinion: > > -Try to verify locations in the config file first (keeping in mind > what I told you about relative and absolute paths). > > - Run smokeping with the debug option but including the option which > points to your config file, and an option to include a log in the > smokeping dir (take a loot at instructions in the documentation, my > typical command line looks like this: > > bin/smokeping --config=/opt/smokeping/etc/config > --logfile=/opt/smokeping/smoke.log, which I use from the dir > /opt/smokeping/ > > This will create/append a log file called smoke.log in > the smokeping dir which you can take a look at with a command like this: > > tail --lines=500 smoke.log > > So first take a look at what smokeping tells you on > the command line (with the debug option) and also on the log file. > > - Check the apache logs (I don?t remember exactly where those are > right now but it should not be so hard to find) and see what you info > you can gather from there. > I will keep in mind the --/logfile in case I ever have to troubleshoot smokeping again. I did try the --debug and checked the standard and Apache error logs. > > I believe after doing these you will have enough information to > pinpoint exactly at which point you have made a mistake. > > If you see rrd files getting created but no graphs most of the time > it?s the permissions on the apache directories for smokeping. If under > the apache root, make sure that the apache user has full write access > rights to those folders and files. > > Or you could be making a mistake in declaring where your image files > should be for example this is my config section with the file paths (I > removed my hostname): > > imgcache = /srv/www/htdocs/smokeping/cache > > imgurl = ../smokeping/cache > > datadir = /srv/www/htdocs/smokeping/data > > piddir = /opt/smokeping/var > > cgiurl = http:///cgi-bin/smokeping.fcgi > > smokemail = /opt/smokeping/etc/smokemail > > tmail = /opt/smokeping/etc/tmail > > . > I used the repository this last time so the location of most of the files /etc/ instead of /opt/ other than being required to use https in cgiurl this matches what I have > > . > > . > > template = /opt/smokeping/etc/basepage.html > > If you are using the cool zoom feature (cropper) you should also > modify the html template file (the one in the path declared in the > config file) to properly adjust the location of the cropper directory > (or adjust cropper?s location to match the path in the template file. > > In this case I have compiled smokeping from sources. > Here is how my apache root dir looks like: > /srv/www/htdocs # ls -al > > total 2087960 > > drwxr-xr-x 8 wwwrun www 4096 Jun 28 22:11 . > > drwxr-xr-x 7 root root 4096 Nov 20 2012 .. > > drwxr-xr-x 3 root root 4096 May 22 2012 cropper > > -rw-r--r-- 1 root root 302 Mar 13 2006 favicon.ico > > drwxr-xr-x 2 root root 4096 Nov 20 2012 gif > > -rw-r--r-- 1 root root 44 Nov 20 2004 index.html > > -rw-r--r-- 1 root root 2356 Jun 23 2012 info2html.css > > drwxr-xr-x 6 root root 4096 Jun 27 23:57 phpMyAdmin > > -rw-r--r-- 1 root root 26 Mar 28 23:51 robots.txt > > drwxr-xr-x 4 wwwrun www 4096 Dec 4 2012 smokeping > > In this case you can see that I have placed cropper in the same > starting place as smokeping so in basepage.html this is what I have > declared: > > > > > > > > > > > Notice the / sign before cropper stating that it?s located in the > apache root dir. > > This is how my smokeping web dir looks like: > > /srv/www/htdocs/smokeping # ls -al > > total 16 > > drwxr-xr-x 4 wwwrun www 4096 Dec 4 2012 . > > drwxr-xr-x 8 wwwrun www 4096 Jun 28 22:11 .. > > drwxr-xr-x 8 wwwrun www 4096 Dec 13 2012 cache > > drwxr-xr-x 7 wwwrun www 4096 Dec 4 2012 data > > I hope these help. If you come to a specific conclusion and still need > help, don?t hesitate to ask. > > Everyone this setup does work, however if you see something that > doesn?t fit as well as it should please comment so that the help given > is 100% correct. > > Greetings to all, > > Have a nice weekend! > > ----------------------------------------------------- > > Ioannis Theodoridis > > Network & Systems Engineer > > Network & Telecommunications Support > > Informatics > > Bank of Greece > > ----------------------------------------------------- > > *From:*Greg Stucky [mailto:gstucky at surfbest.net] > *Sent:* Friday, August 23, 2013 7:15 AM > *To:* smokeping-users-request > *Subject:* Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 > > Sorry, I meant to submit to the users group. > > I think it is an Apache2 issue. I uninstalled Apache and reinstalled > it and now I get a permissions error on all HTML files. Any > suggestions would be appreciated. > > Greg Stucky > > On 8/22/2013 11:58 PM, Greg Sloop > wrote: > > Well, that's what it is complaining about. > My guess is: there really is something wrong with that > directory/perms. > > Make sure there isn't a problem... > > I suppose it could be some thing else in the config, so do you > mind giving the config. > > (And we should probably go back on-list, so others can help) > > On Aug 22, 2013 7:39 PM, "Greg Sloop <gregs at sloop.net > >" > wrote: > > See inline. > On Aug 22, 2013 6:32 PM, "Greg Stucky" > wrote: > > > > Results from --debug > > > > > > smokeping --config=/etc/smokeping/config --debug > > ### Compiling alert detector pattern 'someloss' > > ### >0%,*12*,>0%,*12*,>0% > > sub { > > my $d = shift; > > my $y = $d->{loss}; > > for(1){ > > my $imax2 = min(@$y - 3, 12); > > my $imax1 = min(@$y - 3, 12); > > my $minlength = 3; > > my $maxlength = 27; > > next if scalar @$y < $minlength ; > > my $i1; > > for($i1=0; $i1 < min($maxlength,$imax1); $i1++){ > > my $i2; > > for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){ > > next unless defined $y->[-3-$i1-$i2] > > and $y->[-3-$i1-$i2] =~ /^\d/ > > and $y->[-3-$i1-$i2] > 0 > > ; last; > > } > > return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2); > > next unless defined $y->[-2-$i1] > > and $y->[-2-$i1] =~ /^\d/ > > and $y->[-2-$i1] > 0 > > ; last; > > } > > return 0 if $i1 >= min($maxlength-$i1,$imax1); > > next unless defined $y->[-1] > > and $y->[-1] =~ /^\d/ > > and $y->[-1] > 0 > > ; return 1; > > } > > return 0; > > } > > > > > > > > Smokeping version 2.006008 successfully launched. > > Not entering multiprocess mode with '--debug'. Use '--debug-daemon' > > for that. > > FPing: probing 4 targets with step 300 s and offset 63 s. > > FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.1.122 > > 192.168.1.117 192.168.1.102 192.168.1.250 > > > > Calling RRDs::update(/var/lib/smokeping/data/MyLocs/server1.rrd > > --template > > > uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:pin > > > g9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping > > 19:ping20 > > > 1377220530:U:0:2.8340000000e-02:2.5960000000e-02:2.7160000000e-02:2.72 > > > 70000000e-02:2.7290000000e-02:2.7400000000e-02:2.7530000000e-02:2.7670 > > > 000000e-02:2.7870000000e-02:2.7880000000e-02:2.8110000000e-02:2.834000 > > > 0000e-02:2.8550000000e-02:2.8670000000e-02:2.8880000000e-02:2.91500000 > > > 00e-02:2.9170000000e-02:2.9510000000e-02:3.2220000000e-02:3.3470000000 > > e-02:3.8990000000e-02) > > > > > > Alert "someloss": no match for target > > /var/lib/smokeping/data/MyLocs/Server1 > > > > I checked and folder and .rrd file.cgi > /var/lib/smokeping/data/MyLocs/Server1 does exist. I also made a > copy of smokeping and called it smokeping.cgi in the cgi-bin > folder and i get the same error message > > > > ERROR: /etc/smokeping/config, line 10: Directory > '/srv/www/htdocs/smokeping/cache' does not exist > > Does the above dir exist, and does the user smokeping is running > as have rights? > > > > > Greg > > > > On 8/22/2013 7:59 PM, Gregory Sloop wrote: > >> > >> It should have an extension, I think. I don't think Apache will > run it > >> as a CGI without it...[Perhaps I'm wrong here, I'm really not sure. > >> Mine does have a .cgi extension.] > >> > >> As asked earlier: Did you run smokeping in debug mode, and what > does that show? > >> > >> --- > >> I don't believe I've seen any cases where running smokeping in > debug > >> mode, and watching the logs doesn't give some good hints where the > >> problems are. > >> > >> -Greg > >> > >> > >> GS> it is ../cgi-bin/smokeping If you look in the cgi-bin > directory > >> GS> smokeping has not file extension. Also if I copy the > .png files fro > >> GS> /var/lib/smokeping/cache to /srv/www/htdocs/smokeping/cache > they show up. > >> > >> GS> I looked in the error logs before I posted the first > question and the > >> GS> only error messages there relating to smokeping are several > does not > >> GS> exist errors. > >> > >> GS> Greg > >> > >> > >> GS> On 8/22/2013 4:40 PM, Gregory Sloop wrote: > >>>> > >>>> wouldn't it be > >>>> ../cgi-bin/smokeping.cgi > >>>> instead of > >>>> ../cgi-bin/smokeping/ > >>>> ?? > >>>> > >>>> If you fix that and it still doesn't work: > >>>> Does running smokeping in debug mode tell you anything > >>>> Does looking at the apache logs [especially the error logs] > tell you > >>>> anything? > >>>> > >>>> -Greg > >>>> > >>>> GS> I am trying to setup Smokeping on an OpenSUSE 12.3 > computer I just > >>>> GS> setup. I have installed and configured Smokeping as I > have several > >>>> GS> times before but this time I an not getting the Graphs to > appear. > >>>> > >>>> GS> In config I have imgcache = > /srv/www/htdocs/smokeping/cache which does > >>>> GS> exist. However when I use a browser to go to > >>>> GS> //localhost/cgi-bin/smokeping I get an error message > stating that it > >>>> GS> does not exist. If I copy the location straight from > the error page > >>>> GS> and past it into a browser the folder and its contents > show up. If I > >>>> GS> paste it into Dolphin the same thing. > >>>> > >>>> GS> I tried changing the imgcache back to the default imgcache > >>>> GS> =/var/lib/smokeping/cache. When I then open a browser > Smokeping opens > >>>> GS> but there are no graphs. If I look in > /var/lib/smokeping/cache the > >>>> GS> latest .png files are there. > >>>> > >>>> GS> Is there something I am missing? > >>>> > >>>> GS> Thanks for any suggestions > >>>> > >>>> GS> _______________________________________________ > >>>> GS> smokeping-users mailing list > >>>> GS> smokeping-users at lists.oetiker.ch > > >>>> GS> 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/20130823/c6b1c749/attachment-0001.htm From ITheodoridis at bankofgreece.gr Fri Aug 23 16:26:16 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Fri, 23 Aug 2013 17:26:16 +0300 Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 Message-ID: <5B6967F6EA05614489E63202C9F6C18004CCED0D@mkexc01.bankofgreece.gr> Glad you got it working, it?s the ownership or write persmissions most of the time (that?s why I included the directory listings for you but also the suggestion that most times it?s the permissions. You see I had also the same problem in the past and someone in the list suggested to take a look at the permissions, just pushing it forward..). From: Greg Stucky [mailto:gstucky at surfbest.net] Sent: Friday, August 23, 2013 4:30 PM To: smokeping-users-request Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 Thanks for the posts. I verified all of this before I posted the initial message. I think it is working now and it turned out to be an Apache permissions error. The user/owner were set wrong on the www directories and giving them explicit rights in advanced permissions did not work. I rest the permissions on www and applied them to all sub directories and it is now running. Thanks again to everyone who assisted. On 8/23/2013 5:15 AM, ITheodoridis at bankofgreece.gr wrote: If you see rrd files getting created but no graphs most of the time it?s the permissions on the apache directories for smokeping. If under the apache root, make sure that the apache user has full write access rights to those folders and files. From: Greg Stucky [mailto:gstucky at surfbest.net] Sent: Friday, August 23, 2013 7:15 AM To: smokeping-users-request Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3 Sorry, I meant to submit to the users group. I think it is an Apache2 issue. I uninstalled Apache and reinstalled it and now I get a permissions error on all HTML files. Any suggestions would be appreciated. Greg Stucky On 8/22/2013 11:58 PM, Greg Sloop wrote: Well, that's what it is complaining about. My guess is: there really is something wrong with that directory/perms. Make sure there isn't a problem... I suppose it could be some thing else in the config, so do you mind giving the config. (And we should probably go back on-list, so others can help) On Aug 22, 2013 7:39 PM, "Greg Sloop <gregs at sloop.net >" wrote: See inline. On Aug 22, 2013 6:32 PM, "Greg Stucky" wrote: > > Results from --debug > > > smokeping --config=/etc/smokeping/config --debug > ### Compiling alert detector pattern 'someloss' > ### >0%,*12*,>0%,*12*,>0% > sub { > my $d = shift; > my $y = $d->{loss}; > for(1){ > my $imax2 = min(@$y - 3, 12); > my $imax1 = min(@$y - 3, 12); > my $minlength = 3; > my $maxlength = 27; > next if scalar @$y < $minlength ; > my $i1; > for($i1=0; $i1 < min($maxlength,$imax1); $i1++){ > my $i2; > for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){ > next unless defined $y->[-3-$i1-$i2] > and $y->[-3-$i1-$i2] =~ /^\d/ > and $y->[-3-$i1-$i2] > 0 > ; last; > } > return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2); > next unless defined $y->[-2-$i1] > and $y->[-2-$i1] =~ /^\d/ > and $y->[-2-$i1] > 0 > ; last; > } > return 0 if $i1 >= min($maxlength-$i1,$imax1); > next unless defined $y->[-1] > and $y->[-1] =~ /^\d/ > and $y->[-1] > 0 > ; return 1; > } > return 0; > } > > > > Smokeping version 2.006008 successfully launched. > Not entering multiprocess mode with '--debug'. Use '--debug-daemon' > for that. > FPing: probing 4 targets with step 300 s and offset 63 s. > FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.1.122 > 192.168.1.117 192.168.1.102 192.168.1.250 > > Calling RRDs::update(/var/lib/smokeping/data/MyLocs/server1.rrd > --template > uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:pin > g9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping > 19:ping20 > 1377220530:U:0:2.8340000000e-02:2.5960000000e-02:2.7160000000e-02:2.72 > 70000000e-02:2.7290000000e-02:2.7400000000e-02:2.7530000000e-02:2.7670 > 000000e-02:2.7870000000e-02:2.7880000000e-02:2.8110000000e-02:2.834000 > 0000e-02:2.8550000000e-02:2.8670000000e-02:2.8880000000e-02:2.91500000 > 00e-02:2.9170000000e-02:2.9510000000e-02:3.2220000000e-02:3.3470000000 > e-02:3.8990000000e-02) > > > Alert "someloss": no match for target > /var/lib/smokeping/data/MyLocs/Server1 > > I checked and folder and .rrd file.cgi /var/lib/smokeping/data/MyLocs/Server1 does exist. I also made a copy of smokeping and called it smokeping.cgi in the cgi-bin folder and i get the same error message > > ERROR: /etc/smokeping/config, line 10: Directory '/srv/www/htdocs/smokeping/cache' does not exist Does the above dir exist, and does the user smokeping is running as have rights? > > Greg > > On 8/22/2013 7:59 PM, Gregory Sloop wrote: >> >> It should have an extension, I think. I don't think Apache will run it >> as a CGI without it...[Perhaps I'm wrong here, I'm really not sure. >> Mine does have a .cgi extension.] >> >> As asked earlier: Did you run smokeping in debug mode, and what does that show? >> >> --- >> I don't believe I've seen any cases where running smokeping in debug >> mode, and watching the logs doesn't give some good hints where the >> problems are. >> >> -Greg >> >> >> GS> it is ../cgi-bin/smokeping If you look in the cgi-bin directory >> GS> smokeping has not file extension. Also if I copy the .png files fro >> GS> /var/lib/smokeping/cache to /srv/www/htdocs/smokeping/cache they show up. >> >> GS> I looked in the error logs before I posted the first question and the >> GS> only error messages there relating to smokeping are several does not >> GS> exist errors. >> >> GS> Greg >> >> >> GS> On 8/22/2013 4:40 PM, Gregory Sloop wrote: >>>> >>>> wouldn't it be >>>> ../cgi-bin/smokeping.cgi >>>> instead of >>>> ../cgi-bin/smokeping/ >>>> ?? >>>> >>>> If you fix that and it still doesn't work: >>>> Does running smokeping in debug mode tell you anything >>>> Does looking at the apache logs [especially the error logs] tell you >>>> anything? >>>> >>>> -Greg >>>> >>>> GS> I am trying to setup Smokeping on an OpenSUSE 12.3 computer I just >>>> GS> setup. I have installed and configured Smokeping as I have several >>>> GS> times before but this time I an not getting the Graphs to appear. >>>> >>>> GS> In config I have imgcache = /srv/www/htdocs/smokeping/cache which does >>>> GS> exist. However when I use a browser to go to >>>> GS> //localhost/cgi-bin/smokeping I get an error message stating that it >>>> GS> does not exist. If I copy the location straight from the error page >>>> GS> and past it into a browser the folder and its contents show up. If I >>>> GS> paste it into Dolphin the same thing. >>>> >>>> GS> I tried changing the imgcache back to the default imgcache >>>> GS> =/var/lib/smokeping/cache. When I then open a browser Smokeping opens >>>> GS> but there are no graphs. If I look in /var/lib/smokeping/cache the >>>> GS> latest .png files are there. >>>> >>>> GS> Is there something I am missing? >>>> >>>> GS> Thanks for any suggestions >>>> >>>> GS> _______________________________________________ >>>> GS> smokeping-users mailing list >>>> GS> smokeping-users at lists.oetiker.ch >>>> GS> 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/20130823/e51fb4c5/attachment-0001.htm From ITheodoridis at bankofgreece.gr Mon Aug 26 16:37:02 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Mon, 26 Aug 2013 17:37:02 +0300 Subject: [smokeping-users] RedHat install newbie issues. Message-ID: <5B6967F6EA05614489E63202C9F6C18004CCEE48@mkexc01.bankofgreece.gr> About installing LWP I would configure cpan and issue an install LWP command from in there. I think it's rather simple to find any package you are missing through that. Of course the way suggested underneath can work too. You can issue the cpan command from a root session (or su) and go from there. The configuration of cpan (if you have never done it before takes 2 - 3 necessary steps. First it will ask you if you want it to try and configure most things automatically, answer yes to that, then it will ask if you want it to search automatically for mirrors, answer no to that and instead choose one of the suggested mirrors manually. The rest should be a breeze. Ioannis. From: Indian Maiden [mailto:theindianmaiden at gmail.com] Sent: Wednesday, July 03, 2013 7:22 PM To: smokeping-users at lists.oetiker.ch Subject: [smokeping-users] RedHat install newbie issues. I have had to manually compile rrdtood but do not know how to resolve this error: 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 Hopefully it is easy! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130826/2fa4153f/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 ITheodoridis at bankofgreece.gr Mon Aug 26 17:25:59 2013 From: ITheodoridis at bankofgreece.gr (ITheodoridis at bankofgreece.gr) Date: Mon, 26 Aug 2013 18:25:59 +0300 Subject: [smokeping-users] Rasp-Pi smokeping slaves Message-ID: <5B6967F6EA05614489E63202C9F6C18004CCEE4F@mkexc01.bankofgreece.gr> Hello all! hi Greg nice to see how far you got with this! Josh, we did discuss this quite a bit on email with Greg (Sloop) after my original email. I believe his needs are excessive on that little piece of hardware and really squeeze the juice from it ;) . If it worked for Greg's setups, I am sure any setup you have in mind will not be a big deal for the pi. Make sure you get a fast SD card just in case. I don't know how many targets you got in mind. I used a box to hit a few websites and a few servers and routers and left it there for a week or two. It didn't break a sweat. For me it was ideal because of the tiny size, no sound or thermal output and so I can use this for example to monitor higher administration network performance right next to their workstations without them even noticing the device (fast and easy deployment too). Or send it to a remote location and have a colleague just plug it in (again super fast & easy deployment). So the basic idea here for me is a very good way to respond fast in network performance troubleshooting from the users, wherever they may be. Unfortunately, after initial acceptance, my organization has pretty much ignored me ever since on this.. Still trying to rouse the interest again, summer has that effect on people here in Greece. I am really glad that this idea is helping people. Greg is ideal to give advice on this but I will also help where I can if needed.. Let us know how it went for you too. Ioannis. ----------------------------------------------------- Ioannis Theodoridis Network & Systems Engineer Network & Telecommunications Support Informatics Bank of Greece ----------------------------------------------------- -----Original Message----- From: Gregory Sloop [mailto:gregs at sloop.net] Sent: Wednesday, May 01, 2013 2:44 AM To: Joshua Zitting Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Rasp-Pi smokeping slaves >> >> Perhaps slightly off-topic, but I thought it might be interesting to >> others and a starter for ideas for others... >> >> --- >> Building on the concept of using a Raspberry Pi as a smokeping slave >> [Thanks to Ioannis Theodoridis] for the push!] I've completed one. JZ> This is an AWESOME idea and I would love a copy of the code. JZ> We just bought 2 Pis for this purpose. JZ> If we decide to run one as a master do they still handle the load and the config ok? JZ> Thanks a ton! JZ> Josh I tested a few different configs: [These were all the the "B" version Pi with 512M RAM.] --- 1) Smokeping/MRTG/Nagios - as a stand-alone master. [With Smokeping hitting say - 30-40 devices/60 secs with fping, MRTG polling a hundred SNMP devices/ports/60secs and Nagios handling essentially the same hosts as Smokeping - mostly for notification purposes. [I actually had nagios watching the SP RRD files and not doing it's own checks.] In this case, the Pi was pretty buried. If you OverClocked it to 900 Mhz [IIRC] it would just barely stay below a 1.0 load average - at least some of the time. But it was very touch and go - I never had a problem, but when the 15 min load avg is really close to 1 and sometimes over, then it's likely you're going to have problems at some point. Since this is a critical warning/monitoring system, I'm not so hip on running them on the ragged edge. :) --- 2) Running it as just a smokeping and MRTG master - same number of targets etc. This works great and load is much less. I'm not sure why Nagios is such a pig, but it is... --- 3) Running smokeping as a slave over an SSH tunnel back to the mothership. And running MRTG as a "master" [not that there's any other way to run MRTG] on the Pi, storing all the MRTG data locally on the SD card, and generating all the graphs locally etc. Again, this is absolutely no problem with any semi-reasonable number of targets. [Say less than 100 smokeping and 100 MRTG targets.] And with smokeping "phoning" home to give the data to a master, I can run nagios there and generate all the alerts from a central location. Load averages, even when cranking MRTG graphs [which only occur when you're viewing pages with routers2.cgi] is really no problem at all. Load is nearly always very low, or well below 1. So, I tossed my configs and have it setup as an image, with option 3. I have a few tweaks I need to make to that image, but other than that it's ready for anyone to use. It would be quite trivial to take that image and make smokeping a master on if that's what you want - as everything it needs is already installed etc. I'm not sure exactly how/where to place the image so more than a single person or two could pull it - it's about 2G. Before running it, you'll want to write it on at least a 4G card [if you're going to store much on the SD card, say running MRTG with big RRD's, like I do] and you'll want to resize the partition. [Easy with raspi-config.] I run in on the RPi-Debian distro. --- Finally, I've tried to secure it pretty substantially - blocking all inbound ports except http/81 [can't use 80, since smokeping uses it to talk to the master] https/443 and ssh/22. I've setup apache to do auth for connects to MRTG too. So, with the image - it's literally about 15 minutes to setup a full, secure SSH tunnel smokeping slave from start-to-finish. MRTG setup with say a router or two, and a switch is another few minutes - depending on how much massaging you need to do the MRTG config files. [I have some great sed scripts to hack those up quick in most of the cases I have to use it in...though those aren't part of the image.] Suggestions, questions, thoughts? I'm glad to answer. -------------- 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 paul.mansfield+smokeping at grapeshot.co.uk Tue Aug 27 11:58:55 2013 From: paul.mansfield+smokeping at grapeshot.co.uk (Paul Mansfield) Date: Tue, 27 Aug 2013 10:58:55 +0100 Subject: [smokeping-users] RedHat install newbie issues. In-Reply-To: <5B6967F6EA05614489E63202C9F6C18004CCEE48@mkexc01.bankofgreece.gr> References: <5B6967F6EA05614489E63202C9F6C18004CCEE48@mkexc01.bankofgreece.gr> Message-ID: cpan has a tendency to fill up a box with all sorts of things you almost certainly don't want in production! I would strongly advise using cpanspec and building an RPM of the "missing" perl modules on a box specifically intended for building things.. or a temporary VM. I gave up on running smokeping master on Centos5 as we've been actively phasing it out. Meanwhile, in case any Centos5 or 6 users would fine them useful, I've uploaded the "missing" package for perl-Config-Grammar which both master and slave need (you can ignore some dependencies on the slaves). http://zaurus.org.uk/download/pkgs-el5/ http://zaurus.org.uk/download/pkgs-el6/