httpdss / collectd-web

Collectd-web is a web-based front-end for RRD data collected by collectd
http://collectdweb.appspot.com
GNU General Public License v2.0
247 stars 72 forks source link

Config #49

Open 58bits opened 12 years ago

58bits commented 12 years ago

Okay - I'm lost.

I have configd working fine and installed in /opt/collectd

(Version 5 built from source)

The RRD files from my host are located in /opt/collectd/var/lib/collectd/myhostname - which is the default location for the RRD plugin in the collectd configuration file.

I have collectd-web installed in /var/www/collectd-web - and it's working fine. I can browse to http://myhostname/collectd-web/ and I see the collectd-web application fine (apache settings are all okay and I cloned the git repository into this directory).

Can you please tell me how the collectd-web application is supposed to find the RRD data files?

Best,

Tony

58bits commented 12 years ago

Ah I think I found it. Syslog showed a JSON.pm errror.

cpan> install JSON.pm

appears to have fixed it.

I've also set /etc/collectd/collection.conf to point to the correct data directory in /opt/collectd/var/lib/collectd

Best,

Tony