CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
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 ?
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 ?
I will fix it in next releaselasylve 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 ?
Any error in cacti log ?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~
where ?JOEGOR wrote:And the Cacti.log PM to you.
Thanks
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]
Run this sql in mysql command line and show me full error description:JOEGOR wrote:yES, upload the log here~
Thanks
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]
[size=75]Sorry for my English. [/size]
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!
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
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
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
devices within syslog showing as not_defined
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
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
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:
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:
Who is online
Users browsing this forum: No registered users and 0 guests