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 protected]" > /dev/null 2>&1

Download.

 

 


Previous page: MySQL Admin Notes
Next page: Cacti GraphExport