Ad Widget

Collapse

Eigth Items in a stacked graph?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Marcos Cabrera
    Junior Member
    • May 2008
    • 4

    #1

    Eigth Items in a stacked graph?

    Hi,

    I am not sure if this is a bug, a problem with my config or something to develope in my application.

    Is there anyone who has created an stacked graph with more than 8 items?

    I have tried more than once, and the problem is always there: I create a graph, with the Graph Type as stacked. Afterwards, I begin to add Items and everything goes correct, until I reached the eigth item to add. At that point, when I clicked over "Add" button, I receive the classical internet explorer error.

    Is it hardcoded that maximum value any way?

    Thanks.

    Marcos
    Attached Files
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Check the logs. I don't know where a php error would show up but my first hunch is you're running out of memory. Edit your php.ini file and increase the memory. Restart apache and see if that works.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      Use FireFox. IE has limitation on url length.
      Zabbix | ex GUI developer

      Comment

      • Marcos Cabrera
        Junior Member
        • May 2008
        • 4

        #4
        Thanks;

        I have changed mi php.ini:
        memory_limit = 256M ; Maximum amount of memory a script may consume (128MB)
        In the beginning I had 128M.

        Afterwards I have tried to add the eigth item with FireFox and everything goes correct. But I think that even FireFox has its own limit in the url accepted, because I have added until the sixteenth element without any problem, but when I tried to add the seventeenth I received the following error.
        Attached Files

        Comment

        • Aly
          ZABBIX developer
          • May 2007
          • 1126

          #5
          17 graph Items.. Do really require such graph?

          P.S. it's not firefox limitation now, it's http server cannot handle such query.. Could be some request limitation, in my tests I've added more than 20 items without any problems..
          Last edited by Aly; 22-05-2008, 11:16.
          Zabbix | ex GUI developer

          Comment

          Working...