Results 1 to 4 of 4

Thread: [2.0.3] No graph

  1. #1

    [2.0.3] No graph

    Hello,
    I don't have any graph with graphite.
    It's a fresh install with barely nothing

    Here is my webuit conf :
    Code:
    ## Module:   webui
    ## Loaded by:  Broker
    # The Shinken web interface and integrated web server.
    define module {
      module_name     webui
      module_type     webui
      host        192.168.1.12  ; All interfaces = 0.0.0.0
      port        7767
      auth_secret     CHANGE_YOU  ; CHANGE THIS or someone could forge cookies
      allow_html_output  1    ; Allow or not HTML chars in plugins output.
                    ; WARNING: Allowing can be a security issue.
      max_output_length  2048   ; Maximum output length for plugin output in webui
      manage_acl     1    ; Use contacts ACL. 0 allow actions for all.
      play_sound     0    ; Play sound on new non-acknowledged problems.
      login_text     Welcome on Shinken WebUI  ; Text in the login form.
    
      ## Modules for WebUI
      # - auth-htpasswd     = Use an htpasswd file for auth backend.
      # - auth-active-directory = Use AD for auth backend (and retrieve photos).
      # - auth-cfg-password   = Use the password setted in Shinken contact for auth.
      # - ui-pnp        = Use PNP graphs in the UI.
      # - ui-graphite      = Use graphs from Graphite time series database.
      # - mongodb        = Save user preferences to a Mongodb database
      # - SQLitedb       = Save user preferences to a SQLite database
      modules	ui-graphite,auth-htpasswd,SQLitedb		
      ## Advanced Options
      # Don't play with them on your production server ;)
      #http_backend      auto  ; Choice is: auto, wsgiref or cherrypy if available
      #remote_user_enable   1    ; If WebUI is behind a web server which
                       ; has already authentified user, enable.
      #remote_user_enable   2    ; Look for remote user in the WSGI environment
                       ; instead of the HTTP header. This allows
                       ; for fastcgi (flup) and scgi (flupscgi)
                       ; integration, eg. with the apache modules.
      #remote_user_variable  X_Remote_User ; Set to the HTTP header containing
                       ; the authentificated user s name, which
                       ; must be a Shinken contact.
      # If you got external plugins (pages) to load on webui
      #additional_plugins_dir  
    
    }

    my graphite.cfg

    Code:
    ## Module:   graphite
    ## Loaded by:  Broker
    # Export host and service performance data to Graphite carbon process.
    # Graphite is a time series database with a rich web service interface, viewed
    # as a modern alternative to RRDtool. http://graphite.wikidot.com/start
    define module {
      module_name   graphite
      module_type   graphite_perfdata
      host      192.168.1.12
      port      2004 ; 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
    }
    And here is the js error
    Code:
    GET http://192.168.1.12:7767/static/eltd...nebuttons.css_ 404 (Not Found) CPU%20Stats:40
    Show the tab tabs.js:4
    GET http://192.168.1.12:7767/static/imag...c-host/tag.png 404 (Not Found) jquery.js:2474
    jQuery.extend.attr jquery.js:2474
    jQuery.extend.access jquery.js:828
    jQuery.fn.extend.attr jquery.js:2153
    create_img tags.js:42
    add_tag_image tags.js:50
    (anonymous function) CPU%20Stats:260
    GET http://192.168.1.12:7767/static/imag...ux-ssh/tag.png 404 (Not Found) jquery.js:2474
    jQuery.extend.attr jquery.js:2474
    jQuery.extend.access jquery.js:828
    jQuery.fn.extend.attr jquery.js:2153
    create_img tags.js:42
    add_tag_image tags.js:50
    (anonymous function)

    Thanks in advance

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: [2.0.3] No graph

    And what about graphite-ui module? (graphite is for exporting the data into graphite, graphite-ui is to display them in your webui)
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3

    Re: [2.0.3] No graph

    I've put it on my webui conf (well it's ui-graphite and not graphite-ui)
    Code:
     
     modules	ui-graphite,auth-htpasswd,SQLitedb
    and i've installed it too

  4. #4
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: [2.0.3] No graph

    So look at your broker log, maybe in debug level, it can help because here we are only vewing the result, not the root cause
    No direct support by personal message. Please open a thread so everyone can see the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •