Ad Widget

Collapse

URL Length problem: server error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elgoretto
    Junior Member
    • Sep 2007
    • 28

    #1

    URL Length problem: server error

    Hi,

    I'm testing Zabbix since a couple of days now, and I succesfully played with the autodiscovery and templates features. Really promising tool, I think I'll adopt it.

    But I just encountered an error while managing templates. I created a new one and tried to copy all triggers from the default SNMPv2 template to mine, and I get a server error about the url command length:
    Server Error
    The following error occurred:

    [code=HTTP_REQUEST_TOO_LONG] The HTTP request is too long. Contact your system administrator.
    And when I look at the guilty URL... ouch, yes, 5092 characters.
    http://virtualx0.labtech.pls.renault.fr/zabbix/triggers.php?hostid=10007&all_triggers=yes&g_trigg erid%5B%5D=12194&g_triggerid%5B%5D=12193&g_trigger id%5B%5D=12184& [...] &form_copy_to=Copy+selected+to+...
    Is there a workaroud concerning apache (2.0.58), or did I manage my templates the wrong way?
    Btw, is there a way to clone a template, including all its items&triggers&so on?
    Last edited by elgoretto; 06-09-2007, 09:02.
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #2
    ARe you using IE or Firefox. IE has a URL length restriction.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      FYI We fixed this in pre 1.4.3 code. Almost everything was converted to POST. You may try the latest frontend from www.zabbix.com/developers.php.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • elgoretto
        Junior Member
        • Sep 2007
        • 28

        #4
        Thx Alexei.

        Post method is exactly what I've read that should be done, concerning this error

        Comment

        Working...