Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Get tasseo working on graphite on apache #85

Closed
bergamoyat opened this issue May 8, 2014 · 2 comments
Closed

Get tasseo working on graphite on apache #85

bergamoyat opened this issue May 8, 2014 · 2 comments

Comments

@bergamoyat
Copy link

Hi - We have setup graphite on apache(wsgi). All setup/installations were done as Python based build/install's from source because of limitations on our network. How do I get tasseo setup on this environment where we don't have chef/puppet/heroku etc? I've tried reading through the forums with no luck yet, any help would be highly appreciated

@obfuscurity
Copy link
Owner

Tasseo doesn't depend on any of that. You just need a working Ruby + gem installation. I suggest rvm or rbenv and then run the commands like I specify for local deployments.

@bergamoyat
Copy link
Author

Pardon my ignorance , but I still cant get it right. I have graphite working on my apache. I have configured other tools like grafana on the same apache and it also works fine. I cant get tasseo working though , below is the configuration in apache setup for tasseo. Do I still need to run an configure/install after unzipping the tasseo project from git hub ? At this point I have just unzipped it to docroot of apache and created an alias to that directory.

bash-3.2$ cat ../conf/vhosts/graphite-vhost.conf | grep Access-Control
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, OPTIONS"
Header set Access-Control-Allow-Headers "origin, authorization, accept"

bash-3.2$ cat ../conf/vhosts/graphite-vhost.conf | grep GRAP
SetEnv GRAPHITE_URL http://graphite.domain.com:8080

bash-3.2$ cat ../conf/vhosts/graphite-vhost.conf | grep tasseo
Alias /tasseo /app/graphite/webapp/tasseo

bash-3.2$ ls -lrt /app/graphite/webapp/tasseo
total 17
-rwxr-xr-x 1 grphusr grphusr 8876 Apr 14 19:42 README.md
-rwxr-xr-x 1 grphusr grphusr 129 Apr 14 19:42 Rakefile
-rwxr-xr-x 1 grphusr grphusr 48 Apr 14 19:42 Procfile
-rwxr-xr-x 1 grphusr grphusr 1426 Apr 14 19:42 LICENSE
-rwxr-xr-x 1 grphusr grphusr 1818 Apr 14 19:42 Gemfile.lock
-rwxr-xr-x 1 grphusr grphusr 224 Apr 14 19:42 Gemfile
-rwxr-xr-x 1 grphusr grphusr 60 Apr 14 19:42 config.ru
drwxr-xr-x 3 grphusr grphusr 96 Jul 8 16:46 lib
drwxr-xr-x 2 grphusr grphusr 96 Jul 8 16:46 spec
drwxr-xr-x 2 grphusr grphusr 96 Jul 9 15:24 dashboards

bash-3.2$ ls -lrt /app/graphite/webapp/tasseo/dashboards/
total 1
-rw-r--r-- 1 grphusr grphusr 194 Jul 9 15:24 example.js

bash-3.2$ cat /app/graphite/webapp/tasseo/dashboards/example.js
var metrics =
[
{
"alias": "stats.gauges.myhost.cpupercent",
"target": "stats.gauges.myhost.cpupercent",
"warning": 100,
"critical": 500
}
];

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants