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

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

-uha...very fast - thanks - will see
I think it is time for a whole download package for other user after this fixes :wink:
lasylve
Posts: 22
Joined: Fri Oct 02, 2009 1:34 am

Post by lasylve »

Hi, I'm using this plugin for few months and I'd like to know if it's possible to hide the "tree menu" on the left.

I could do it with 1.6.5 version but it looks like it doesn't work on last camm version. Why ? How can I fix that ?

I also have a question about SNMP V3 traps with net-snmp, I'd like to know how can I add new user (with "createUser line" conf) to receive traps without defining a specific engineID.

Can someone help me please ?
JOEGOR
Posts: 13
Joined: Tue Oct 13, 2009 11:59 pm

Post by JOEGOR »

Hi gthe

already replaced camm_db.php but still can't see any unknown trap.
also, the alert(email) still not work even force to run.

Is it my SQL table have problem?
THanks~
JOEGOR
Posts: 13
Joined: Tue Oct 13, 2009 11:59 pm

Post by JOEGOR »

And the Cacti.log PM to you.
Thanks
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

lasylve wrote:Hi, I'm using this plugin for few months and I'd like to know if it's possible to hide the "tree menu" on the left.

I could do it with 1.6.5 version but it looks like it doesn't work on last camm version. Why ? How can I fix that ?
I will fix it in next release
JOEGOR wrote:Hi gthe

already replaced camm_db.php but still can't see any unknown trap.
also, the alert(email) still not work even force to run.

Is it my SQL table have problem?
THanks~
Any error in cacti log ?
JOEGOR wrote:And the Cacti.log PM to you.
Thanks
where ?
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
JOEGOR
Posts: 13
Joined: Tue Oct 13, 2009 11:59 pm

Post by JOEGOR »

yES, upload the log here~
Thanks
Attachments
cacti.rar
(31.47 KiB) Downloaded 100 times
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

JOEGOR wrote:yES, upload the log here~
Thanks
Run this sql in mysql command line and show me full error description:

Code: Select all

select count(*) FROM `plugin_camm_snmptt` where status=1;

Code: Select all

SELECT count(plugin_camm_snmptt_unk.id) FROM plugin_camm_snmptt_unk WHERE 1=1;

Code: Select all

INSERT INTO `plugin_camm_temp` (`device_type_name`,`device_type_id`,`hostname`,`gr_f`,`gr_v`,`type`,`period`,`agentip_source`,`dev_count`,`count`)  select 'Markers','-1',CONCAT('[',`marker`,'] ' , IFNULL(`marker_name`,'no_marker_name')),'marker',  `marker`,'snmptt','all','0',count(*),count(*) FROM `plugin_camm_snmptt`  left join plugin_camm_keys on (`krid`=`plugin_camm_snmptt`.`id`)  left join plugin_camm_rule on (`rule_id`=`plugin_camm_rule`.`id`)  WHERE  1=1  and plugin_camm_rule.is_mark=1 and `status` = '2' and `ktype`=2  Group by  plugin_camm_rule.marker;
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
JOEGOR
Posts: 13
Joined: Tue Oct 13, 2009 11:59 pm

Post by JOEGOR »

Thanks for your reply,
I'm not familar with MYSQL,
But it seems there are no status in the table,
due to there are error msg
ERROR 1054 (42S22): Unknown column 'status' in 'where clause'

also the count(plugin_camm_snmptt_unk.id)

Attached the detail log in the file.
I think maybe I create a wrong database table.
so, I also attached the script which I used to create the mysql table.
Thanks a lot!
Attachments
mysql_log.rar
(3.25 KiB) Downloaded 96 times
mysql_create_table.rar
(428 Bytes) Downloaded 112 times
JOEGOR
Posts: 13
Joined: Tue Oct 13, 2009 11:59 pm

Post by JOEGOR »

I uninstall and re-install the camm again.
I found the log are something different,
but the unknown log and alert still not work even force to run the rule.
attached the new log.
thanks
Attachments
mysql_log_2.rar
(642 Bytes) Downloaded 112 times
cacti2.rar
(31.47 KiB) Downloaded 120 times
JOEGOR
Posts: 13
Joined: Tue Oct 13, 2009 11:59 pm

Post by JOEGOR »

HI GTHE

IT seems work now.

But could I know what is the problem of mine?
is it the database problem?

And what is the usage of the last command?
Thanks a lot!
ayinger
Posts: 21
Joined: Tue Apr 13, 2010 9:04 am

devices within syslog showing as not_defined

Post by ayinger »

It seems any device within the syslog portion of CaMM is placed into the "not_defined" category, even though the device & IP address are properly set within cacti.

The devices within Snmptt tab are being joined properly to their respective fields.

My "Join Field Name" setting is set to IP Address, and the version I am running is 1.6.4 with Cacti 0.8.7g
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

ayinger - try update to new version.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
ayinger
Posts: 21
Joined: Tue Apr 13, 2010 9:04 am

Post by ayinger »

Didn't work, I still have all devices listed under "not_defined" after hitting F5

Also, there were errors with the upgrade:

1. ERROR: Execute SQL, Insert Into [settings] new parameter

camm_snmptt_min_row_all
camm_sys_min_row_all

2. ERROR: Execute SQL, Add Column Table
plugin_camm_syslog_incoming

I use plugin_camm_syslog as the default incoming database under Settings:
ayinger
Posts: 21
Joined: Tue Apr 13, 2010 9:04 am

Post by ayinger »

I noticed in the new version there's a "device id" field listed under snmptt. There is no such field listed under syslog.
ayinger
Posts: 21
Joined: Tue Apr 13, 2010 9:04 am

Post by ayinger »

Sorry for all the posts, but I found out how to add the "device id" to the syslog. Every host within "not_defined" is set to 0. One example is I have a device ID of 143 within cacti, but within the camm syslog it is 0.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest