Working day average

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
TheKremer
Posts: 11
Joined: Fri Sep 23, 2005 10:43 am

Working day average

Post by TheKremer »

We currently have the routers2.cgi mrtg frontend monitoring out interfaces. It has an option to show the working day average (8-5) of traffic and ping response. Anyone have any idea how to implement something like this in cacti?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Post an example.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
TheKremer
Posts: 11
Joined: Fri Sep 23, 2005 10:43 am

Post by TheKremer »

Here's an example. Since we are an 8-5 shop, the average over those hours is more important than the average for the entire 24 hours. Thanks.
Attachments
Example of Working Day average stats.
Example of Working Day average stats.
working_day_average.JPG (65.32 KiB) Viewed 7544 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What about the weekly, monthly, yearly graphs?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
TheKremer
Posts: 11
Joined: Fri Sep 23, 2005 10:43 am

Post by TheKremer »

It is included on the Weekly and Monthly. I'm assuming it is left off of the yearly due to not having enough samples to make an accurate average.
Attachments
Weekly/Monthly/Yearly graphs
Weekly/Monthly/Yearly graphs
working_day_all.JPG (197.42 KiB) Viewed 7525 times
disorganizer
Cacti User
Posts: 68
Joined: Thu Aug 04, 2005 8:34 am

Post by disorganizer »

we also use this feature and i am also missing it in cacti *g*
especially the traffic sum, peak and average calculated only for the working hours is great.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post the 4 rrdtool graph statements, that generate the graphs above. Then, let's have a look ...
Reinhard
TheKremer
Posts: 11
Joined: Fri Sep 23, 2005 10:43 am

Post by TheKremer »

It is using MRTG and I do not specify the RRDtool commands anywhere. It utilizes the standard MRTG config such as:


Target[x.x.x.x_Fax_x]: #Fax/x:ro_community@x.x.x.x:
SetEnv[x.x.x.x_Fax_x]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="FastEthernetx/x"
MaxBytes[x.x.x.x_Fax_x]: 12500000
WithPeak[x.x.x.x_Fax_x]: ymw
Title[x.x.x.x_Fax_x]: Title
PageTop[x.x.x.x_Fax_x]: <H1>Page header</H1>
routers.cgi*ShortDesc[x.x.x.x_Fax_x]: Description
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well the peak values are not secret. They are just lines using MAX instead of Current. The workday yellow bars are not secret either, just a CDEF with a mother of an area. However, the workday average comment is more complex and requires a detailed analysis of prospective methods.

The calculation of the workday average is likely a fetch based upon the calculation of the workday as specified by the user. For us to deploy this, we need to have a discussion. It's approach would have to be engineered such as our 95th percentile is today. We can't forget that each device can have it's own "workday".

As such, Ian and Tony will both have to chime in.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
TheKremer
Posts: 11
Joined: Fri Sep 23, 2005 10:43 am

Any progress?

Post by TheKremer »

Has there been any more discussion about this? I was just wondering if this was something that would be looked at for a future release.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

No discussion, future release, maybe.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Post by JJX »

it would be really interesting / usefull ;)
cacti rulez!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I will be honest, I don't see this in 0.8.6 tree, but I do see a possibility of seeing it 0.9.0 release of cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Post by JJX »

i hope from 0.8.6g we will jump to 0.9.0 ;)

just kidding :)
cacti rulez!
d.m.wilson
Posts: 15
Joined: Wed Sep 22, 2004 11:49 am

Post by d.m.wilson »

This is something we've been hoping for in Cacti also.

dmw
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests