Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
SELECT host, date(`sys_date`) as day_noumber, count(*) as count_rows FROM syslog_ng.plugin_camm_syslog group by host, date(`sys_date`) HAVING count_rows > 1200
Also turn debug mode in camm settings in enable, "Data Purge Timing" in 10 min and check/post cacti log after "Auto purge process" complete.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
SELECT host, date(`sys_date`) as day_noumber, count(*) as count_rows FROM syslog_ng.plugin_camm_syslog group by host, date(`sys_date`) HAVING count_rows > 1200
Also turn debug mode in camm settings in enable, "Data Purge Timing" in 10 min and check/post cacti log after "Auto purge process" complete.
Gthe - Any developments on the above ? Also, I've just noticed that the templates included also seem to be broken (on my system anyway). There are several errors in the log (I don't have these handy at the moment).
In particular, I am looking for the SYSLOG graphs..
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
I only have one minor issue - on the stats page in the camm plugin my graph doesn't appear (I get the standard "the rrd file does not exist" image.
I noticed that when I installed the camm plugin it didn't install the templates for the graphs nor did it create the graphs. So manually I did the following:
1. Imported the templates from the /plugins/camm/addons/graphs directory.
2. Copied the ss_cammpoller.php file from that same directory to /scripts.
3. chown apache:apache ss_cammpoller.php
4. chmod +755 ss_cammpoller.php
5. Added each of the graph templates that started with "Local - CAMM" to localhost and then ticked them to graph them.
Once I did that I noticed that my poller was logging errors. After looking around I found that the "Local - CAMM Poller Rows Statistics" data input method refers to a script that does not exist. It refers to "/scripts/ss_cammtpoller.php ss_cammpoller". Is this a typo or should there be a ss_cammtpoller.php file?
After making those changes I noticed that only the "Local - CAMM Poller Time Statistics" graph works. The graph on the Stats page for CAMM still doesn't work.
Could you please let me know if that file name was a typo or where I can find a copy of the ss_cammtpoller.php file?
I'm currently using version 1.5.3 of CAMM and looking at the rule processing. When I tick the box next to "Mark Record" it seems to only accept a number.
When I put in a number and run a rule that does match something in syslog I don't notice any difference in what is shown in syslog. What is this function intended for?
I was assuming that the Mark would either create a new folder under that host on the Syslogs with that Mark OR would change something in the description or message tab.
Also is there a list of any variables that can be used in the Mail messages?
pthaynes wrote:First thanks for making an excellent plugin.
I only have one minor issue - on the stats page in the camm plugin my graph doesn't appear (I get the standard "the rrd file does not exist" image.
I noticed that when I installed the camm plugin it didn't install the templates for the graphs nor did it create the graphs. So manually I did the following:
1. Imported the templates from the /plugins/camm/addons/graphs directory.
2. Copied the ss_cammpoller.php file from that same directory to /scripts.
3. chown apache:apache ss_cammpoller.php
4. chmod +755 ss_cammpoller.php
5. Added each of the graph templates that started with "Local - CAMM" to localhost and then ticked them to graph them.
Once I did that I noticed that my poller was logging errors. After looking around I found that the "Local - CAMM Poller Rows Statistics" data input method refers to a script that does not exist. It refers to "/scripts/ss_cammtpoller.php ss_cammpoller". Is this a typo or should there be a ss_cammtpoller.php file?
After making those changes I noticed that only the "Local - CAMM Poller Time Statistics" graph works. The graph on the Stats page for CAMM still doesn't work.
Could you please let me know if that file name was a typo or where I can find a copy of the ss_cammtpoller.php file?
Thanks in advance for any help.
I saw these same errors also. It looks like the templates are busted - I reported this in a previous post.
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
mcutting wrote:Gthe - Any developments on the above ? Also, I've just noticed that the templates included also seem to be broken (on my system anyway). There are several errors in the log (I don't have these handy at the moment).
In particular, I am looking for the SYSLOG graphs..
BUMP -Any news ?
Thanks
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
1. Graphs do not work yet (it is known issue from first post)
2. pthaynes - mark used for marking record - i.e. add marker in `mark` filed of record. It was old feature request and was used for construction of graph on markers. But if you have an idea on another of application - I am ready to listen
3. mcutting - Still at least week I will be occupied by work on other plugin, and only then I can correct errors. Sorry.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
GTHE - thanks for the reply. I had another look at my syslog data - it seems that the "Mark" value updates the alert field for a syslog entry in the database. When I look at the syslogs in the web browser I can see the column marked "Alert" but it doesn't actually show the value of the marker.
If I double click on a syslog entry I can't see nor edit the "Alert" value.
My thoughts for using the field were that I could flag syslogs or SNMP traps that related to low priority or "non-issues" with a marker so that we could filter them out or sort the syslogs by that field. The benefit of doing that rather than deleting them is that if we do later find out that there really is a problem we can un-filter those syslogs and use them for troubleshooting.
This is not a high priority modification for me GTHE, more of a nice thing to have in the long term.
I found a bug with the recreate tree that seems didn't work properly.
If I add new template in Cacti I'm not able to see the log in the correct tree.
The system create the correct folder for the device but inside it doesn't collect any data and I can only see the log of the device with a query from the "global search" or directly in the root directory (syslog).
So I tried to uninstall and reinstall the camm plugin and now all is ok, any device in the right folder with the right log, I lost only the rule with this trick and I have to reimport them from a previous backup.
In the next release do you think to solve that problem?
Tnx again for your job.
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map