<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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";}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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 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'>Hello Will!<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'>The contents of the htdocs dir are normally the cgi and fcgi files plus the cropper directory which is a javascript for zooming in your graph pages. I will not get into that right now.<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'>Leave your basepage.html where you found it. There is no need to change its location.<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'>What you do need is make sure the reference in the config file is correct (it’s a little lower than the rest of the filepaths in the smokeping config file).<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'>Since you installed the package (instead of compiling yourself) I would expect all the file references in the config to be correct. Just check to make sure.<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'>The place where you will be copying the cropper directory is a matter of choice. You can choose to copy it in the webroot directory (probably /var/www/ in that case) or under the smokeping web directory (check your config file to see where that is). There is a cross reference for cropper in the basepage.html file so what you do needs to reflect that. There are absolute references and relative references for that and the graphs in the config and the basepage.html so you need to be careful there. I don’t remember those by heart so get started with the main smokeping features and we can work out cropper later if you still have problems. You will probably go through graph creation issues first (usually file rights issues) before you run into those.<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'>The cgi files usually go in a separate folder than the rest of the web documents (for example the cropper dir or the smokeping graph images and data). That depends on the distro used. I can’t remember by heart where it is for Debian (rasbian in this case) but it could be under /usr/lib.<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 those to start with and get back to us for more.<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 keep running into trouble I may try to reproduce your setup to provide accurate help (I just got my PI back).<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'>Good luck and keep it up!<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'>On a personal note let me tell you all that finally my institution approved the purchase of 15 PIs for dispatchable smokeping slaves so I expect to get started on that project sometime in the near feature!<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'>Best Regards, <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'>Ioannis.<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><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alessandro Palermo [mailto:ok.aless@gmail.com] <br><b>Sent:</b> Wednesday, September 25, 2013 3:01 PM<br><b>To:</b> Will Brocklebank<br><b>Cc:</b> smokeping-users<br><b>Subject:</b> Re: [smokeping-users] Problem finding the HTDocs file<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal><span lang=EN>All configuration files are in /etc/smokeping/</span><o:p></o:p></p></div><p class=MsoNormal><span lang=EN>The html base is basepage.html </span><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN>The /etc/smokeping/config.d/ contains the Target, Probes and Alert files.</span><o:p></o:p></p></div><p class=MsoNormal><span lang=EN>Regards</span><o:p></o:p></p><div><div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On 25 September 2013 08:22, Will Brocklebank <<a href="mailto:will@facetofacedigital.com" target="_blank">will@facetofacedigital.com</a>> wrote:<o:p></o:p></p><div><div><p>Dear all - I am an enthusiastic noob so please forgive any inexperienced foolishness ;-)<o:p></o:p></p><div><p class=MsoNormal>I have progressed through the installation procedure on Raspbian and all seems to be running smoothly.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>However, I have hit a problem with firing up the actual web interface. Specifically I do not understand these instructions:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>"There is a sample htdocs directory in your smokeping installation root. Copy its content to the place where your webserver expects its files. There are also two sample cgi scripts showing how to launch the smokeping cgi in your website. The only difference is the file extension. Adjust the paths in the script and you should be ready to go."<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I installed smokeping via apt-get on my Raspberry Pi and now I cannot find any htdocs directory either in the smokeping installation root (for clarity maybe someone could tell me exactly where this is so I can double-check but it isn't in /usr/etc/smokeping) and do not know how to move forward!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks for all your help!<o:p></o:p></p></div><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:#888888'>Will<o:p></o:p></span></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>smokeping-users mailing list<br><a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>