Need Statistics for Monday-Friday 8am - 5pm

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
bill
Posts: 2
Joined: Sun Jul 31, 2005 9:52 pm

Need Statistics for Monday-Friday 8am - 5pm

Post by bill »

Can anyone help me get the in/out bits for a router interface, between the times of 8am - 5pm and only on Monday-Friday? Is there an easy way to graph this?

Thanks.
jas0420
Cacti User
Posts: 91
Joined: Thu Jan 13, 2005 3:58 pm
Location: College Station, TX - USA

Post by jas0420 »

I don't think there's a pre-canned "workweek" preset, but you can just change the "from" and "to" dates at the very top of your graph window to whatever time/date range you are after.

To see the total amount of data passing the network during this period, make sure that you are using one of the graph templates that includes the total bandwidth (such as "Interface - Traffic (bits/sec, Total Bandwidth) ) or add the two graph items below to the graph template you are using:

Referencing your "traffic_in" data source:

Code: Select all

COMMENT: Total In: |sum:auto:current:2:auto|
Referencing your "traffic_out" data source:

Code: Select all

COMMENT: Total Out: |sum:auto:current:2:auto|
Jason
bill
Posts: 2
Joined: Sun Jul 31, 2005 9:52 pm

Post by bill »

Yes, but if I change the date/time from say 7/26/05 @ 8:00am start time to
7-30-05 @5:00pm stop time, I get all the time in that period.

I am thinking I could give him daily 8-5 graphs, but it would take a little work to combine them all and average it into one graph.

Thanks for the idea, I will let you know how it goes.
jas0420
Cacti User
Posts: 91
Joined: Thu Jan 13, 2005 3:58 pm
Location: College Station, TX - USA

Post by jas0420 »

Doh! I'm sorry Bill... I misread that to mean he wanted all data from when the shop opened on Monday to when it closed on Friday for some reason. 8-5 daily does make it trickier!

Got to thinking that Threshold has a lot of the functionality already built in to accomplish a lot of this... I just posted an idea on their thread http://forums.cacti.net/viewtopic.php?p=38476#38476 to see if the authors might consider expanding it a bit. I think it'd be cool!

Jason
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests