Ad Widget

Collapse

Old value are not shown on Graph after upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • themons
    Senior Member
    • Feb 2005
    • 110

    #1

    Old value are not shown on Graph after upgrade

    Hi all,

    This week end we upgrade from 1.4.3 to 1.8.3 everything works fine after all but we have notice some difference between the old and the new installation.

    The most strange thing is that on some value if I do a graph (also for simple graph) I am only able to see the last 3H and not more.

    I just try to check in the DB and I see there is old values available. If somebody have an idea.
    Zabbix 1.8.3
    SLES 11 x64

    French Zabbix user
  • themons
    Senior Member
    • Feb 2005
    • 110

    #2
    After investigation I noticed that the folowin function in graphs.inc.php does not return the real laste availlable value

    Code:
    function function get_min_itemclock_by_itemid($itemids){
    ...
    }

    I replace for the moment the code by tis one

    Code:
    function get_min_itemclock_by_itemid($itemids){
        $result = time() - 86400*365;
        return $result;
    }
    While waiting an update

    I am not realy a php developer

    If anybody can help me. I supose it's due to my migration.
    Zabbix 1.8.3
    SLES 11 x64

    French Zabbix user

    Comment

    Working...