<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" 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 12 (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:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Bookman Old Style","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Josh,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Actually, there are no files there (in either directory you listed).&nbsp; I do have a /var/www/html/smokeping directory though.&nbsp; Do I need to configure the ./doc/smokeping.html doc and copy it to that directory?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">---------------------------------</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Looks to me like you put the files in /var/www/html and not /var/www/cgi-bin.&nbsp; I am using CentOS myself and I have it as:<br>
<br>
/var/www/cgi-bin/smokeping.cgi<br>
<br>
I use the URL host/cgi-bin/smokeping.cgi<br>
<br clear="all">
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On Thu, Nov 20, 2008 at 11:51 AM, Eric Chatham &lt;<a href="mailto:echatham@broadvox.net">echatham@broadvox.net</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal">Sorry, about lack of info.<br>
<br>
Here are my Apache logfiles:<br>
<br>
[root@happv etc]# tail /var/log/httpd/error_log<br>
<br>
[Wed Nov 19 23:17:22 2008] [error] [client <a href="http://192.168.1.101" target="_blank">
192.168.1.101</a>] Directory index forbidden by Options directive: /var/www/html/<br>
[Wed Nov 19 23:17:30 2008] [error] [client <a href="http://192.168.1.101" target="_blank">
192.168.1.101</a>] File does not exist: /var/www/html/smokeping<br>
[Wed Nov 19 23:19:07 2008] [error] [client <a href="http://192.168.1.101" target="_blank">
192.168.1.101</a>] File does not exist: /var/www/html/smokeping.cgi<br>
[Thu Nov 20 04:02:19 2008] [notice] SIGHUP received. &nbsp;Attempting to restart<br>
[Thu Nov 20 04:02:20 2008] [notice] Digest: generating secret for digest authentication ...<br>
[Thu Nov 20 04:02:20 2008] [notice] Digest: done<br>
[Thu Nov 20 04:02:20 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming<br>
&nbsp;normal operations<br>
[Thu Nov 20 10:57:38 2008] [error] [client <a href="http://192.168.1.101" target="_blank">
192.168.1.101</a>] File does not exist: /var/www/html/smokeping.cgi<br>
[Thu Nov 20 10:57:39 2008] [error] [client <a href="http://192.168.1.101" target="_blank">
192.168.1.101</a>] File does not exist: /var/www/html/smokeping.cgi<br>
[Thu Nov 20 10:57:44 2008] [error] [client <a href="http://192.168.1.101" target="_blank">
192.168.1.101</a>] File does not exist: /var/www/html/smokeping<br>
<br>
-----<br>
[root@happv etc]# tail /var/log/httpd/access_log<br>
<br>
<a href="http://192.168.1.101" target="_blank">192.168.1.101</a> - - [20/Nov/2008:10:57:38 -0500] &quot;GET /smokeping.cgi HTTP/1.1&quot; 404<br>
&nbsp;295 &quot;-&quot; &quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<a href="http://1.8.1.17" target="_blank">1.8.1.17</a>) Gecko/20080829 Firefox/<a href="http://2.0.0.17" target="_blank">2.0.0.17</a>&quot;<br>
<a href="http://192.168.1.101" target="_blank">192.168.1.101</a> - - [20/Nov/2008:10:57:39 -0500] &quot;GET /smokeping.cgi HTTP/1.1&quot; 404<br>
&nbsp;295 &quot;-&quot; &quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<a href="http://1.8.1.17" target="_blank">1.8.1.17</a>) Gecko/20080829 Firefox/<a href="http://2.0.0.17" target="_blank">2.0.0.17</a>&quot;<br>
<a href="http://192.168.1.101" target="_blank">192.168.1.101</a> - - [20/Nov/2008:10:57:44 -0500] &quot;GET /smokeping HTTP/1.1&quot; 404 291<br>
&nbsp;&quot;-&quot; &quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<a href="http://1.8.1.17" target="_blank">1.8.1.17</a>) Gecko/20080829 Firefox/<a href="http://2.0.0.17" target="_blank">2.0.0.17</a>&quot;<br>
<br>
My linux server is Happv.proxima.local [<a href="http://192.168.1.105" target="_blank">192.168.1.105</a>]. &nbsp;I haven't made any custom settings to my Apache. &nbsp;I am trying to open the page with Mozilla Firefox. &nbsp;I get &quot;Error 404, Not found.&quot; &nbsp;The smokeping.cgi
 page does not reference the cgi-bin directory [as per instructions setting up Smokeping]. &nbsp;I try to access the link
<a href="http://happv.proxima.local/smokeping/smokeping.cgi" target="_blank">http://happv.proxima.local/smokeping/smokeping.cgi</a>. &nbsp;I get &quot;Error 404.&quot; However, when I type in
<a href="http://happv.proxima.local/" target="_blank">http://happv.proxima.local/</a>, the default Apache page displays.<br>
<br>
This is the same way I have it setup in the ./etc/config file. &nbsp;Do you need to see my config file?<br>
<br>
Thank you,<br>
ERiC<br>
------------------------------------------------------------------------------------------<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">On Thu, 20 Nov 2008, Eric Chatham wrote:<br>
<br>
&gt; I am having a problem with apache and setting up my smokeping. &nbsp;I<br>
&gt; can't browse to smokeping.cgi with the web browser. &nbsp;What could be<br>
&gt; wrong? &nbsp;The smokeping daemonizes properly, but I'm unable to see the<br>
&gt; page; here is a debug session. &nbsp;I only have one target setup:<br>
&gt;<br>
&gt; [root@happv etc]# ../bin/smokeping --debug ### Compiling alert<br>
&gt; detector pattern 'someloss'<br>
&gt; [snip]<br>
<br>
You don't send enough information for anyone to help you. &nbsp;The debug output you sent is from the somkeping process but you really need to look at the log(s) from your Apache process(es). &nbsp;It would also be helpful to see exactly how your Apache is configured,
 exactly what you do when you attempt to browse to the smokeping Web page, and exactly what response you get. &nbsp;From the information you sent, &quot;can't browse&quot;<br>
might easily mean that the URL you gave to the browser was incorrect.<br>
<br>
--<br>
<br>
73,<br>
Ged.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CONFIDENTIAL. &nbsp;This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.<br>
<br>
_______________________________________________<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">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>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.<br>
</font>
</body>
</html>