CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Moderators: Developers, Moderators
I was on version 1.5.4 previously and been awhile since I did updates, and tried to use the 1.6.3 update and I uninstalled the 1.5.4 one and moved the camm folder to a temp location and unarchived the 1.6.3 camm plugin into the plugins folder and installed it, enabled it and set it up.
Now the tree doesn't show any items and the syslogs show up. If I double click on a syslog message it saids loading for a minute or so and displays a blank window. The recreate tree item just sits there and the tree doesn't seem to get populated with 1.6.3.
I also see windows pop up sometimes about transaction aborted.
If I uninstall camm 1.6.3 plugin and put the 1.5.4 version back, everything is fine.
I am using this with version 0.8.7d of cacti and PA 2.4.
Any ideas on what I need to do to get 1.6.3 working right?
Now the tree doesn't show any items and the syslogs show up. If I double click on a syslog message it saids loading for a minute or so and displays a blank window. The recreate tree item just sits there and the tree doesn't seem to get populated with 1.6.3.
I also see windows pop up sometimes about transaction aborted.
If I uninstall camm 1.6.3 plugin and put the 1.5.4 version back, everything is fine.
I am using this with version 0.8.7d of cacti and PA 2.4.
Any ideas on what I need to do to get 1.6.3 working right?
If I remember correctly - this is repeated the third camm update. Perhaps an error somewhere in the process of updating. And every time all the restored after some time alone.mcutting wrote: Since upgrading to version 1.6.3, AUTOPURGE seems to be broken. I have mine set at 30,000 records, but now have 70,000+ ?
Try to go to the Settings page to change any setting, and click Save. Then change the setting back and save again.
1. Have you cleared your browser cache? (CTRL+F5)erickbe wrote: Any ideas on what I need to do to get 1.6.3 working right?
2. The update does not require removal of the plugin. You can make a copy of the old and then just overwrite the files with new version
--------------------------------------------------------
One more fix (create sql for rule not work)
- Attachments
-
- cacti.plugin.camm-min.rar
- (53.11 KiB) Downloaded 152 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]
This is a good thing.mcutting wrote: Seems to work now after changing settings back and forth ?
But that would define the problem the next time you need to do dump the table [settings] before updating and after. Аnd then compare them.
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]
Ok,
I copied the 1.6.3 over my 1.5.4 and had same sort of issues until I deleted the entries from the syslog db and then stuff started working fine. My syslog was like 2 gig in size so probably just to much data to go through. My Camm settings were at 50,000 though so wonder why the autopurge wasn't working. Is there a way to manually run the purge from the web page? I went in through PhpMyAdmin and just deleted all the records in the syslog table.
I copied the 1.6.3 over my 1.5.4 and had same sort of issues until I deleted the entries from the syslog db and then stuff started working fine. My syslog was like 2 gig in size so probably just to much data to go through. My Camm settings were at 50,000 though so wonder why the autopurge wasn't working. Is there a way to manually run the purge from the web page? I went in through PhpMyAdmin and just deleted all the records in the syslog table.
Also take into account the parameter - [Data purge delay]. Ie poller will delete only those records that are older than this period.erickbe wrote:Ok,
I copied the 1.6.3 over my 1.5.4 and had same sort of issues until I deleted the entries from the syslog db and then stuff started working fine. My syslog was like 2 gig in size so probably just to much data to go through. My Camm settings were at 50,000 though so wonder why the autopurge wasn't working.
At the moment - no, but I will try to do it in the next versionerickbe wrote:Is there a way to manually run the purge from the web page? I went in through PhpMyAdmin and just deleted all the records in the syslog table.
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]
Rule creation under 1.6.3
I just had a need to create a new rule from scratch (first time I have needed to change the "filtering" in one of my camm rules since I upgraded from 1.6.2). I have updated the cacti.plugin.camm-min.js file on my cacti server with the one contained in the rar file above. I have also cleared my browser cache. When I click on the "Done" button on the "Edit filter for rule" I get the little exclaimation mark on the bottom left of my internet explorer window. The cancel button works, it is just the done button that doesn't.gthe wrote:One more fix (create sql for rule not work)
I am using IE7 (in case that makes a difference).
I also noticed a slight cosmetic error - the "Rule order" on the initial rule creation screen is spelled wrongly.
Lastly but not least - it would be nice to be able to copy a rule from within the web interface. Some of my rules have quite complex filtering, and I can see that in the future I will want to copy one of those rules and change just one thing in the filter. I imagine I should be able to do that with an sql statement, it would be nice to be able to do it in the web interface though.
Thanks again for all the work on this plugin.
Regards,
Peter
Re: Rule creation under 1.6.3
you need to select the type of rule (snmptt or syslog) before creating sqlpthaynes wrote:I just had a need to create a new rule from scratch (first time I have needed to change the "filtering" in one of my camm rules since I upgraded from 1.6.2). I have updated the cacti.plugin.camm-min.js file on my cacti server with the one contained in the rar file above. I have also cleared my browser cache. When I click on the "Done" button on the "Edit filter for rule" I get the little exclaimation mark on the bottom left of my internet explorer window. The cancel button works, it is just the done button that doesn't.gthe wrote:One more fix (create sql for rule not work)
I am using IE7 (in case that makes a difference).
Thanks.pthaynes wrote:
I also noticed a slight cosmetic error - the "Rule order" on the initial rule creation screen is spelled wrongly.
ok.pthaynes wrote: Lastly but not least - it would be nice to be able to copy a rule from within the web interface. Some of my rules have quite complex filtering, and I can see that in the future I will want to copy one of those rules and change just one thing in the filter. I imagine I should be able to do that with an sql statement, it would be nice to be able to do it in the web interface though.
Thanks again for all the work on this plugin.
Regards,
Peter
Added to the feature list
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]
Re: Rule creation under 1.6.3
Yes I tried that - also tried changing the rule to "enabled" before doing the sql.gthe wrote:you need to select the type of rule (snmptt or syslog) before creating sql
I also selected an existing rule and attempted to modify it. When I did that I got the same result - an exclaimation mark in the bottom left in Internet Explorer. I'll click on the exclamation mark tomorrow when I am next in front of the machine and see what the error actually says. (I should have done that in the first place).
Thanks for your help.
Regards,
Peter
Re: Rule creation under 1.6.3
gthe,
I have confirmed that the problem definitely happens when I fill in each of the items in order on the rule creation screen. I did find that if I locate a syslog item in the syslog tab and click the "cog" icon the rule creation works fine. I have attached the error message (and screenshots of how I tried to create the rule when it failed) below.
Hope this helps.
Regards,
Peter
I have confirmed that the problem definitely happens when I fill in each of the items in order on the rule creation screen. I did find that if I locate a syslog item in the syslog tab and click the "cog" icon the rule creation works fine. I have attached the error message (and screenshots of how I tried to create the rule when it failed) below.
Hope this helps.
Regards,
Peter
- Attachments
-
- The error message
- error.JPG (26.23 KiB) Viewed 3805 times
-
- Editing the filter
- editfilter.JPG (19.47 KiB) Viewed 3805 times
-
- Adding the rule
- addrule.JPG (28.02 KiB) Viewed 3805 times
Syslog and SNMP Purge
I don't seem to have a problem, my syslog entries and SNMP traps are purging fine.mcutting wrote:Same issue for me - works for a couple of days (after changing settings to something else, then back to what they were), then stops working again.
I am using CAMM plugin version 1.6.3 with the fix from the rar file above.Cacti Version - 0.8.7c
Plugin Architecture - 2.2
Poller Type - Cactid v
Server Info - Linux 2.6.9-78.0.13.ELvm-smp
Regards,
Peter
Who is online
Users browsing this forum: No registered users and 2 guests