Cacti (home)ForumsRepositoryDocumentation

Monitor

Author: Jimmy Conner
Homepage: cactiusers.org
Download: http://cactiusers.org/downloads/

This plugin requires the Plugin Architecture

/*******************************************************************************

Author ......... Jimmy Conner
Contact ........ jimmy@sqmail.org
Home Site ...... http://cactiusers.org
Program ........ Monitoring for Cacti
Version ........ 0.8
Purpose ........ Simple Whats-Up-Gold replacement

*******************************************************************************/

----[ Purpose

This plugin allows you to view at a glance all your Cacti hosts, and will alert you audibly when something is down

----[ Features

Audible alert
Can set permissions on who can view
Can disable monitoring of a host

----[ Installation

Install just like any other plugin, just throw it in the plugin directory,
in a folder called monitor.
Edit your includes/config.php and add it to your $plugins list, and you are rolling

To enable the faster poller, you will need to create a cron job that runs every minute
and runs fast_poller.php using the php executable
For example on Fedora Core 3, my cron job looks like
*/1 * * * * php /var/www/html/plugins/monitor/fast_poller.php > /dev/null 2>&1

----[ Possible Bugs?

If you figure out this problem, let me know!!!

----[ Future Changes

Got any ideas or complaints, please e-mail me!

----[ Changelog

--- 0.8 ---
Add a muted icon to show what hosts are currently muted
Only show hosts that have had at least 2 pollings. This stops it from alerting on new hosts that haven't been properly polled yet.
All the selecting of "None" as a sound to not have it play an alert
Move from using cookies to using session variables
Allow the display of a Host Down Message
Add fix for not showing disabled thresholds
Lots of code cleanup
Add a patch by fri that allows grouping by tree / header and does user auth checking

--- 0.7 ---
#0000044 - Modify device image to link to device's graphs
#0000052 - If the Threshold plugin is running, change the host color to Orange if a threshold is breached
Add option to select an different alarm sound from the available wav and mp3 files in the sounds directory
Update tab image to better resemble the original cacti images
Add option to add an icon legend to the Monitor display
Moved sounds to their own folder
Fixes to the fast poller

--- 0.6 ---
Allow guest access to the Monitor Tab
#0000013 - Fix issues with database names with uncommon characters by enclosing in back-ticks

--- 0.5 ---
Fixed an issue with the mute button action url (thanks Tut'!)
Fixed an issue with the monitor page and includes
Fixed an issue with the Fast Poller paths

--- 0.4 ---
Added Javscript Mouseover Tooltips. This replaces the title attribute
which I used before (Newlines didn't work in Firefox)

--- 0.3 ---
Added Settings for Refresh Rate and Width of Hosts
See Settings >> Misc
Added Faster Poller so that you can know immediately if something is down

--- 0.2 ---
Fix for navigational line

--- 0.1 ---
Initial release