<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Good Morning all and special hello to Gregory (Sloop)!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Greg (Stucky),<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think you may be mixed up in your approach to solve the matter, as you are trying more than one thing at once.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>For OpenSuSE you have another option for installation which is through the Server Monitoring repository (you can find that one under <a href="http://download.opensuse.org/">http://download.opensuse.org/</a>, you will need to add that repository using Yast, the url I have added is <a href="http://download.opensuse.org/repositories/server:/monitoring/openSUSE_12.3/">http://download.opensuse.org/repositories/server:/monitoring/openSUSE_12.3/</a> ). 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).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Your course of action should include the following steps in my opinion:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Try to verify locations in the config file first (keeping in mind what I told you about relative and absolute paths).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>- 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: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bin/smokeping --config=/opt/smokeping/etc/config --logfile=/opt/smokeping/smoke.log, which I use from the dir &nbsp;/opt/smokeping/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tail --lines=500 smoke.log<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; So first take a look at what smokeping tells you on the command line (with the debug option) and also on the log file.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>- Check the apache logs (I don&#8217;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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I believe after doing these you will have enough information to pinpoint exactly at which point you have made a mistake.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you see rrd files getting created but no graphs most of the time it&#8217;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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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):<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>imgcache = /srv/www/htdocs/smokeping/cache<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>imgurl&nbsp;&nbsp; = ../smokeping/cache<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>datadir&nbsp; = /srv/www/htdocs/smokeping/data<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>piddir&nbsp; = /opt/smokeping/var<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>cgiurl&nbsp;&nbsp; = http://&lt;hostname&gt;/cgi-bin/smokeping.fcgi<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>smokemail = /opt/smokeping/etc/smokemail<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>tmail = /opt/smokeping/etc/tmail<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>template = /opt/smokeping/etc/basepage.html</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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&#8217;s location to match the path in the template file.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In this case I have compiled smokeping from sources. <br>Here is how my apache root dir looks like:<br></span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#FF4040'>/srv/www/htdocs # </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>ls -al<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>total 2087960<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x&nbsp; 8 wwwrun www&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jun 28 22:11 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x&nbsp; 7 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Nov 20&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>..<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x&nbsp; 3 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 May 22&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>cropper<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>-rw-r--r--&nbsp; 1 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 302 Mar 13&nbsp; 2006 favicon.ico<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x&nbsp; 2 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Nov 20&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>gif<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>-rw-r--r--&nbsp; 1 root&nbsp; &nbsp;root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44 Nov 20&nbsp; 2004 index.html<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>-rw-r--r--&nbsp; 1 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2356 Jun 23&nbsp; 2012 info2html.css<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x&nbsp; 6 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jun 27 23:57 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>phpMyAdmin<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>-rw-r--r--&nbsp; 1 root&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 26 Mar 28 23:51 robots.txt<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x&nbsp; 4 wwwrun www&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Dec&nbsp; 4&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>smokeping<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br>&lt;script src=&quot;/cropper/lib/prototype.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&lt;script src=&quot;/cropper/lib/scriptaculous.js?load=builder,effects,dragdrop&quot; type=&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>text/javascript&quot;&gt;&lt;/script&gt;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&lt;script src=&quot;/cropper/cropper.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&lt;script src=&quot;/cropper/smokeping-zoom.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Notice the / sign before cropper stating that it&#8217;s located in the apache root dir.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This is how my smokeping web dir looks like:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#FF4040'>/srv/www/htdocs/smokeping # </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>ls -al<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>total 16<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x 4 wwwrun www 4096 Dec&nbsp; 4&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x 8 wwwrun www 4096 Jun 28 22:11 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>..<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x 8 wwwrun www 4096 Dec 13&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>cache<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:windowtext'>drwxr-xr-x 7 wwwrun www 4096 Dec&nbsp; 4&nbsp; 2012 </span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#6060FF'>data<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I hope these help. If you come to a specific conclusion and still need help, don&#8217;t hesitate to ask.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Everyone this setup does work, however if you see something that doesn&#8217;t fit as well as it should please comment so that the help given is 100% correct.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Greetings to all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Have a nice weekend!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>-----------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Ioannis Theodoridis<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Network &amp; Systems Engineer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Network &amp; Telecommunications Support<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Informatics<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Bank of Greece<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>-----------------------------------------------------</span><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Greg Stucky [mailto:gstucky@surfbest.net] <br><b>Sent:</b> Friday, August 23, 2013 7:15 AM<br><b>To:</b> smokeping-users-request<br><b>Subject:</b> Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Sorry,&nbsp; I meant to submit to the users group.<br><br>I think it is an Apache2 issue.&nbsp; I uninstalled Apache and reinstalled it and now I get a permissions error on all HTML files.&nbsp; Any suggestions would be appreciated.<br><br>Greg Stucky<o:p></o:p></p><div><p class=MsoNormal>On 8/22/2013 11:58 PM, Greg Sloop <a href="mailto:gregs@sloop.net">&lt;gregs@sloop.net&gt;</a> wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p>Well, that's what it is complaining about.<br>My guess is: there really is something wrong with that directory/perms.<o:p></o:p></p><p>Make sure there isn't a problem...<o:p></o:p></p><p>I suppose it could be some thing else in the config, so do you mind giving the config.<o:p></o:p></p><p>(And we should probably go back on-list, so others can help)<o:p></o:p></p><div><p class=MsoNormal>On Aug 22, 2013 7:39 PM, &quot;Greg Sloop &amp;<a href="mailto:lt%3Bgregs@sloop.net">lt;gregs@sloop.net</a>&amp;gt;&quot; &lt;<a href="mailto:gregs@sloop.net">gregs@sloop.net</a>&gt; wrote:<o:p></o:p></p><p>See inline.<br>On Aug 22, 2013 6:32 PM, &quot;Greg Stucky&quot; &lt;<a href="mailto:gstucky@surfbest.net" target="_blank">gstucky@surfbest.net</a>&gt; wrote:<br>&gt;<br>&gt; Results from --debug<br>&gt;<br>&gt;<br>&gt; smokeping --config=/etc/smokeping/config&nbsp; --debug<br>&gt; ### Compiling alert detector pattern 'someloss'<br>&gt; ### &gt;0%,*12*,&gt;0%,*12*,&gt;0%<br>&gt; sub { <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; my $d = shift;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; my $y = $d-&gt;{loss};<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; for(1){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $imax2 = min(@$y - 3, 12);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $imax1 = min(@$y - 3, 12);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $minlength = 3;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $maxlength = 27;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next if scalar @$y &lt; $minlength ;<br>&gt;&nbsp;&nbsp;&nb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; Smokeping version 2.006008 successfully launched.<br>&gt; Not entering multiprocess mode with '--debug'. Use '--debug-daemon'<br>&gt; for that.<br>&gt; FPing: probing 4 targets with step 300 s and offset 63 s.<br>&gt; FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.1.122<br>&gt; 192.168.1.117 192.168.1.102 192.168.1.250<br>&gt;<br>&gt; Calling RRDs::update(/var/lib/smokeping/data/MyLocs/server1.rrd<br>&gt; --template<br>&gt; uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:pin<br>&gt; g9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping<br>&gt; 19:ping20<br>&gt; 1377220530:U:0:2.8340000000e-02:2.5960000000e-02:2.7160000000e-02:2.72<br>&gt; 70000000e-02:2.7290000000e-02:2.7400000000e-02:2.7530000000e-02:2.7670<br>&gt; 000000e-02:2.7870000000e-02:2.7880000000e-02:2.8110000000e-02:2.834000<br>&gt; 0000e-02:2.8550000000e-02:2.8670000000e-02:2.8880000000e-02:2.91500000<br>&gt; 00e-02:2.9170000000e-02:2.9510000000e-02:3.2220000000e-02:3.3470000000<br>&gt; e-02:3.8990000000e-02)<br>&gt;<br>&gt;<br>&gt; Alert &quot;someloss&quot;: no match for target<br>&gt; /var/lib/smokeping/data/MyLocs/Server1<br>&gt;<br>&gt; I checked and folder and .rrd file.cgi /var/lib/smokeping/data/MyLocs/Server1 does exist.&nbsp; I also made a copy of smokeping and called it smokeping.cgi in the cgi-bin folder and i get the same error message<br>&gt;<br>&gt; ERROR: /etc/smokeping/config, line 10: Directory '/srv/www/htdocs/smokeping/cache' does not exist<o:p></o:p></p><p>Does the above dir exist, and does the user smokeping is running as have rights?<o:p></o:p></p><p>&gt;<br>&gt; Greg<br>&gt;<br>&gt; On 8/22/2013 7:59 PM, Gregory Sloop wrote:<br>&gt;&gt;<br>&gt;&gt; It should have an extension, I think. I don't think Apache will run it<br>&gt;&gt; as a CGI without it...[Perhaps I'm wrong here, I'm really not sure.<br>&gt;&gt; Mine does have a .cgi extension.]<br>&gt;&gt;<br>&gt;&gt; As asked earlier: Did you run smokeping in debug mode, and what does that show?<br>&gt;&gt;<br>&gt;&gt; ---<br>&gt;&gt; I don't believe I've seen any cases where running smokeping in debug<br>&gt;&gt; mode, and watching the logs doesn't give some good hints where the<br>&gt;&gt; problems are.<br>&gt;&gt;<br>&gt;&gt; -Greg<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; GS&gt; it is ../cgi-bin/smokeping&nbsp;&nbsp; If you look in the cgi-bin directory <br>&gt;&gt; GS&gt; smokeping has not file extension.&nbsp;&nbsp;&nbsp; Also if I copy the .png files fro<br>&gt;&gt; GS&gt; /var/lib/smokeping/cache to /srv/www/htdocs/smokeping/cache they show up.<br>&gt;&gt;<br>&gt;&gt; GS&gt; I looked in the error logs before I posted the first question and the <br>&gt;&gt; GS&gt; only error messages there relating to smokeping are several does not <br>&gt;&gt; GS&gt; exist errors.<br>&gt;&gt;<br>&gt;&gt; GS&gt; Greg<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; GS&gt; On 8/22/2013 4:40 PM, Gregory Sloop wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; wouldn't it be<br>&gt;&gt;&gt;&gt; ../cgi-bin/smokeping.cgi<br>&gt;&gt;&gt;&gt; instead of<br>&gt;&gt;&gt;&gt; ../cgi-bin/smokeping/<br>&gt;&gt;&gt;&gt; ??<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; If you fix that and it still doesn't work:<br>&gt;&gt;&gt;&gt; Does running smokeping in debug mode tell you anything<br>&gt;&gt;&gt;&gt; Does looking at the apache logs [especially the error logs] tell you<br>&gt;&gt;&gt;&gt; anything?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; -Greg<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; GS&gt; I am trying to setup Smokeping on an OpenSUSE 12.3 computer I just<br>&gt;&gt;&gt;&gt; GS&gt; setup.&nbsp; I have installed and configured Smokeping as I have several<br>&gt;&gt;&gt;&gt; GS&gt; times before but this time I an not getting the Graphs to appear.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; GS&gt; In config I have imgcache = /srv/www/htdocs/smokeping/cache&nbsp;&nbsp; which does<br>&gt;&gt;&gt;&gt; GS&gt; exist.&nbsp; However when I use a browser to go to<br>&gt;&gt;&gt;&gt; GS&gt; //localhost/cgi-bin/smokeping I get an error message stating that it<br>&gt;&gt;&gt;&gt; GS&gt; does not exist.&nbsp;&nbsp; If I copy the location straight from the error page<br>&gt;&gt;&gt;&gt; GS&gt; and past it into a browser the folder and its contents show up.&nbsp; If I<br>&gt;&gt;&gt;&gt; GS&gt; paste it into Dolphin the same thing.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; GS&gt; I tried changing the imgcache back to the default imgcache<br>&gt;&gt;&gt;&gt; GS&gt; =/var/lib/smokeping/cache.&nbsp; When I then open a browser Smokeping opens<br>&gt;&gt;&gt;&gt; GS&gt; but there are no graphs.&nbsp; If I look in /var/lib/smokeping/cache the<br>&gt;&gt;&gt;&gt; GS&gt; latest .png files are there.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; GS&gt; Is there something I am missing?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; GS&gt; Thanks for any suggestions<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; GS&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; GS&gt; smokeping-users mailing list<br>&gt;&gt;&gt;&gt; GS&gt; <a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>&gt;&gt;&gt;&gt; GS&gt; <a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<o:p></o:p></p></div></blockquote><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>