Skip to content

Need Some Basic Help Getting Started #67

@krdorsey

Description

@krdorsey

Installation went fine and all the default functionality is working.

The trouble starts when I tried to create my own layout_config.yaml and send data to my tiles.

The tiles are visible when browsing to http://serverIP:7272/ but attempts to send data or configuration to the tiles results in HTTP 404: Not Found. Indeed it does appear that there are NO keys in redis, as shown by:

(tb-env) [pylabs@rdu-vs-abe .tipboard]$ redis-cli
127.0.0.1:6379> KEYS *
(empty list or set)
127.0.0.1:6379>

Based on reading various sources it seems the keys for tiles should be created on initial data POSTing (push), correct? If my assumption is not correct, please clarify when are the database entries for the tiles created?

Any suggestions on why I have no keys? Troubleshooting tips are sparse in the docs. Any additional tip are appreciated.

Here is my layout, which is mostly based on the default. Just some renaming of elements and title.

(tb-env) [pylabs@my_server .tipboard]$ cat layout_config.yaml
details:
page_title: System Statistics Dashboard
layout:
- row_1_of_2:
- col_1_of_4:
- tile_template: big_value
tile_id: tile1
title: Monitored Systems

    - col_1_of_4:
        - tile_template: text
          tile_id: tile2
          title: Text Tile1
          classes:

    - col_1_of_4:
        - tile_template: text
          tile_id: tile3
          title: Text Tile
          classes:

    - col_1_of_4:
        - tile_template: text
          tile_id: tile4
          title: Text Tile
          classes:

- row_1_of_2:
    - col_1_of_4:
        - tile_template: text
          tile_id: tile5
          title: Text Tile
          classes:

    - col_1_of_4:
        - tile_template: text
          tile_id: tile6
          title: Text Tile
          classes:

    - col_1_of_4:
        - tile_template: text
          tile_id: tile7
          title: Text Tile
          classes:

    - col_1_of_4:
        - tile_template: text
          tile_id: tile8
          title: Text Tile
          classes:

(tb-env) [pylabs@

Here are my local settings:

(tb-env) [pylabs@rdu-vs-abe .tipboard]$ cat settings-local.py
#!/usr/bin/env python

-- coding: utf-8 --

from future import absolute_import
from future import division
from future import print_function
from future import unicode_literals

PROJECT_NAME = 'soak_dashboard'
API_KEY = '6730c0dd0f334cb483e2a0b0d9f9cdb7'

REDIS_HOST = '0.0.0.0'
HOST = '0.0.0.0'
DEBUG = True
JS_LOG_LEVEL = 2

Here is a sample POST:

http://my_server:7272/api/v0.1/6730c0dd0f334cb483e2a0b0d9f9cdb7/push/?tile=text&key=tile2&data=%7B%22text%22%3A%20%22Hello world!%22%7D

Thanks for your assistance in getting me up and running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions