dashing-icinga2 blank dashboard

This forum was archived to /woltlab and is now in read-only mode.
  • Hi,


    I am trying to set up dashing on my monitoring server using the guide: https://github.com/Icinga/dash…ga2/blob/master/README.md


    My dashboard appears blank.


    log/thin.log has the following errors:



    I did bundle from dashing-icinga2 as the root user.


    I am not sure if that is causing the problem.

    How can I remove the gems installed from bundle now?


    Thanks for any help.


    Regards,

    Sana

  • it is most likely that you have wrong credentials or a wrong url.


    A 401 always points to one of those errors

    Linux is dead, long live Linux


    Remember to NEVER EVER use git repositories in a productive environment if you CAN NOT control them

  • I now have some data into the log, but my dashboard is still blank.


    Followed the steps here: https://github.com/Icinga/dash…er/README.md#installation


    Are there more steps? Am I missing something?


    Thanks,

    Sana

  • Adding more details,


    Code
    1. gem list --local dashing
    2. *** LOCAL GEMS ***
    3. dashing (1.3.7)


    Code
    1. ruby --version
    2. ruby 2.0.0p648 (2015-12-16) [x86_64-linux]


    Code
    1. git show -1
    2. commit cc03aaafa489ede5a8b12d15e29b7fbef51bb0c8
    3. Merge: 0dd0b58 50e6e59
    4. Author: Michael Friedrich <michael.friedrich@icinga.com>
    5. Date: Thu Jun 29 17:45:41 2017 +0200
    6. Merge pull request #31 from Icinga/feature/changelog
    7. Prepare v1.3.0 and add a Changelog


    Regards,

    Sana

  • I have the following errors from the my browser's console (Chrome):


    Code
    1. Uncaught Error: ExecJS::RuntimeError: node: error while loading shared libraries: libhttp_parser.so.2: cannot open shared object file: No such file or directory
    2. (in /usr/lib64/nagios/plugins/dashing-icinga2/assets/javascripts/application.coffee)
    3. at application.js:1
    4. Uncaught ReferenceError: $ is not defined
    5. at icinga2:25
  • Hi Everyone,


    I was able to resolve the issue by installing the package http-parser.x86_64


    Thanks for help Kevin.


    Regards,

    Sana

  • Hi Sana,


    I had same problem with you.


    And I tried to install the package http-parser.x86_6, but I can not resolve this problem.


    More details:

    Code
    1. gem list --local dashing
    2. *** LOCAL GEMS ***
    3. dashing (1.3.7)


    Code
    1. ruby --version
    2. ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]


    Code
    1. git show -l
    2. commit 48350915bd9bafbeb7dd6c93efbcac5d5a53db12
    3. Merge: cc03aaa 3be36db
    4. Author: Michael Friedrich <michael.friedrich@icinga.com>
    5. Date: Mon Aug 7 18:25:27 2017 +0200
    6. Merge pull request #34 from glauco/handle-socket-error
    7. Handle SocketError

    Many thanks in advance.


    Best regards,

    Jake

  • @lockonstaros:

    You do not tell much.


    What is your linux distribution and which related pakets are installed ?

    What is the exact problem you have ?


    My linux distribution: Centos 6.8 (64bit)


    I had a blank page, after I ran dashing-icinga2.

    (I had screenshot in my Attachments)


    And I got some errors from my browser's console (Chrome):


    Code
    1. Uncaught Error: ExecJS::RuntimeError: node: error while loading shared libraries: libhttp_parser.so.2: cannot open shared object file: No such file or directory
    2. (in /usr/lib64/nagios/plugins/dashing-icinga2/assets/javascripts/application.coffee)
    3. at application.js:1
    4. Uncaught ReferenceError: $ is not defined
    5. at icinga2:25


    Please tell me what some infomation You need.


    Thank you, sru

  • The screenshot says it all - your dashing gem is linked against libuv which is not there. libuv seems to be coming from nodejs, so my question is - how did you setup the requirements in the first place? (exact cli commands)

  • You have Ruby 2.4.x installed on CentOS 6. This is not default's package version inside the base repository.


    That's why I wanted to see what exactly you've done so far. To me it looks like a broken Ruby/NodeJS environment.

  • dnsmichi

    Exactly, I tried to install another version of Ruby on Centos6. Therefore, I did wrong some steps.


    And now,I used dashing-icinga2 on Ubuntu and It's work without any problems.


    Thank you for your help, dmsichi.