6 Commits

Author SHA1 Message Date
K Jonathan Harker
948aff1f02 Clean up bashate failures
Fix all of the bashate failures.  Also, bashate will install its negative
tests in its virtualenv, so we need to generate a list of files to pass to
bashate that excludes .tox/

Change-Id: I55559bf6137f705aec9a7f277928ad8d4cadc2ca
2014-09-30 12:40:59 -07:00
Monty Taylor
ac8412d34d Fix the constant failure of puppet on cacti
First of all, the apache config file goes in a different direcetory.
Secondly, the graph creation is trying to make graphs for disks that
are hardcoded and don't exist for a given host.

Change-Id: Ie277f3959b7a01e71ed437582b0155e5fc5bef02
2014-07-05 12:18:57 -07:00
Matthew Oliver
ae89a368c3 Adding apache redirect for the cacti url.
As cacti is currently simply being installed via the package
manager, there is no vhosts file. I have added the apache
rewrite rule to apache.conf file that comes with the ubuntu/
debian package.

When accessing the root of the cacti site (cacti.openstack.org)
you will now be redirected to cacti.o.o/cacti/graph_view.php.
I.E:
  RewriteRule ^/$ /cacti/graph_view.php [R,L]

Note, in new deployments the guest user needs to be enabled
otherwise all you'll see is a login screen.

Change-Id: I5242c9daf2ef105b2f685f9f6b2dc4509f9c5dc2
2014-01-17 09:51:57 +11:00
James E. Blair
7c502f025c cacti: re-run data queries each time we try to add graphs
This should pick up new devices, etc, as well as handle the case
that the host was defined in cacti before it existed.

Change-Id: I011841e822ff9ae5e624c0c7c6d7b611d0e8697f
2013-12-18 16:29:20 -08:00
Jeremy Stanley
7005f8265a Correct the default cacti tree name
* modules/openstack_project/files/cacti/create_graphs.sh: At some
point, the default tree ceased being named "Default Tree" and became
"All Hosts" at which point new host nodes were no longer able to be
added to it. Correcting here should improve the situation for future
additions.

Change-Id: I4869a1d470497b120dd99c97677a7ae4dc26667f
2013-10-09 21:56:31 +00:00
James E. Blair
8bb3ef831a Add cacti host.
Change-Id: I67cc116ad8a2b2586856965ae1e341d735d69fd3
Reviewed-on: https://review.openstack.org/14582
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-23 00:45:21 +00:00