-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need Some Basic Help Getting Started #67
Comments
Additional troubleshooting information. I'm noticing the following exceptions being logged about every hour: [I 190427 10:34:03 app:165] Web socket opened. |
Tried installing 1.4.1 in a separate VE, but results were the same. (tb-env2) [pylabs2@[my server] home]$ pip freeze Also ran tipboard with test option. Everything seems mostly OK: (tb-env2) [pylabs2@[my server] ~]$ tipboard test ======================================================================
|
Hoping for some sort of reply soon, otherwise I'm off looking for an alternative solution |
Here you are sending query parameters, but in a POST the data should be sent in the body of the request. See curl example on https://tipboard.readthedocs.io/en/latest/tile__text.html |
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
(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.
The text was updated successfully, but these errors were encountered: