Request for 'Events' Feature

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
jkukis
Posts: 29
Joined: Mon Sep 24, 2007 1:41 pm

Request for 'Events' Feature

Post by jkukis »

I recently setup flowscan and noticed it has an ability to add 'Events' to it's RRD graphs. I was thinking this would be a great addition to Cacti, perhaps as a plugin. All the 'events' feature does is add a vertical rule to the RRD graph at a specified date and time, and then adds a comment for that VRULE at the bottom of the graph.

Examples of when this could be used are:
A)I just upgraded the IOS on our router and want to mark that point in time so we can look out for/explain changes in cpu utilization or memory
B)A huge event just happened(DOS, software release, Air Conditioning died), let's mark that point in time so we know what happened when looking back at the graph.

I'm attaching a picture from a flowscan power point that Dave Plonka created for reference.

Any thoughts?
Attachments
Picture1.png
Picture1.png (267.5 KiB) Viewed 4907 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

So, this is your own modification to the code. Do you wish to share?

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?
aleu
Cacti User
Posts: 216
Joined: Mon Dec 11, 2006 10:17 am

Post by aleu »

TheWitness wrote:So, this is your own modification to the code. Do you wish to share?

TheWitness
This indeed would be a very nice addon.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This is a simple VRULE plugin hook used by THold as well. However, I like the whole idea of adding artibrary notes to a graph after major change events to mark the re-baselining events.

I would write it myself, if I had the time. Time is fleeting these days however.

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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TheWitness wrote:This is a simple VRULE plugin hook used by THold as well.
What is?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you use THold 0.41, you can record your THold Breaches and Restoral Events on the Graph using VRULE's. It's pretty cool. The graph above is simply a table that contains the local_graph_id's, a message and a timestamp. When you view a graph, you simply look at the start and end times for the graph Range and add VRULES and GPRINTS to the RRDtool Graph Syntax that align on the graph.

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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Ahhh. I can't use Thold 0.4.1 until I find a couple of days to repeat some work I did on 0.3.9. Sounds interesting though.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I recently modified THold 0.41/0.42 to allow arbitrary RPN's using Tobi's syntax. There are a few RPN functions that I don't support but for a project that is coming up, I will have to use DSSTATS to extend the support using the hourly cache.

I called the feature RPN Expression. You simply key in the expression free form, like a CDEF and THold on that. I plan to use if for the project I emailed you about last night.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest