Haloe


Descriptionsyslog plugin for Cacti
Plugin AuthorJimmy Conner
Versionv0.4
Release Date04/24/06
Original ConceptOriginally released as aloe by: sidewinder Modified by: Harlequin

Documentation
The Haloe (aka Syslog) plugin is an cacti integrated interface to a MySQL database that can be used to log events from scripts, cacti, or whatever.
It is the console component for a light weight monitoring addon for cacti. Because the database schema is based on syslog,
it can be configured to use a syslog-ng or kiwi's syslogd for windows database so events can be correlated.

You will need an external program such as MSyslog, Syslog-NG, or Kiwi Syslogd to log the events to the MySQL database. This plugin is used to view and alert on events only, not the capturing of them.

Tips:
The database and tables that are used by haloe need to be imported before you can use this plugin.
cd into your plugins/haloe directory and run the following commands
mysqladmin --user=root create syslog
mysql syslog < syslog.sql
(adjust username and password as necessary)

NB MySQL 4.1+ no longer needed, due to the use of the CURRENT_TIMESTAMP option being removed :)

Tables
syslog_incoming: This is the table that all new messages are written to, so for instance, if you are using msyslog, or syslog-ng, this is where they would need to write to. We have seperate tables for "new" and "processed" syslog messages, so that we can process alerts and removals before they are inserted into the normal syslog table. This is done every polling cycle. The "status" column is absolutely required, so that we can make sure we don't have new syslog messages slip past the filters after they have ran, but before they are moved.

syslog: these are all the messages that made it past the "removal" stage and made it into the viewing database. When you view the syslog, these are what you see. It is updated every 5 minutes.

syslog_alert:

syslog_remove:



Download
Feature Request/TODO List
Bug Tracker


CategoryPlugins
Page was generated in 0.0238 seconds