Ad Widget

Collapse

Graph name limit when using item values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Martins
    Junior Member
    • May 2012
    • 25

    #1

    Graph name limit when using item values

    Hello.

    I have problem. When I use item value in graph name, when there is a long name of item value (for example ifAlias), then it didn't show in full length. It happens in both item types when save value in character and text types. How I can solve this problem?



    That -bps in the end I add it after macros in graph name like this {macros}-bps.
  • Ori0n
    Member
    • Dec 2010
    • 35

    #2
    Same issue here. Anybody know if this length limit can be overridden?

    Comment

    • buzzerbeater
      Junior Member
      • Nov 2015
      • 8

      #3
      You can edit /usr/share/zabbix/include/items.inc.php, in which you change the length of the limit, line 887,
      if ($trim && mb_strlen($value) > 20) {
      $value = mb_substr($value, 0, 20).'...';
      }
      then restart zabbix server.

      Comment

      Working...