No hosts on multiple machines

139 views
Skip to first unread message

PaBre

unread,
Jul 20, 2011, 7:27:22 AM7/20/11
to Collectd-web Users
Hello!

I have a problem with collectd-web (0.4.0).
There is no hosts to choose from on the page.
The problem looks similiar to CaBaz's:
http://groups.google.com/group/collectd-web-users/browse_thread/thread/3b2a591c751e24c8?hl=en#
but I believe it's not the issue in my case.

The oddest thing is, that I got it working perfectly for the first
time (v 0.3.0, then upgraded to 0.4.0) on a Debian Testing host (where
it is still working), and I failed on another 3 hosts... (all of them
more or less based on Debian). This makes me believe that the problem
is somewhere on my side (configuration or distro specific).

When I run standalone server (runserver.py) - everything is working
just fine.

Hosts and config info:
- collectd installed from packages, working everywhere, data stored
to /var/lib/collectd/rrd/
- OS: Debian testing x86 (one working, one not), Debian Lenny x86_64
(two, not working)
- Apache (everywhere)

./check_deps.sh
Carp looks ok
CGI looks ok
CGI::Carp looks ok
HTML::Entities looks ok
URI::Escape looks ok
RRDs looks ok
Data::Dumper looks ok
JSON looks ok

cat /etc/collectd/collection.conf
datadir: "/var/lib/collectd/rrd/"
libdir: "/usr/lib/collectd/"

What I am missing?

PaBre

unread,
Jul 21, 2011, 8:41:54 AM7/21/11
to Collectd-web Users
I've probably found my mistake.

Looks like the
AllowOverride all
in apache2.conf is critical ;-)
(as is written here: http://kenny.belitzky.com/projects/collectd-web/documentation
)

Kenneth Belitzky

unread,
Jul 21, 2011, 9:09:51 AM7/21/11
to collectd-...@googlegroups.com
Hi PaBre! im glad you've found the mistake and that it was actually documented :D Lack of documentation is something im working on in order to make the installation process easier! 

collectd-web includes an .htaccess file on the cgi-bin folder to give execution permissions to for the scripts to run ...

Regards,
Kenny
Reply all
Reply to author
Forward
0 new messages