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

Get tasseo working on graphite on apache  #87

Description

@bergamoyat

Could not reopen #85 , added below comment for #85 . Please help.

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
}
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions