<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ok think I got it..... The contents of /etc/smokeping/apache2.conf
need to be installed in
/etc/apache2/conf-available/serve-cgi-bin.conf<br>
<br>
Restart apache2 and smokeping and I have graphs and the smokeping
and RRDTool logos.<br>
<br>
cat /etc/apache2/conf-available/serve-cgi-bin.conf<br>
<IfModule mod_alias.c><br>
<IfModule mod_cgi.c><br>
Define ENABLE_USR_LIB_CGI_BIN<br>
</IfModule><br>
<br>
<IfModule mod_cgid.c><br>
Define ENABLE_USR_LIB_CGI_BIN<br>
</IfModule><br>
<br>
<IfDefine ENABLE_USR_LIB_CGI_BIN><br>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<br>
<Directory "/usr/lib/cgi-bin"><br>
AllowOverride None<br>
Options +ExecCGI -MultiViews
+SymLinksIfOwnerMatch<br>
Require all granted<br>
</Directory><br>
ScriptAlias /smokeping/smokeping.cgi
/usr/lib/cgi-bin/smokeping.cgi<br>
Alias /smokeping /usr/share/smokeping/www<br>
<Directory "/usr/share/smokeping/www"><br>
Options FollowSymLinks<br>
</Directory><br>
<br>
</IfDefine><br>
</IfModule><br>
<br>
The clue was in the apache2 access.log file where there were
404's, the access.log should look like this (200, not 404):<br>
<br>
192.168.11.81 - - [03/Jul/2014:07:58:50 -0400] "GET
/smokeping/scriptaculous/builder.js HTTP/1.1" 200 2190
<a class="moz-txt-link-rfc2396E" href="http://192.168.11.86/cgi-bin/smokeping.cgi">"http://192.168.11.86/cgi-bin/smokeping.cgi"</a> "Mozilla/5.0 (Windows
NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [03/Jul/2014:07:58:50 -0400] "GET
/smokeping/scriptaculous/dragdrop.js HTTP/1.1" 200 7914
<a class="moz-txt-link-rfc2396E" href="http://192.168.11.86/cgi-bin/smokeping.cgi">"http://192.168.11.86/cgi-bin/smokeping.cgi"</a> "Mozilla/5.0 (Windows
NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [03/Jul/2014:07:58:50 -0400] "GET
/smokeping/scriptaculous/effects.js HTTP/1.1" 200 9076
<a class="moz-txt-link-rfc2396E" href="http://192.168.11.86/cgi-bin/smokeping.cgi">"http://192.168.11.86/cgi-bin/smokeping.cgi"</a> "Mozilla/5.0 (Windows
NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [03/Jul/2014:07:58:51 -0400] "GET
/cgi-bin/smokeping.cgi?target=_charts HTTP/1.1" 200 1735
<a class="moz-txt-link-rfc2396E" href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
<br>
<br>
Cheers,<br>
Ian<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/07/2014 7:52 AM, goZoom SysAdmin
wrote:<br>
</div>
<blockquote cite="mid:53B54404.3030308@gozoom.ca" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I found this in the mailing list archive :
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://lists.oetiker.ch/pipermail/smokeping-users/2010-September/004151.html">https://lists.oetiker.ch/pipermail/smokeping-users/2010-September/004151.html</a><br>
<br>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">The Apache configuration snippet in /etc/smokeping/apache2.conf (which
should be symlinked into /etc/apache2/conf.d) makes Apache look in the
right place, and upgrades from earlier versions also add a few symlinks
in /var/www to try and keep things working.</pre>
Niko refers to /etc/apache2/conf.d but that directory does not
exist.... <br>
<br>
ian@draco:~$ locate apache | grep conf.d<br>
/etc/php5/apache2/conf.d<br>
/etc/php5/apache2/conf.d/05-opcache.ini<br>
/etc/php5/apache2/conf.d/10-pdo.ini<br>
/etc/php5/apache2/conf.d/20-json.ini<br>
/etc/php5/apache2/conf.d/20-mysql.ini<br>
/etc/php5/apache2/conf.d/20-mysqli.ini<br>
/etc/php5/apache2/conf.d/20-pdo_mysql.ini<br>
/etc/php5/apache2/conf.d/20-readline.ini<br>
/var/lib/apache2/conf/disabled_by_maint<br>
ian@draco:~$<br>
<br>
And there are no symlinks in the /var/www/html<br>
<br>
Maybe that post is too old to apply (?)<br>
<br>
Niko?<br>
<br>
Ian<br>
<br>
<br>
<div class="moz-cite-prefix">On 02/07/2014 9:22 PM, goZoom
SysAdmin wrote:<br>
</div>
<blockquote cite="mid:53B4B068.2080602@gozoom.ca" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I can't see any indicators in the logs, but would welcome an
opinion.<br>
<br>
ian@draco:~$ tail /var/log/apache2/access.log<br>
192.168.11.81 - - [02/Jul/2014:21:08:08 -0400] "GET
/smokeping/images/smokeping.png HTTP/1.1" 404 521 <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi">"http://192.168.11.86/cgi-bin/smokeping.cgi"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
::1 - - [02/Jul/2014:21:08:16 -0400] "OPTIONS * HTTP/1.0" 200
125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2 (internal
dummy connection)"<br>
::1 - - [02/Jul/2014:21:08:17 -0400] "OPTIONS * HTTP/1.0" 200
125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2 (internal
dummy connection)"<br>
192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET
/cgi-bin/smokeping.cgi?target=Local.LocalMachine HTTP/1.1" 200
1691 <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET
/smokeping/prototype/prototype.js HTTP/1.1" 404 523 <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET
/smokeping/scriptaculous/scriptaculous.js?load=builder,effects,dragdrop
HTTP/1.1" 404 532 <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET
/smokeping/cropper/cropper.js HTTP/1.1" 404 520 <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET
/smokeping/smokeping-zoom.js HTTP/1.1" 404 519 <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET
/smokeping/images/Local/LocalMachine_last_108000.png HTTP/1.1"
404 543 <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET
/smokeping/images/Local/LocalMachine_last_10800.png HTTP/1.1"
404 542 <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET
/smokeping/images/Local/LocalMachine_last_31104000.png HTTP/1.1"
404 544 <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET
/smokeping/images/smokeping.png HTTP/1.1" 404 521 <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">"http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine"</a>
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/35.0.1916.153 Safari/537.36"<br>
<br>
<br>
ian@draco:~$ tail /var/log/apache2/error.log<br>
[Wed Jul 02 21:07:47.938618 2014] [mpm_prefork:notice] [pid
26663] AH00169: caught SIGTERM, shutting down<br>
[Wed Jul 02 21:07:49.102716 2014] [mpm_prefork:notice] [pid
30349] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2
configured -- resuming normal operations<br>
[Wed Jul 02 21:07:49.102903 2014] [core:notice] [pid 30349]
AH00094: Command line: '/usr/sbin/apache2'<br>
[Wed Jul 02 21:11:54.540881 2014] [mpm_prefork:notice] [pid
30349] AH00169: caught SIGTERM, shutting down<br>
[Wed Jul 02 21:11:55.673276 2014] [mpm_prefork:notice] [pid
30468] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2
configured -- resuming normal operations<br>
[Wed Jul 02 21:11:55.673460 2014] [core:notice] [pid 30468]
AH00094: Command line: '/usr/sbin/apache2'<br>
<br>
<br>
Cheers,<br>
Ian<br>
<br>
<div class="moz-cite-prefix">On 02/07/2014 8:07 PM, Gregory
Sloop wrote:<br>
</div>
<blockquote cite="mid:554937955.20140702170745@sloop.net"
type="cite">
<title>Re: [smokeping-users] ubuntu 14.04 install from repo
shows no graphs</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<span style=" font-family:'Courier New'; font-size: 9pt;">Check
the apache logs - that will probably point you in the right
direction.<br>
<br>
If it turns out, it's a general problem and most people will
have it in Ubuntu 14.04, posting follow-up to the list
[describing the problem and the work-around/fix] would be
great. I can try to get it into the Wiki/Howto.<br>
<br>
-Greg<br>
<br>
<span style=" color: #800000;"><b>gS> This is a clean
Ubuntu 14.04 64 bit. installed smokeping following<br>
</b></span></span><a moz-do-not-send="true" style="
font-family:'courier new'; font-size: 9pt;"
href="http://heggel4.wordpress.com/2012/10/22/install-and-configure-smokeping-on-ubuntu-12-04-lts/">gS>
http://heggel4.wordpress.com/2012/10/22/install-and-configure-smokeping-on-ubuntu-12-04-lts/</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;
color: #800000;"><b>gS> sudo apt-get install smokeping
curl libauthen-radius-perl<br>
gS> libnet-ldap-perl libnet-dns-perl
libio-socket-ssl-perl<br>
gS> libnet-telnet-perl libsocket6-perl
libio-socket-inet6-perl apache2<br>
<br>
gS> I changed only /etc/smokeping/config.d/General
adding my server's ip<br>
<br>
gS> cgiurl =” <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://">http://</a><your
ip or dns name>/cgi-bin/smokeping.cgi”<br>
<br>
gS> Started smokeping sudo service smokeping start, and
the url<br>
</b></span><a moz-do-not-send="true" style="
font-family:'courier new'; font-size: 9pt;"
href="http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine">gS>
http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;
color: #800000;"><b>gS> shows no png's.<br>
<br>
gS> I had Smokeping running on 10.04 previously and
seem to remember a<br>
gS> similar problem when I first installed it but can't
recall the solution.<br>
<br>
gS> I've added a couple of Targets and see the RRD's
updating but still<br>
gS> nothing in the webview. I can copy the generated
png's to apache's html<br>
gS> directory and they have content.<br>
<br>
gS> I also created a test.cgi script and placed it in
apache's CGI directory<br>
gS> and it works fine.... So this seems like a
permission problem to me but<br>
gS> don't know where to look or why it would not work
straight from the repo....<br>
<br>
<br>
gS> Cheers,<br>
gS> Ian<br>
<br>
<br>
<br>
gS> _______________________________________________<br>
gS> smokeping-users mailing list<br>
</b></span><a moz-do-not-send="true" style="
font-family:'courier new'; font-size: 9pt;"
href="mailto:smokeping-users@lists.oetiker.ch">gS>
smokeping-users@lists.oetiker.ch</a><br>
<a moz-do-not-send="true" style=" font-family:'courier new';
font-size: 9pt;"
href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">gS>
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
<br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>-- <br>
Gregory Sloop, Principal: Sloop Network & Computer
Consulting<br>
Voice: 503.251.0452 x82<br>
EMail: </i></span><a moz-do-not-send="true" style="
font-family:'arial';" href="mailto:gregs@sloop.net">gregs@sloop.net</a><br>
<a moz-do-not-send="true" style=" font-family:'arial';"
href="http://www.sloop.net">http://www.sloop.net</a><br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>--- </i></span></blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
smokeping-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
</body>
</html>