Results 1 to 8 of 8

Thread: [RESOLVED] No graphs in Thruk

  1. #1

    [RESOLVED] No graphs in Thruk

    I have installed and configured Shinken 1.0 as in;]=pnp4nagios + enabled the module PNP_UI.
    In the host/service definition I have :
    process_perf_data 1
    action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_' target='main' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=_HOST_

    process_perf_data 1
    action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' target='main' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=$SERVICEDESC$

    Also installed pnp4nagios-0.6.16 like this

    Thruk 1.22 is installed from the deb package and started as "www-data". Thruk.conf is default, in thruk_local I have:
    start_page = /thruk/cgi-bin/minemap.cgi
    documentation_link =
    default_theme = Nuvola
    show_config_edit_buttons = 1
    statusmap_default_type = circle
    statusmap_default_groupby = parent
    <Component Thruk::Backend>
    name = Shinken
    type = livestatus
    peer =

    <Component Thruk::Plugin::ConfigTool>
    show_plugin_syntax_helper = 1
    thruk = /etc/thruk/thruk_local.conf
    cgi.cfg = /etc/thruk/cgi.cfg

    The good part is that the graphs are displayed in the Shinken UI and in https://myserver/pnp4nagios. The bad part is that I can't see any graph/extra action button in Thruk. Besides this, Thruk is going ok. So, do you know which might be the problem ?

  2. #2

    Re: No graphs in Thruk

    > Also installed pnp4nagios-0.6.16 like this
    Pnp4nagios was installed with "./configure --with-nagios-user=shinken --with-nagios-group=shinken".

  3. #3

    Re: No graphs in Thruk

    Also I DO NOT have any lines like this into the nagios.cfg:
    or in commands.cfg:
    define command{
    command_name process-service-perfdata-file
    command_line /bin/mv /usr/local/pnp4nagios/var/service-perfdata /usr/local/pnp4nagios/var/spool/service-perfdata.$TIMET$

    define command{
    command_name process-host-perfdata-file
    command_line /bin/mv /usr/local/pnp4nagios/var/host-perfdata /usr/local/pnp4nagios/var/spool/host-perfdata.$TIMET$
    I guess I shouldn't have anyway...

  4. #4
    Senior Member
    Join Date
    Nov 2011

    Re: No graphs in Thruk

    First, there's a bug in the livestatus module. the action_url buttons are not shown.
    It's already corrected, in git.

    Second, you should use NPCD.
    start the NPCD demon shipped with pnp4nagios
    activate the module NPCDMOD for your broker(s)

    and that's it. No need for the lines you're mentionning.

  5. #5

    Re: No graphs in Thruk

    >Second, you should use NPCD.
    >start the NPCD demon shipped with pnp4nagios
    >activate the module NPCDMOD for your broker(s)
    - > already done that from the beginning

    Yep indeed, after upgrading to Shinken 1.0.1. the graphs appeared in Thruk also
    Some minor bugs in the Livestatus module (for Thruk or Multisite UIs)
    Bug fixed, thanks !

  6. #6

    Re: [RESOLVED] No graphs in Thruk

    Well, I seem to have the same issue:

    - NPCMOD is activated in the modules, and npcd is running
    - I have the graphs showing up in the shinken web interface just fine
    - in thruk: no graphs are shown, not even the link to them.

    Versions: shinken 1.0.1, thruk 1.22
    Any hints?

  7. #7
    Junior Member
    Join Date
    Sep 2019
    The forum of the shrinkening scene has the worth beauty and attraction with a lot of greeting and demanding facts. The resolved version has the no issue in rush term papers with the no graphing sense and the technology sense.

  8. #8
    Businesses are aiming to improve and automate their communication in order to manage time and smoothen operations. With most of their systems online like software or website, a SMS gateway is smart tool which enables them to connect their system with a texting service to send real-time notifications and messages.
    Free SMS API Providers

Posting Permissions

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