Revision: 25027 http://sourceforge.net/p/gar/code/25027 Author: dmichelsen Date: 2015-05-27 13:22:20 +0000 (Wed, 27 May 2015) Log Message: ----------- lang-python/graphite-web/trunk: Adjust name of vhost
Modified Paths: -------------- csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile csw/mgar/pkg/lang-python/graphite-web/trunk/files/README.OPENCSW Modified: csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile =================================================================== --- csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile 2015-05-27 12:32:14 UTC (rev 25026) +++ csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile 2015-05-27 13:22:20 UTC (rev 25027) @@ -123,7 +123,7 @@ # There is no testsuite TEST_SCRIPTS = -PRESERVECONF += $(prefix)/apache2/etc/extra/graphite-vhost.conf +PRESERVECONF += $(prefix)/apache2/etc/extra/httpd-graphite-vhost.conf # TBD: This needs customization of pathes PRESERVECONF += /opt/csw/lib/python2.6/site-packages/graphite/local_settings.py @@ -140,7 +140,7 @@ V2_7 = 2.7 post-install: - ginstall -D -m 0644 $(DESTDIR)$(CONFDIR)/examples/example-graphite-vhost.conf $(DESTDIR)$(prefix)/apache2/etc/extra/graphite-vhost.conf.CSW + ginstall -D -m 0644 $(DESTDIR)$(CONFDIR)/examples/example-graphite-vhost.conf $(DESTDIR)$(prefix)/apache2/etc/extra/httpd-graphite-vhost.conf.CSW rm -f $(DESTDIR)$(CONFDIR)/examples/example-graphite-vhost.conf mv $(DESTDIR)/opt/csw/lib/python$(V$(PYTHON_VERSION))/site-packages/graphite/local_settings.py.example \ $(DESTDIR)/opt/csw/lib/python$(V$(PYTHON_VERSION))/site-packages/graphite/local_settings.py.CSW Modified: csw/mgar/pkg/lang-python/graphite-web/trunk/files/README.OPENCSW =================================================================== --- csw/mgar/pkg/lang-python/graphite-web/trunk/files/README.OPENCSW 2015-05-27 12:32:14 UTC (rev 25026) +++ csw/mgar/pkg/lang-python/graphite-web/trunk/files/README.OPENCSW 2015-05-27 13:22:20 UTC (rev 25027) @@ -3,11 +3,28 @@ pkgutil -y -i graphite_web +* Configuration files + /etc/opt/csw/graphite + carbon-cache.py start +-> TBD: SMF +-> TBD: Other Daemons carbon-relay.py, carbon-aggregator.py + /opt/csw/apache2/etc/httpd.conf: Include etc/extra/graphite-vhost.conf python2.7 /opt/csw/lib/python2.7/site-packages/graphite/manage.py syncdb chown -R nobody:nobody /var/opt/csw/graphite +* Settings: + /opt/csw/lib/python2.7/site-packages/graphite/local_settings.py + +* Remove user from Django: + http://stackoverflow.com/questions/26713443/django-delete-superuser + > django-admin.py shell + $ from django.contrib.auth.models import User + $ User.objects.get(username="joebloggs", is_superuser=True).delete() + + +TBD: Grafana Dashboard ("Kibana for Graphite") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.