Count how many times exceeded a threshold

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
arturbotero
Posts: 5
Joined: Fri Mar 08, 2013 3:59 pm

Count how many times exceeded a threshold

Post by arturbotero »

Hi, I need your help, I need to count how many times the variable traffic input or output interface exceeds 800Kbps in one day, is there a way???
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Count how many times exceeded a threshold

Post by browniebraun »

It should be possible to add a small function to a new release of ReportIt that only returns the number of exceeded thresholds.

But today ReportIt already has a similar function which goes one step further and is most probably more interesting:
Take a look at functions f_dot and f_sot, which allow to calculate the duration of threshold respectively the sum of threshold.
In most business cases you would like to calculate the percentage of business time a threshold was exceeded. This can be solved in a flexible way using f_dot in combination with a variable. At the end you will be able to report to your management something like "Traffic load of link A to sales offices XYZ was over 90% of the bandwidth for 80% of the local business time of that office. We should think about an upgrade."

Take a look at the old introduction of ReportIt.
I believe I described that case in that document.

Regards
-Andi
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests