[smokeping-users] Smokeping graphs not showing up

mgd at interbaun.com mgd at interbaun.com
Sat Feb 18 00:24:23 CET 2012


Check our 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 <dpacheco at unap.cl>:

> 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
> http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html.
>
> This are my General configuration values
>
> *** General ***
>
> owner    = Aministrador Servidores
> contact  = some at 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   = http://smokeping.some.host/smokeping.cgi
> 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 at 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
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>





More information about the smokeping-users mailing list