Cacti (home)ForumsDocumentation

CaMM

type:
userplugin
userplugin:
camm
author:
gthe
description:
View/Delete/Alert/Mark/manage SNMPTT (snmp traps and infos) and SYSLOG messages
version:
1.5.3
homepage:
http://forums.cacti.net/viewtopic.php?t=31374
date:
2009-04-20
subtype:
mapping
license:
GPLv2
plugins:
snmpt,
trap,
syslog,
extjs

Download

This plugin can be download here: cacti_plugin_camm_v1.5.3.zip

Purpose

View and manage syslog and/or snmp traps and infos messages Plugin, which allows you to view/delete/alert/mark/manage SNMPTT's (snmp traps and infos) OR/AND SYSLOG's messages stored in a database.

Features

  • Group all messages by [cacti host template]/[hostname]/facility|eventname
  • Powerful filter
  • Online show/hide columns to show
  • Component system - You can enable only syslog or only snmptt or both
  • Rules, which allow delete/email/mark/(execute user php function) on messages based on powerful filter
  • Export selected messages to Excel (xml format)
  • AutoPurge messages based on age of message or maximum count of messages in table

Prerequisites

  • For syslog component it is Syslog-ng (or any other syslog server which is able to write the data in a mysql.

Installation

Install just like any other plugin, just throw it in the plugin directory, in a folder called camm.

1. Install it in [Plugin Management] page of Cacti;

2. Enable plugin;

If you will be use syslog component - it is time to stop. Before to continue further, it is necessary to choose - what variant of syslog shem's to use.

  • At first it is necessary to be defined - to store the data in a separate database (dafault “syslog-ng”) or in Cacti db. After that import sql from camm/sql/plugin_camm_syslog.sql to that mysql DB.
  • The second - it is necessary to decide - to use what scheme for syslog messages - with use of the temp table (Being in memory, it is used for a considerable quantity of entering messages which are then processed and after that are transferred to the main table) or without (default). If you choose the first variant - then import sql file camm/sql/plugin_camm_syslog_incoming_memory.sql

3. Open camm tab to start autoupgrade process;

4. In camm tab open “setting” tab and enable components to use (snmptt, syslog);

For syslog component - check correct values for [syslog db name] and [syslog incoming table] settings.

Usage

Additional Help?

If you need additional help, please go to http://forums.cacti.net/viewtopic.php?t=31374

Possible Bugs?

Screenshots






Personal Tools