Ad Widget

Collapse

Graph widget - data is trimmed when hovering with the mouse

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andreas777
    Junior Member
    • Jul 2022
    • 16

    #1

    Graph widget - data is trimmed when hovering with the mouse

    Hi there!

    I have a graph widget for ICMP loss.
    There are 28 hosts and for each host the ICMP loss value.

    When I am hovering with the mouse over the graph a pop-up shows me some more details, BUT not all hosts are shown. As you can see from my screenshot there is one host with ICMP loss higher than 20%, but in the pop-up, this host isn't shown. This is quite useless, sadly.

    Is this happening on purpose or is it a bug?
    If this is happening on purpose, is there a setting where I may adjust the number of displayed hosts?

    I really appreciate any help.

    Greetings

    Andreas​
    Attached Files
  • jtnfoley
    Member
    • Mar 2022
    • 76

    #2
    Had to do the same thing for a different reason recently.
    Crediting the answer I found: https://www.zabbix.com/forum/zabbix-...nd-on-my-graph

    Edit /usr/share/zabbix/include/defines.inc.php
    Find and change the number of rows:

    // widget defaults
    define('ZBX_WIDGET_ROWS', 30);

    ​(I opted to set to 30 for my purposes. Default is 20.)

    Comment

    • andreas777
      Junior Member
      • Jul 2022
      • 16

      #3
      Hi jtnfoley!

      Thank you very much for the answer!
      The directory "zabbix" under /usr/share doesn't even exist at my zabbix-server. Is there maybe another location for this file or am I supposed to create the directories and the file?

      Greetings

      Andreas

      Comment

      • jtnfoley
        Member
        • Mar 2022
        • 76

        #4
        On any UNIX/Linux:
        Code:
        find / -name defines.inc.php -print

        Comment

        • andreas777
          Junior Member
          • Jul 2022
          • 16

          #5
          Aaaah I were in the false directory - forgot that it is a docker container. Of course I used "find" but in the false path.
          Thank you!

          Comment

          • jtnfoley
            Member
            • Mar 2022
            • 76

            #6
            Ha! I'm quite a bit older than docker, I forgot that was an option.

            Comment

            Working...