<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ok ... I managed to troubleshoot my problem and I get to a solution.<br>
The problem was that "imgurl" config value was incorrectly set.
What I had was "/opt/smokeping/cache/". With this value my web
server couldn't load images, because it was unable to find that
dir. What I did to solve this was to create a symlink from
smokeping web root to smokeping cache dir, like this:<br>
<br>
<blockquote><font face="monospace">ln -s /opt/smokeping/cache
/<webdocs_root>/smokeping/cache</font><br>
</blockquote>
<br>
And then set "imgurl" config value to "cache" (which is the relative
path for smokeping.cgi .... absolute value should be
<a class="moz-txt-link-freetext" href="http://smokeping.some.domain/cache">http://smokeping.some.domain/cache</a>). And that's it, graphs start to
show up.<br>
<br>
I'd like to point out that official installation instruction are
quite tricky, and can lead confusions and, consequently, unnecessary
troubleshooting situation, like my case. I think that more detailed
instructions which, at least, shows up some default example
settings, would save a lot of time.<br>
<br>
Thanks everybody. <br>
<br>
El 17/02/12 20:24, <a class="moz-txt-link-abbreviated" href="mailto:mgd@interbaun.com">mgd@interbaun.com</a> escribió:
<blockquote
cite="mid:20120217152444.15861zc9877ow4ak@webmail.uniserve.com"
type="cite">
<pre wrap="">Check your permissions on /var/lib/smokeping. My chown permissions
are: smokeping:smokeping, except for _cgi where they are
smokeping:www-data. The smokeping user must be able to r/w to the .rrd
files.
Quoting Dago Pacheco <a class="moz-txt-link-rfc2396E" href="mailto:dpacheco@unap.cl"><dpacheco@unap.cl></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi everybody:
I'm having troubles setting up smokeping. I installed version 2.6.8
from source on a CentOS 5.7 machine. Compilation process finished
without problems and smokeping is started as a daemon correctly (I also
started in debug mode, and there where no errors). The web page is
rendered correctly but graphs doesn't show up. I checked imgcache dir,
and png files are correctly generated.
As I said, I compiled smokeping from sources following official
documentation from
<a class="moz-txt-link-freetext" href="http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html">http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html</a>.
This are my General configuration values
*** General ***
owner = Aministrador Servidores
contact = some@mail
mailhost = some.mail.host
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /opt/smokeping/cache
imgurl = ../cache
datadir = /opt/smokeping/data
piddir = /opt/smokeping/var
cgiurl = <a class="moz-txt-link-freetext" href="http://smokeping.some.host/smokeping.cgi">http://smokeping.some.host/smokeping.cgi</a>
smokemail = /opt/smokeping/etc/smokemail
tmail = /opt/smokeping/etc/tmail
# specify this to get syslog logging
syslogfacility = local7
# each probe is now run in its own process
# disable this to revert to the old behaviour
concurrentprobes = yes
changeprocessnames = yes
This is the folder list from /opt/smokeping
[root@isaac:/opt/smokeping]# ll
total 40
drwxr-xr-x 2 root root 4096 feb 17 11:44 bin
drwxr-xr-x 4 apache apache 4096 feb 17 16:04 cache
drwxrwxr-x 4 root root 4096 feb 17 12:53 data
drwxr-xr-x 3 root root 4096 feb 17 16:57 etc
drwxr-xr-x 3 root root 4096 feb 17 12:49 htdocs
drwxr-xr-x 3 root root 4096 feb 17 11:44 lib
drwxr-xr-x 3 root root 4096 feb 17 11:44 share
-rw-r--r-- 1 root root 1153 feb 17 16:16 smoke.log
drwxr-xr-x 6 root root 4096 feb 17 11:41 thirdparty
drwxr-xr-x 2 root root 4096 feb 17 13:04 var
I tried changing permissions and imgcahe and imgurl values, but didn't work.
Don't know what to do. Any advise would be appreciated.
Thanks :)
_______________________________________________
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>
<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>
</body>
</html>