Ad Widget

Collapse

How to change the default Graph timeline in 1.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • inko_nick
    Junior Member
    • Mar 2007
    • 12

    #1

    How to change the default Graph timeline in 1.4

    I cannot change the default 1hr' Graph timeline.
    We need a timeline of 5 - 10min.
    In 1.1.7 works line adding in graph.inc.php but the same manipulation don't work on 1.4.
    The error Warning: Incorrect value for Period occur.
    Can anyone help me?

    Thanx.
  • Eugene
    Member
    • Feb 2006
    • 57

    #2
    You can use attached patch.

    You can change next defines in "include/defines.inc.php" :
    ZBX_MIN_PERIOD - minimal period in seconds (recommended 3600)
    ZBX_PERIOD_DEFAULT - default preiod in second (recommended ZBX_MIN_PERIOD)

    Note: period management allowed only by HOURs
    Attached Files

    Comment

    • inko_nick
      Junior Member
      • Mar 2007
      • 12

      #3
      Thanx. Work just fine.

      Comment

      Working...