Ad Widget

Collapse

Displaying the same day each week on graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ptera
    Senior Member
    • Oct 2014
    • 109

    #1

    Displaying the same day each week on graphs

    Upper management came to me and said since zabbix is so customizable they wanted to know if they could have one screen show the same graph but at different days.

    So the first graph of unit A's bandwidth on Monday
    the next graph would be unit A's bandwidth on the Monday before that
    the next graph would be unit A's bandwidth on the Monday before that
    and so on.

    Any one know how to accomplish this?
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Check the answer from thread


    It was nicely describe the example of using the keywords period= and stime= to get the graph for specific date.
    Also there exist one more (decorative?) option
    • border= [0 - show the border around graph / 1 - hide the border around graph]


    BTW, you can automatically create the HTML page for your management every hour with updated links to correct graphs.
    Last edited by aib; 02-02-2015, 22:58.
    Sincerely yours,
    Aleksey

    Comment

    • ptera
      Senior Member
      • Oct 2014
      • 109

      #3
      Does not work

      I enter

      ....zabbix/charts.php?fullscreen=0&groupid=8&hostid=10120&per iod=3600&graphid=1640

      It changes to

      zabbix/charts.php?fullscreen=0&groupid=8&hostid=10120&gra phid=1640

      every attempt to add period or stime yields the same behavior
      version 2.4

      Comment

      • aib
        Senior Member
        • Jan 2014
        • 1615

        #4
        First of all, if you use period=, don't forget to use stime= to describe, from which date of year you would like to collect data for graph

        Then, if you need only(!) graph without any additional framing, use chart2.php instead of charts.php

        Code:
        http://zabbiz_server/zabbix/chart2.php?graphid=525&period=86400&stime=20150101124840
        Sincerely yours,
        Aleksey

        Comment

        • ptera
          Senior Member
          • Oct 2014
          • 109

          #5
          Awesome - thanks

          Comment

          • aib
            Senior Member
            • Jan 2014
            • 1615

            #6
            Anytime.
            Sincerely yours,
            Aleksey

            Comment

            Working...