Ad Widget

Collapse

Zabbix 1.5 : 3 errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maruscya
    Senior Member
    Zabbix Certified Specialist
    • Jul 2007
    • 129

    #1

    Zabbix 1.5 : 3 errors

    Hello guys..

    During the tests i met 3 errors .... I'm using a fresh installation, on gentoo system.

    1 - When try copy item from one host to another one... this message appear on the screen

    * array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument[/home/maruscya/public_html/include/items.inc.php:197]
    * mysql_real_escape_string() expects parameter 1 to be string, array given[/home/maruscya/public_html/include/db.inc.php:451]
    * Invalid argument supplied for foreach()[/home/maruscya/public_html/include/items.inc.php:301]
    * Added new item digimon.local:system.cpu.load[,avg1]
    * array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument[/home/maruscya/public_html/include/items.inc.php:197]
    * mysql_real_escape_string() expects parameter 1 to be string, array given[/home/maruscya/public_html/include/db.inc.php:451]
    * Invalid argument supplied for foreach()[/home/maruscya/public_html/include/items.inc.php:301]
    * Added new item digimon.local:system.cpu.load[,avg15]
    * array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument[/home/maruscya/public_html/include/items.inc.php:197]
    * mysql_real_escape_string() expects parameter 1 to be string, array given[/home/maruscya/public_html/include/db.inc.php:451]
    * Invalid argument supplied for foreach()[/home/maruscya/public_html/include/items.inc.php:301]
    * Added new item digimon.local:system.cpu.load[,avg5]
    2 - item agent.version report on web this value "<pre> 1.5 </pre>". It seems a html error.

    3 - When add new host, on top appear "new hostname added" but it is not displayed on screen. I need reload page.

    Thanks !!

    AndreA
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #2
    I see "<pre> 1.5 </pre>" on item type logs.

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      1. Fixed
      2. Fixed
      3. fixed since rev. 5505
      Zabbix | ex GUI developer

      Comment

      • Palmertree
        Senior Member
        • Sep 2005
        • 746

        #4
        Thanks Aly. Testing and will let you know the results.

        Comment

        • Palmertree
          Senior Member
          • Sep 2005
          • 746

          #5
          Problem is fixed but now the table cells have 2 extra carriage returns in them creating a lot of space above and below the contents of the table cell.
          Last edited by Palmertree; 25-03-2008, 16:13.

          Comment

          • Palmertree
            Senior Member
            • Sep 2005
            • 746

            #6
            Is anyone else getting extra white space in the table cells when view items of type log?

            Comment

            • Aly
              ZABBIX developer
              • May 2007
              • 1126

              #7
              They are meant to be. It's affect of tag <pre>
              Zabbix | ex GUI developer

              Comment

              • Palmertree
                Senior Member
                • Sep 2005
                • 746

                #8
                Thanks Aly.

                Comment

                Working...