CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

gthe wrote:
smlick wrote:It's possible that there's a charset limitations inside the code?
Tonight I'll try to fix.

Regards
Alessio
Yes, they there are. But I cannot simply lay out the new version with corrections, because the new version contains many additions and is still not ready.
can you tell us some info about camm new version :D ?
when do you think it will be available?

tnx again for your excellent work.

regards
alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

Hi.

i`m working a few weeks now with Camm. and i must say it is a very nice tool.

The only thing i`m trying to get working is the filter part.
if i click on the icon "create rule based on this message"
it shows me a screen named "edit filter for rule"
then i remove the "syslog-message" and the "syslog-message time" line.

if i hit test button it shows me the messages i want to be removed or deleted. than i hit done.
A new screen appears "Create new rule based on syslog message" i need to fill in the blank field. (Rule name)
Also i enable the the "Rule enable field.
hit the done button.
the rule is created and now i need to save the configuration with the save button.
then i hit the 3th icon of the rule "force run this rule" a confirmation screen appears and i click the yes button.
if i refresh the page and go back to the "rules"tab i see the rule i just created with 2318 in the "Count Trig." column.
so that indicates that the rule is working. (i assume).

But still i see the log messages coming in in the syslog tab (green colored in my case)
It looks like the messages are not filtered or deleted.

Did i missed something in my actions?

also thx for the solutions in my previous questions (Posts).
it help t allot.
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

Palermo wrote:Hi.

i`m working a few weeks now with Camm. and i must say it is a very nice tool.

The only thing i`m trying to get working is the filter part.
if i click on the icon "create rule based on this message"
it shows me a screen named "edit filter for rule"
then i remove the "syslog-message" and the "syslog-message time" line.

if i hit test button it shows me the messages i want to be removed or deleted. than i hit done.
A new screen appears "Create new rule based on syslog message" i need to fill in the blank field. (Rule name)
Also i enable the the "Rule enable field.
hit the done button.
the rule is created and now i need to save the configuration with the save button.
then i hit the 3th icon of the rule "force run this rule" a confirmation screen appears and i click the yes button.
if i refresh the page and go back to the "rules"tab i see the rule i just created with 2318 in the "Count Trig." column.
so that indicates that the rule is working. (i assume).

But still i see the log messages coming in in the syslog tab (green colored in my case)
It looks like the messages are not filtered or deleted.

Did i missed something in my actions?

also thx for the solutions in my previous questions (Posts).
it help t allot.
The rule work very well for me!!!! Probably you forget to assign a rule like delete, e-mail notification, mark record, etc.
You must select the field under notes.

Bye
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Palermo wrote:Hi.

i`m working a few weeks now with Camm. and i must say it is a very nice tool.

The only thing i`m trying to get working is the filter part.
if i click on the icon "create rule based on this message"
it shows me a screen named "edit filter for rule"
then i remove the "syslog-message" and the "syslog-message time" line.

if i hit test button it shows me the messages i want to be removed or deleted. than i hit done.
A new screen appears "Create new rule based on syslog message" i need to fill in the blank field. (Rule name)
Also i enable the the "Rule enable field.
hit the done button.
the rule is created and now i need to save the configuration with the save button.
then i hit the 3th icon of the rule "force run this rule" a confirmation screen appears and i click the yes button.
if i refresh the page and go back to the "rules"tab i see the rule i just created with 2318 in the "Count Trig." column.
so that indicates that the rule is working. (i assume).

But still i see the log messages coming in in the syslog tab (green colored in my case)
It looks like the messages are not filtered or deleted.

Did i missed something in my actions?

also thx for the solutions in my previous questions (Posts).
it help t allot.
Here's my two cents (well, in the UK, two pence :))

Look in SETTINGS, CAMM, "Show All Records" - if you are using rules or filters, then this should be set to "Show Only Processed"

You'll need to remove the ones that do show already, but from this point on, it should work.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

smlick wrote: The rule work very well for me!!!! Probably you forget to assign a rule like delete, e-mail notification, mark record, etc.
You must select the field under notes.
Bye
Indeed i did not used any rule. Now i have "Mark records" the marker set to "1"
mcutting wrote:Here's my two cents (well, in the UK, two pence )

Look in SETTINGS, CAMM, "Show All Records" - if you are using rules or filters, then this should be set to "Show Only Processed"

You'll need to remove the ones that do show already, but from this point on, it should work.
I`f looked in the settings configuration and made sure that the "show all records" is set to "Show Only Processed"

But unfortunately no luck.

the rule is activated on time code 1:50 pm
and i still see messages coming in. later than 1:50 pm

somehow i`m sure the this is not a software error. but i`m simply forgetting something. but what... I`l add some screen shots
Attachments
CAMM01.PNG
CAMM01.PNG (7 KiB) Viewed 4057 times
CAMM02.PNG
CAMM02.PNG (14.1 KiB) Viewed 4057 times
CAMM03.PNG
CAMM03.PNG (14.76 KiB) Viewed 4057 times
CAMM04.PNG
CAMM04.PNG (10.32 KiB) Viewed 4057 times
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

I used only the functions "delete record" and "e-mail notification" so I don't know if there's a problem with the mark functions.
As I can see in your screenshoot the system trigger right the filter.

Bye
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

smlick wrote:I used only the functions "delete record" and "e-mail notification" so I don't know if there's a problem with the mark functions.
As I can see in your screenshoot the system trigger right the filter.
Bye
Well it seems to work indeed. i selected the "delete record"
and i don't see any localhost messages coming in anymore.

does look like the mark function is not working.. maybe in a later version of Camm.

Thx for you help
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

Probably with the next release :D gthe fix this problem and as he said also the multi mail recipient.

Work in progress :P

Bye
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
pthaynes
Cacti User
Posts: 56
Joined: Mon Apr 20, 2009 1:29 am
Location: Australia

"Blank" (sort of) SNMP Traps

Post by pthaynes »

Thanks for the excellent plugin. I'm currently using CAMM version 1.5.3. I have noticed that every now and then (probably once a day) I get a blank SNMP Trap (See the attached images). I can delete the Trap (I'll get a rule in place to do that), but would like to know how I can prevent them from being logged. I'm not even sure where to start troubleshooting (since it comes along so intermittently) - it could be CAMM, SNMPTT or one of the hosts that is sending its Traps to CAMM.

Any thoughts?

Thanks in advance.

Peter
Attachments
CAMM SNMP Trap.JPG
CAMM SNMP Trap.JPG (42.77 KiB) Viewed 3973 times
CAMM Tree.JPG
CAMM Tree.JPG (4.68 KiB) Viewed 3973 times
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

pthaynes - just enable full logging of snmptt to find messages source.

In First post I upload new version 1.6.0

CAMM --- 1.6.0 ---2009-07-07
- Fix error on install process. Now all tables by default created in <default cacati DB>;
- Menu tree replaced with TreeGrid with percent field - allows quickly and visually to define the most active equipment;
- In menu TreeGrid added combobox <period> with all,week,day,hour;
- New format of email field address ("user@domain.com;" or "user1@domain.com; user2@domain.com; ...")
- Added one more level in menu tree;
- Many other fixes;
Attachments
camm_menu_tree_percent.png
camm_menu_tree_percent.png (104.73 KiB) Viewed 3844 times
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

I think you forgot to attach the new version of the file to the first post.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

streaker69 wrote:I think you forgot to attach the new version of the file to the first post.
yes :)

I just have reached maximum Upload Quota Limit of 5 MB :(

But now all OK.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
cspenpen
Cacti User
Posts: 67
Joined: Tue Dec 05, 2006 5:10 am

Post by cspenpen »

Hello Gthe

I update camm 1.5.3 -> 1.6.0. I got recreate of tree problem.

New server send syslog message to camm, camm got this new server message, and the new server show in the tree, but I don't add this new server in device, so the new server in Type: not_defined.

After I add this new server in device, then I go to recreate tree. It's in right place, but the folder show wrong. like the pircture

Recreate "IP: 137.102.32.222" should become "HOST:device description".

How to fix this ?

THX~
Attachments
camm_ip.PNG
camm_ip.PNG (6.3 KiB) Viewed 3770 times
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

cspenpen - try this file.

Unrar and replace it in cacti/plugins/camm/lib/
Attachments
camm_functions.rar
(7.36 KiB) Downloaded 176 times
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Another function that seems to have vanished is that the 1.5x series used to allow you to click on each "Type", and see all syslogs included in the branch, and all branches below - can we have this back ?

If you click on a branch now, you get a blank screen on the right. A way to reproduce this is to click the root "syslog" container, which works, and lists all entries. Now click a sub tree, and you'll see what I mean
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest