Ad Widget

Collapse

How to display network traffic graphs only for business hours?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andhi.priono
    Junior Member
    • Jan 2026
    • 1

    #1

    How to display network traffic graphs only for business hours?

    Hi everyone,
    I am looking for a way to filter or display network traffic graphs in Zabbix specifically for business hours. My goal is to see the data only for:
    • Days: Monday to Friday
    • Time: 07:30 to 16:00
    I want to exclude after-hours and weekend data from the visualization to get a clearer view of the network load during work hours.
    Is there a built-in way to achieve this in the Zabbix Dashboard? Thanks!
  • moooola
    Member
    • Jul 2024
    • 30

    #2
    Hello.

    It seems that the thread was deleted in the process of eliminating SPAM. The original post appears to have been resurrected, so I would like to offer my opinion again.

    If you're happy to arrange five graphs corresponding to the days of the week, such as Monday's graph, Tuesday's graph, Wednesday's graph, etc., it will look like this.
    *Assuming the period is from Monday to Friday of last week.

    Set the TimePeriod of the graph widget as follows:

    Monday
    From: now/w-1w+7h+18:00
    To: now/w-1w-6d-8h+1

    Tuesday
    From: now/w-1w+7h+18:00+1d
    To: now/w-1w-6d-8h+1+1d

    Wednesday
    From: now/w-1w+7h+18:00+2d
    To: now/w-1w-6d-8h+1+2d

    Thursday
    From: now/w-1w+7h+18:00+3d
    To: now/w-1w-6d-8h+1+3d

    Friday
    From: now/w-1w+7h+18:00+4d
    To: now/w-1w-6d-8h+1+4d

    To change the target week, change the [-1w] entry.

    From:now/w = start of this week = Monday 00:00:00
    To:now/w = end of this week = Sunday 23:59:59
    With this in mind, the rest is simple addition and subtraction.

    Click image for larger version

Name:	image.png
Views:	10
Size:	359.5 KB
ID:	510730

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4830

      #3
      Trying this...
      Monday
      From: now/w-1w+7h+18:00
      To: now/w-1w-6d-8h+1
      Click image for larger version  Name:	image.png Views:	0 Size:	6.6 KB ID:	510745

      I think that 18:00 there should be just "30m" ??
      Last edited by cyber; Yesterday, 16:37.

      Comment

      Working...