Ad Widget

Collapse

Extending Map Labels

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WannaBe
    Junior Member
    • May 2015
    • 5

    #1

    Extending Map Labels

    Hello,
    I'm using Zabbix ver. 3.4.7 and I'd like to extend map labels (I'm using map as default overview of mine System, but after updating to this version I can't see all of the required information) . In version 3.0 I was able to extend labels by adjusting configuration in file /usr/share/zabbix/include/items.inc.php. But it seems that structure of this file has changed and I can't see this section anymore (nor I can understand it).

    Example:
    Original value of item ( section in label - {host:item.last()} ):
    System tracks: 2
    QNH setting is invalid


    What I see in label:
    System tracks: 0
    QNH...


    Is there a way to "fix" this?

    Regards,

    Petr
  • WannaBe
    Junior Member
    • May 2015
    • 5

    #2
    Noone has any idea?

    Comment

    • Grubjack
      Junior Member
      • Aug 2020
      • 3

      #3
      Found the solution.

      Commented out 3 lines in the file /usr/share/zabbix/include/items.inc.php :

      # if ($trim && mb_strlen($value) > 20) {
      # $value = mb_substr($value, 0, 20).'...';
      # }

      Thanks.

      Comment

      Working...