CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Moderators: Developers, Moderators
Color of Critical traps
Hi there,
I've a cosmetic problem since ages with CAMM.
All snmp traps having severity to Critical are colored in white. Normal SNMP traps are in green, informational are in white, and warning are in orange, so no problem for them.
Critical ones should be in Red.
Any idea?
Thanks a lot for your help.
Regards.
I've a cosmetic problem since ages with CAMM.
All snmp traps having severity to Critical are colored in white. Normal SNMP traps are in green, informational are in white, and warning are in orange, so no problem for them.
Critical ones should be in Red.
Any idea?
Thanks a lot for your help.
Regards.
Well after installing on a fresh Ubuntu machine all seems good except when Ubuntu boots I get this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have found that if I delete /sbin/syslogtomysql file the error goes away. here is my scrip info. Did the chmod 755 and chown root:root on it but still not happy. Any thoughts?
Code:
#!/bin/bash
if [ ! -e /tmp/mysql.pipe ]; then
mkfifo /tmp/mysql.pipe
fi
while [ -e /tmp/mysql.pipe ]
do
mysql -u root --password=mypass cacti < /tmp/mysql.pipe
done
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have found that if I delete /sbin/syslogtomysql file the error goes away. here is my scrip info. Did the chmod 755 and chown root:root on it but still not happy. Any thoughts?
Code:
#!/bin/bash
if [ ! -e /tmp/mysql.pipe ]; then
mkfifo /tmp/mysql.pipe
fi
while [ -e /tmp/mysql.pipe ]
do
mysql -u root --password=mypass cacti < /tmp/mysql.pipe
done
gthe,
Thanks for the plugin and for all the help you give.
On the instruction page
http://forums.cacti.net/viewtopic.php?t=26040
Item # 7 says to
shell> chmod 755 /sbin/syslogtomysql
shell> chown root:root /sbin/syslogtomysql
I found that to be a problem with My Ubuntu install. Changed to chmod 777 and all is fine now.
Possibly I should have known that but I am still new at this. Thanks again.
Thanks for the plugin and for all the help you give.
On the instruction page
http://forums.cacti.net/viewtopic.php?t=26040
Item # 7 says to
shell> chmod 755 /sbin/syslogtomysql
shell> chown root:root /sbin/syslogtomysql
I found that to be a problem with My Ubuntu install. Changed to chmod 777 and all is fine now.
Possibly I should have known that but I am still new at this. Thanks again.
-
- Cacti User
- Posts: 141
- Joined: Thu Apr 10, 2008 6:52 pm
no more emails?
I stopped receiving emails from CAMM for syslog or trap events. I have not changed anything. Emails stopped Wednesday night, now it is Friday morning. I just rebooted the whole server and still no emails from CAMM. Emails from cacti for host up and down still comes through fine, but no CAMM emails.
Any ideas how to fix? I am on version 1.6.6
Any ideas how to fix? I am on version 1.6.6
hi,
while updating to v1.6.75, i get the following 2 error. the 2 parameter still exist, cause of line 1 & 2 (change parameter name). Everything is working fine.
thx for the new version
while updating to v1.6.75, i get the following 2 error. the 2 parameter still exist, cause of line 1 & 2 (change parameter name). Everything is working fine.
thx for the new version
- Attachments
-
- error
- bug1.jpg (71.81 KiB) Viewed 3339 times
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
Re: no more emails?
Sorry for the late reply/computer_guru wrote:I stopped receiving emails from CAMM for syslog or trap events. I have not changed anything. Emails stopped Wednesday night, now it is Friday morning. I just rebooted the whole server and still no emails from CAMM. Emails from cacti for host up and down still comes through fine, but no CAMM emails.
Any ideas how to fix? I am on version 1.6.6
Have you tried to "force run" of the rule?
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]
hi there,
is camm1.6.75 save for cacti 0.8.7.g and PIA 2.8?
Its not on the requirements list on first page.
thx
is camm1.6.75 save for cacti 0.8.7.g and PIA 2.8?
Its not on the requirements list on first page.
thx
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
Yes.uhtred wrote:hi there,
is camm1.6.75 save for cacti 0.8.7.g and PIA 2.8?
Its not on the requirements list on first page.
thx
I develop and use it on
p.s. I will update Requirements section.Cacti Version: 0.8.7g, Plugin Architecture Version: 2.8
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: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
All logs now flowing in great. But this is confusing.
When on my Syslogs tab and in my tree on left, if I click on an IP, then the right hand pane will show only messages relative to the IP I clicked on. However, if I am on my SNMP Traps tab and in my tree on left, if I click on an IP, then the right hand pane will not change at all. Is there a way to fix this so it shows only messages relative to the IP??
When on my Syslogs tab and in my tree on left, if I click on an IP, then the right hand pane will show only messages relative to the IP I clicked on. However, if I am on my SNMP Traps tab and in my tree on left, if I click on an IP, then the right hand pane will not change at all. Is there a way to fix this so it shows only messages relative to the IP??
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
hello gthe I would like to point camm on my test infrastructure to db in the production infrastructure so I can view on both syslog messages. is it possible?
In my test environment I have cacti db on localhost and in my production environment I have cacti and syslog-ng db on a separate machine.
Regards
Alessio
In my test environment I have cacti db on localhost and in my production environment I have cacti and syslog-ng db on a separate machine.
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
-
- Cacti User
- Posts: 141
- Joined: Thu Apr 10, 2008 6:52 pm
Re: no more emails?
I found the solution my self. Apparently the PHP scripts to send the emails were timing out while compiling the email body. There were so many errors generated by a server crash that it broke the email functions of CAMM by causing the timeout. I updated the MySQL table to mark them as already processed, and now everything is fine again.gthe wrote:Sorry for the late reply/computer_guru wrote:I stopped receiving emails from CAMM for syslog or trap events. I have not changed anything. Emails stopped Wednesday night, now it is Friday morning. I just rebooted the whole server and still no emails from CAMM. Emails from cacti for host up and down still comes through fine, but no CAMM emails.
Any ideas how to fix? I am on version 1.6.6
Have you tried to "force run" of the rule?
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Which version of cacti you are use ?hammer733 wrote:All logs now flowing in great. But this is confusing.
When on my Syslogs tab and in my tree on left, if I click on an IP, then the right hand pane will show only messages relative to the IP I clicked on. However, if I am on my SNMP Traps tab and in my tree on left, if I click on an IP, then the right hand pane will not change at all. Is there a way to fix this so it shows only messages relative to the IP??
This bag was fixed already.
Currently -no. Cacti and syslog db must be in one host.smlick wrote:hello gthe I would like to point camm on my test infrastructure to db in the production infrastructure so I can view on both syslog messages. is it possible?
In my test environment I have cacti db on localhost and in my production environment I have cacti and syslog-ng db on a separate machine.
Regards
Alessio
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]
Who is online
Users browsing this forum: No registered users and 7 guests