CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Actually gthe, the email only seems to work if forced from the rules window - the CAMM poller doesn't seem to pick this up. The rule is definitely working, as in the syslogs, I can see an email envelope icon on the right hand side, but I do not recieve any email.mcutting wrote:Works great - thanks.
Glad it wasn't me going mad !
If I run the rule manually, it seems to work (although it sends a load of emails, which seems to be by design)
Any ideas ?
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Here we go - a bit long winded, but..gthe wrote:I need cacti debug log for poller and force runs.
Code: Select all
RULE EXECUTED MANUALLY
09/15/2009 08:18:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:18:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:18:47 AM - camm: Poller[0] - Found count records==[1627]
09/15/2009 08:18:47 AM - camm: Poller[0] - SQL where conditions=[message like '%Cisco CallManager: 3:%' AND `syslog`.`plugin_camm_syslog`.`status`=2]
09/15/2009 08:18:47 AM - camm: Poller[0] - Process already processed record (force execute)
09/15/2009 08:18:47 AM - camm: Poller[0] = Start process rule id=[134]
POLLER RUNNING
09/15/2009 08:25:47 AM - camm: Poller[0] S3.1 The next syslog Tree to DB run time has been determined to be NOW
09/15/2009 08:25:47 AM - camm: Poller[0] S3. Checking to determine if it's time to run AutoCreate Tree Menu.
09/15/2009 08:25:47 AM - camm: Poller[0] S2.1 The next AutoPurge process run time has been determined to be at '2009-09-15 8:25:48'. Last run time was '2009-09-15 8:10:48'
09/15/2009 08:25:47 AM - camm: Poller[0] S2. Checking to determine if it's time to run AutoPurge process.
09/15/2009 08:25:47 AM - camm: Poller[0] S1.3 Use syslog pre table. Move processed records to main syslog table
09/15/2009 08:25:47 AM - camm: Poller[0] Alert Rule 'SRST-Alerts' - Email Action - has been activated without records
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%SRST%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[124]
09/15/2009 08:25:47 AM - camm: Poller[0] Alert Rule 'KCC was unable to form a complete spanning tree' - Email Action - has been activated without records
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '% Knowledge Consistency Checker (KCC) was unable to form a complete spanning tree%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[129]
09/15/2009 08:25:47 AM - camm: Poller[0] Alert Rule 'KCC has detected problems' - Email Action - has been activated without records
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%Knowledge Consistency Checker (KCC) has detected problems%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[128]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%TermServDevices: 1111%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[109]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%sshd%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[110]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[9]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%Cisco CallManager: 3:%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[134]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like 'MRM Service:%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[112]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%Cannot format event ID%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[117]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%console%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[108]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[3]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[(((message like '%SYSTEM: STATS%' OR message like '%SYSTEM: camm%' ) OR message like '%SYSTEM: boost%' ) OR message like '%SYSTEM: thold%' ) AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[125]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%Authentication failure%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[113]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[2]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%sudo%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[106]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[8]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%SCRUTINIZER:%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[126]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[0]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[(((message like '%6398%' OR message like '%7076%' ) OR message like '%6482%' ) OR message like '%6102%' ) AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[121]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[4]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%print%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[111]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[5]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like '%cron%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[107]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[23]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like 'snmpd%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[105]
09/15/2009 08:25:47 AM - camm: Poller[0] -3 Delete records.
09/15/2009 08:25:47 AM - camm: Poller[0] - Select records to process = [1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Found count records==[3076]
09/15/2009 08:25:47 AM - camm: Poller[0] - SQL where conditions=[message like 'Security%' AND `syslog`.`plugin_camm_syslog_incoming`.`status`=1]
09/15/2009 08:25:47 AM - camm: Poller[0] - Process only new records
09/15/2009 08:25:47 AM - camm: Poller[0] = Start process rule id=[100]
09/15/2009 08:25:47 AM - camm: Poller[0] S1.2 Found 3156 new syslog messages to process
09/15/2009 08:25:47 AM - camm: Poller[0] S1.2 Found new traps to process
09/15/2009 08:25:47 AM - camm: Poller[0] S1.1 Use SYSLOG component
09/15/2009 08:25:47 AM - camm: Poller[0] S1. Found 18 camm rules to process
09/15/2009 08:25:47 AM - camm: Poller[0] S0. About to enter camm poller processing
09/15/2009 08:25:47 AM - camm: Poller[0] S0. Found enabled DEBUG mode. Output will be verbose
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting, ah yes! You use pre-table!
Here is the fix (I hope):
or use this file with fix:
Here is the fix (I hope):
Code: Select all
ALTER TABLE `syslog`.`plugin_camm_syslog_incoming` MODIFY column `alert` SMALLINT(3) unsigned NOT NULL default '0' ;
- Attachments
-
- setup_v1.6.4b.rar
- (11.25 KiB) Downloaded 141 times
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
[size=75]Sorry for my English. [/size]
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Thanks - just implemented the below
Will revert shortly.
Code: Select all
ALTER TABLE `syslog`.`plugin_camm_syslog_incoming` MODIFY column `alert` SMALLINT(3) unsigned NOT NULL default '0' ;
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 2 guests