Ad Widget

Collapse

ZABBIX 1.1beta10: Known issues & patches

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #1

    ZABBIX 1.1beta10: Known issues & patches

    The following issues confirmed at the moment:

    1. Graphs are empty for periods of more than 24h (confirmed)

    Fix file include/classes/graph.inc.php, function selectData(), replace the IF by the following code:

    Code:
    if($this->period<=24*3600)
    {
     array_push($sql_arr,
     "select itemid,round(900*(mod(clock+$z,$p))/($p),0) as i,count(*) as count,avg(value) as avg,min(value) as min,max(value) as max,max(clock) as clock from history where itemid in ($str) and clock>=".$this->from_time." and clock<=".$this->to_time." group by itemid,round(900*(mod(clock+$z,$p))/($p),0)",
     "select itemid,round(900*(mod(clock+$z,$p))/($p),0) as i,count(*) as count,avg(value) as avg,min(value) as min,max(value) as max,max(clock) as clock from history_uint where itemid in ($str) and clock>=".$this->from_time." and clock<=".$this->to_time." group by itemid,round(900*(mod(clock+$z,$p))/($p),0)");
    }
    else
    {
     array_push($sql_arr,
     "select itemid,round(900*(mod(clock+$z,$p))/($p),0) as i,sum(num) as count,avg(value_avg) as avg,min(value_min) as min,max(value_max) as max,max(clock) as clock from trends where itemid in ($str) and clock>=".$this->from_time." and clock<=".$this->to_time." group by itemid,round(900*(mod(clock+$z,$p))/($p),0)");
    }
    2. SQL errors in frontend (confirmed)

    "Go to latest data and select Graph (for example processor load). After this i click monitoring link (below zabbix logo) to get back to mainpage i get these errors."

    Fixed in CVS. Wait for in 1.1beta11.

    3. Windows agent returns wrong data for agent.ping (confirmed)

    Fixed in CVS. Download binary ZabbixW32.exe from CVS or wait for 1.1beta11.

    4. Duplicate graphs when adding graph elements to a template (confirmed)

    Fixed in CVS. Wait for 1.1beta11.

    5. ZABBIX executes all actions (confirmed)

    Try attached actions.c. Replace src/zabbix_server/actions.c, recompile ZABBIX server and report any success/failure stories.

    6. Overview does not expand macros $1, $2, ... (confirmed)

    Fixed in CVS. Wait for 1.1beta11.
    Attached Files
    Last edited by Alexei; 23-05-2006, 17:35.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #2
    Cool, thanks, works like a charm
    EriSan
    Zabbix Certified Specialist

    Comment

    • dminstrel
      Member
      • Apr 2005
      • 72

      #3
      At which line number? Is it the IF that starts by this:

      if(isset($this->stime))
      {
      # $this->to_time=$this->stime+24*3600;


      Thanks!

      Comment

      • erisan500
        Senior Member
        Zabbix Certified Specialist
        • Aug 2005
        • 285

        #4
        No, it's the if that starts like: if($this->period<=24*3600)
        (line 742)
        EriSan
        Zabbix Certified Specialist

        Comment

        • tibor
          Junior Member
          • May 2006
          • 7

          #5
          Thanks, works great!

          Comment

          • marius
            Member
            • Apr 2006
            • 47

            #6
            is it me, or is the new actions.c not sending out any emails?

            Comment

            • n9yty
              Junior Member
              • May 2006
              • 1

              #7
              src/libs/zbxsysinfo/unknown/net.c

              There are two functions defined NET_IF_OUT. NET_IF_TOTAL is missing, so I assume the second NET_IF_OUT should be NET_IF_TOTAL ?

              Comment

              • Wido
                Junior Member
                • Mar 2006
                • 23

                #8
                Originally posted by marius
                is it me, or is the new actions.c not sending out any emails?
                Same problem here.

                Comment

                • jamkad
                  Junior Member
                  • Sep 2005
                  • 27

                  #9
                  Originally posted by Alexei
                  The following issues confirmed at the moment:

                  5. ZABBIX executes all actions (confirmed)

                  Try attached actions.c. Replace src/zabbix_server/actions.c, recompile ZABBIX server and report any success/failure stories.
                  Is this bug with email also fixed with this new actions.c?
                  - email shows allways trigger ON, even if it was OFF

                  Comment

                  Working...