If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

no data displayed in shinken graphs

Hello,

I am running shinken 2.0.1 with : auth-cfg-password, windows, graphite, mysql, linux-ssh, sqlitedb, ui-graphite and webui.
In my broker-master.cf i have : webui and graphite
In my webui i have: auth-cfg-password,SQLitedb,ui-graphite
The x.x.x.x address below is the graphite server, it is on a different box.

This is my graphite.cfg module:

Code:

define module {
module_name graphite
module_type graphite_perfdata
host x.x.x.x
port 2003 ; Or 2004 if using use_pickle 1
# Optionally specify a source identifier for the metric data sent to
# Graphite. This can help differentiate data from multiple sources for the
# same hosts. HostA.GRAPHITE_DATA_SOURCE.service
# You MUST set the same value in the graphite_perfdata and GRAPHITE_UI module
# configuration.
use_pickle 1 ; default value is 0, 1 for pickled data
tick_limit 300 ; Default value 300
graphite_data_source shinken ; default is that the variable is unset
templates_path /var/lib/shinken/share/templates/graphite

This is my graphite-ui:

Code:

## Module: ui-graphite
## Loaded by: WebUI
# Use Graphite graphs in the WebUI, based on default or graphite URL API
# templates.
#
# IMPORTANT : Set the proper TIME_ZONE parameter in graphite : webapp/graphite/local_settings.py
# Set if to match the system setting.
# If not, 4h graphs will be broken.
define module {
module_name ui-graphite
module_type graphite-webui
uri http://x.x.x.x/ ; Set your Graphite URI. Note : YOURSERVERNAME will be
; changed by your broker hostname
templates_path /var/lib/shinken/share/templates/graphite/
# Optionally specify a source identifier for the metric data sent to
# Graphite. This can help differentiate data from multiple sources for the
# same hosts. HostA.GRAPHITE_DATA_SOURCE.service
# You MUST set the same value in the graphite_perfdata and GRAPHITE_UI module
# configuration.
graphite_data_source shinken

Now, all my graphs show no data. When i click on a a graph or just hover over it on the gui i see get requests but still no data.
Is there anything i am missing? I have no error logs in shinken or the graphite server.

Re: no data displayed in shinken graphs

Re: no data displayed in shinken graphs

Hello,

Just to close this topic.
My error went away.
A few things might of resolved this issue.
1. i changed the permissions of the checks to 744 since it was just 300 when istalled.
2. i commended out the templates_path and graphite_data_source
3. changed the port to 2004 since i am using use_pickle ( this is the most probable solution)