Date created: Thursday, October 29, 2015 1:22:39 PM. Last modified: Wednesday, April 12, 2017 8:36:50 AM

Cacti 95th Alerts

This is a plugin for Cacti which periodically (once a month on the 1st for example) runs through a MySQL table of Cacti graphs and calculates the 95th percentile usage for the previous month. It will compile an email of all links that were over the contracted 95th percentile value (and by how much).

Call the index.php via a cron job to generate the monthly email, othewise in the browser it allows one to add new connections and generate graph stacks: /usr/bin/php -f /usr/share/cacti/site/plugins/alert95th/index.php "action=report&reportyear=`date +%Y`&reportmonth=`date +%m -d "1 month ago"`&email=monthly-95th@network.net" > /dev/null 2>&1

Download.

 

 


Previous page: MySQL Admin Notes
Next page: Cacti GraphExport