Ad Widget

Collapse

Creating Screens for Slide Shows - Graphing Feature Request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Cotrone
    Junior Member
    • Feb 2009
    • 21

    #1

    Creating Screens for Slide Shows - Graphing Feature Request

    I couldn't find when you are adding graphs to a screen how to change the default sample from 1h to 1d for example. On the normal graphs you can but when creating a screen there wasn't an option for sampling.

    Thanks!
  • Mike Cotrone
    Junior Member
    • Feb 2009
    • 21

    #2
    I found it

    I found how to default the graphs to 1 day vs. 1 hour.

    old:

    define(‘ZBX_MIN_PERIOD’ , 3600); // ~1 hour

    define(‘ZBX_MAX_PERIOD’ , 12*31*24*3600); //~1 year

    define(‘ZBX_PERIOD_DEFAULT’ , ZBX_MIIN_PERIOD);

    new:

    define(‘ZBX_PERIOD_DEFAULT’, 24*3600);

    Comment

    • bbrendon
      Senior Member
      • Sep 2005
      • 870

      #3
      It seems there are more and more goodies in that file to tweak.
      Unofficial Zabbix Expert
      Blog, Corporate Site

      Comment

      • georgew
        Member
        • Mar 2008
        • 50

        #4
        I figured out the the "define(‘ZBX_PERIOD_DEFAULT’, 24*3600);" setting, and set mine to that (before reading this thread) but it didn't do what I wanted... it didn't seem to work for my screens on a 1.6.4 system...

        I ideally would like to set it on a per-graph basis in my screens...
        Last edited by georgew; 23-05-2009, 07:20.

        Comment

        Working...