CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Moderators: Developers, Moderators
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
My syslogs have been blank after upgrading CactiEZ install from .8.7 c to .8.7 g. I checked the plugin_camm_syslog tables in the cacti database and they are empty. Syslog plugin does not work either. Should I have to change anything after upgrading?
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hi Thanks for the super plugin.
I've almost got it working only everything ends up in either the "Syslogs" tab or in the "Unknown Traps" tab.
How do we get the traps in the "SNMP Traps" tab?
Thanks in advance,
Marcel
I've almost got it working only everything ends up in either the "Syslogs" tab or in the "Unknown Traps" tab.
How do we get the traps in the "SNMP Traps" tab?
Thanks in advance,
Marcel
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Use "snmpttconvertmib" from snmptt to convert your MIB. Change your snmptt.ini at Section [TrapFiles] and point to the converted MIB.mmartens wrote:How do we get the traps in the "SNMP Traps" tab?
http://snmptt.sourceforge.net/docs/snmptt.shtml
Cacti Version - 0.8.8h - Poller Type - SPINE 0.8.8h
MySQL - 5.0.54 - PHP - 5.1.6 -RRDTool - 1.2.23 - SNMP - 5.1.2
Plugins - Banner 0.32, Camm 1.6.7, Dashboard 1.2, Fix64bit 0.4, Monitor 1.3, Passwd 0.1, Settings 0.71, Tools 0.3, Realtime 0.5, Rrdclean 1.1, Spikekill 1.3, Syslog 1.22, Thold 0.6
MySQL - 5.0.54 - PHP - 5.1.6 -RRDTool - 1.2.23 - SNMP - 5.1.2
Plugins - Banner 0.32, Camm 1.6.7, Dashboard 1.2, Fix64bit 0.4, Monitor 1.3, Passwd 0.1, Settings 0.71, Tools 0.3, Realtime 0.5, Rrdclean 1.1, Spikekill 1.3, Syslog 1.22, Thold 0.6
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hi Thanks for your quick reply.
When i try to convert the mib I get the following output:
Can you give me any advice how to convert this?
Thanks in advance
When i try to convert the mib I get the following output:
- ***** Processing MIB file *****
snmptranslate version: NET-SNMP version: 5.5
severity: Normal
File to load is: /root/sub10e1000.mib
File to APPEND TO: /etc/snmp/snmptt.conf
MIBS environment var: /root/sub10e1000.mib
mib name: SUB10-MIB
Processing MIB: SUB10-MIB
Done
Total translations: 0
Successful translations: 0
Failed translations: 0
The MIB file did not contain any TRAP-TYPE or NOTIFICATION-TYPE definitions,
so no translations occured. Try another MIB file.
Can you give me any advice how to convert this?
Thanks in advance
- Attachments
-
- sub10e1000.txt
- MIB file
- (58.9 KiB) Downloaded 416 times
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Do you have another MIB file with trap or notification-types?mmartens wrote:The MIB file did not contain any TRAP-TYPE or NOTIFICATION-TYPE definitions,
so no translations occured. Try another MIB file.
Cacti Version - 0.8.8h - Poller Type - SPINE 0.8.8h
MySQL - 5.0.54 - PHP - 5.1.6 -RRDTool - 1.2.23 - SNMP - 5.1.2
Plugins - Banner 0.32, Camm 1.6.7, Dashboard 1.2, Fix64bit 0.4, Monitor 1.3, Passwd 0.1, Settings 0.71, Tools 0.3, Realtime 0.5, Rrdclean 1.1, Spikekill 1.3, Syslog 1.22, Thold 0.6
MySQL - 5.0.54 - PHP - 5.1.6 -RRDTool - 1.2.23 - SNMP - 5.1.2
Plugins - Banner 0.32, Camm 1.6.7, Dashboard 1.2, Fix64bit 0.4, Monitor 1.3, Passwd 0.1, Settings 0.71, Tools 0.3, Realtime 0.5, Rrdclean 1.1, Spikekill 1.3, Syslog 1.22, Thold 0.6
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hi,
I've tried some from Cisco and they give a positive feedback:
Thanks in advance
I've tried some from Cisco and they give a positive feedback:
- [root@MIT-MO-01 snmptt_1.4]# ./snmpttconvertmib --in=/usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my --out=/etc/snmp/snmptt.conf
***** Processing MIB file *****
snmptranslate version: NET-SNMP version: 5.5
severity: Normal
File to load is: /usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my
File to APPEND TO: /etc/snmp/snmptt.conf
MIBS environment var: /usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my
mib name: CISCO-SYSLOG-MIB
Processing MIB: CISCO-SYSLOG-MIB
#
skipping a TRAP-TYPE / NOTIFICATION-TYPE line - probably an import line.
#
Line: 498
TRAP-TYPE: clogMessageGenerated
Variables: clogHistFacility clogHistSeverity clogHistMsgName clogHistMsgText clogHistTimestamp
Looking up via snmptranslate: CISCO-SYSLOG-MIB::clogMessageGenerated
Cannot find module (SNMPv2-TC-v1): At line 11 in /usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my)
Did not find 'TimeStamp' in module #-1 (/usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my)
Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my)
Did not find 'RowStatus' in module #-1 (/usr/share/snmp/mibs/CISCO-SYSLOG-MIB-V1SMI.my)
OID: .1.3.6.1.4.1.9.9.41.2.0.1
Done
Total translations: 1
Successful translations: 1
Failed translations: 0
Thanks in advance
- Attachments
-
- Unknown traps.png (178.28 KiB) Viewed 9403 times
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hello guys
I am with the following problem when I click on CAM tab the following message appears:
CSRF check failed. Your session may have expired form, or you may not have cookies enabled.
Try again
Debug:
As can be seen in the attached image Error.jpeg
When I close the error message that aparace Loading startup variables, but does not exit this screen.
I use Cacti in version 0.8.8a and the CAM plugin in version 1.6.75.
Please could someone help me
I am with the following problem when I click on CAM tab the following message appears:
CSRF check failed. Your session may have expired form, or you may not have cookies enabled.
Try again
Debug:
As can be seen in the attached image Error.jpeg
When I close the error message that aparace Loading startup variables, but does not exit this screen.
I use Cacti in version 0.8.8a and the CAM plugin in version 1.6.75.
Please could someone help me
- Attachments
-
- Error.jpg (17.46 KiB) Viewed 9323 times
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
I also am having an issue with just a blank page on the CAMM Tab. Database tables exist, plug in is installed, not seeing any errors in the httpd logs or CACTI Logs.
Did anyone get a resolution on this? This is the only missing part of my CACTI system is SNMP Trap handling.
Thanks for any suggestions.
Did anyone get a resolution on this? This is the only missing part of my CACTI system is SNMP Trap handling.
Thanks for any suggestions.
-
- Posts: 1
- Joined: Tue Oct 21, 2014 1:03 am
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hi, looks like U must turn off CSRF check.camp wrote:Hello guys
I am with the following problem when I click on CAM tab the following message appears:
CSRF check failed. Your session may have expired form, or you may not have cookies enabled.
Try again
Debug:
As can be seen in the attached image Error.jpeg
When I close the error message that aparace Loading startup variables, but does not exit this screen.
I use Cacti in version 0.8.8a and the CAM plugin in version 1.6.75.
Please could someone help me
In cacti/site/include/csrf/csrf_magic.php put $GLOBALS['csrf']['defer'] = true;
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
TOP....your solution did the trick!!!noobsiabot wrote: Hi, looks like U must turn off CSRF check.
In cacti/site/include/csrf/csrf_magic.php put $GLOBALS['csrf']['defer'] = true;
I had the same problem only with 0.8.8c (with 0.8.8a all is ok) and with your tricks I solved!
Thank you
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hello,
I'm running cacti 0.8.7.e on rhel5 and I have to move it to a new rhel6 server. Thing is I didn't install it myself and it's absolutely not documented...
Basically I have installed everything the way it was on the old server, configured snmptt to store received traps in a mysql db. So far it works okayish.
My concerns are about the camm plugin. I can see the expected traps under the "SNMP Traps" tab as well as the already existing rules in the "Rules" tab. The problem is that I can't update a rule, once I clic on save it just doesn't work and resets to the previous values...
It's weird because I can clone a rule and then save, the clone is stored...
Any help would be more than welcomed...
Thanks
I'm running cacti 0.8.7.e on rhel5 and I have to move it to a new rhel6 server. Thing is I didn't install it myself and it's absolutely not documented...
Basically I have installed everything the way it was on the old server, configured snmptt to store received traps in a mysql db. So far it works okayish.
My concerns are about the camm plugin. I can see the expected traps under the "SNMP Traps" tab as well as the already existing rules in the "Rules" tab. The problem is that I can't update a rule, once I clic on save it just doesn't work and resets to the previous values...
It's weird because I can clone a rule and then save, the clone is stored...
Any help would be more than welcomed...
Thanks
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Well apparently there have been some changes in the DB structure, now the problem is solved.
What still bugs me is that :
- even if my user is set as an admin and I can manage rules, I don't have the possibility to duplicate a rule (button not present)
- I can't put multiple mail addresses in the email field of a rule. Neither "," nor ";" are allowed...
Any idea ?
What still bugs me is that :
- even if my user is set as an admin and I can manage rules, I don't have the possibility to duplicate a rule (button not present)
- I can't put multiple mail addresses in the email field of a rule. Neither "," nor ";" are allowed...
Any idea ?
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
I need help for installation. I am trying to use camm with snmptt only. After installation I didn't see any unknown traps or any traps at all. In /var/log/messages I found snmttrapd messages about receiving trap, but snmptt
cacti snmptt-sys[3561]: Total traps received=0,Total traps translated=0,Total traps ignored=0,Total unknown traps=0
in cacti log in debug these messages
04/03/2015 06:52:04 AM - camm: Poller[0] S4. We have next count of dubled hosts = [0]
04/03/2015 06:52:04 AM - SYSTEM camm General STATS: AllTime:0.0046 PurgeTime:0.0005 RuleTime:0.0026 TreeTime:0.0016
04/03/2015 06:57:14 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/plugins/camm/poller_camm.php]
04/03/2015 06:57:14 AM - camm: Poller[0] S0. Found enabled DEBUG mode. Output will be verbose
04/03/2015 06:57:14 AM - camm: Poller[0] S0. About to enter camm poller processing
04/03/2015 06:57:14 AM - camm: Poller[0] S1. Found 0 camm rules to process
04/03/2015 06:57:14 AM - camm: Poller[0] S1.1 Use SNMPTT component
04/03/2015 06:57:14 AM - camm: Poller[0] S1.2 No enabled rules found
04/03/2015 06:57:14 AM - camm: Poller[0] S2. Checking to determine if it's time to run AutoPurge process.
04/03/2015 06:57:14 AM - camm: Poller[0] S2.1 The next AutoPurge process run time has been determined to be at '2015-04-03 8:42:11'. Last run time was '2015-04-03 6:42:11'
04/03/2015 06:57:14 AM - camm: Poller[0] S3. Checking to determine if it's time to run AutoCreate Tree Menu.
04/03/2015 06:57:14 AM - camm: Poller[0] php [poller_camm.php] The last time the snmptt Tree was recreated at '2015-04-03 6:47:17'.
04/03/2015 06:57:14 AM - camm: Poller[0] S3.1 The next snmptt Tree to DB run time has been determined to be NOW
04/03/2015 06:57:14 AM - camm: Poller[0] php [camm_poller_recreate_tree] The last time the snmptt Tree was recreated at '2015-04-03 6:47:17'.
04/03/2015 06:57:14 AM - camm: Poller[0] S. CAMM [snmptt] Tree was recreated for [0.007] sec with rezult=[1]
04/03/2015 06:57:14 AM - camm: Poller[0] php [camm_poller_recreate_tree] The last time the snmptt Tree was manually recreated at '2015-04-03 6:57:14'.
04/03/2015 06:57:14 AM - camm: Poller[0] S4. We have next count of dubled hosts = [0]
04/03/2015 06:57:14 AM - SYSTEM camm General STATS: AllTime:0.0124 PurgeTime:0.0004 RuleTime:0.0022 TreeTime:0.009
in web interface this messages appear
Notice: Undefined offset: 1 in /usr/share/cacti/plugins/camm/camm_db.php on line 463
{"success":true,"stats":[{"type":"Table plugin_camm_snmptt detailed info","name":"Rows","value":"0"},{"type":"Table plugin_camm_snmptt detailed info","name":"Data Length","value":"0 bytes"},{"type":"Table plugin_camm_snmptt detailed info","name":"Index Length","value":"2 KB"},{"type":"Table plugin_camm_snmptt detailed info","name":"Auto increment","value":"1"},{"type":"Table plugin_camm_snmptt detailed info","name":"Update time","value":"2015-04-03 06:41:40 (5m 39s ago)"},{"type":"Table plugin_camm_snmptt detailed info","name":"Check time","value":"2015-04-03 06:41:40"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Rows","value":"0"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Data Length","value":"0 bytes"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Index Length","value":"2 KB"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Auto increment","value":"1"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Update time","value":"2015-04-03 06:41:40 (5m 39s ago)"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Check time","value":"2015-04-03 06:41:40"},{"type":"Table plugin_camm_tree2 detailed info","name":"Rows","value":"0"},{"type":"Table plugin_camm_tree2 detailed info","name":"Data Length","value":"0 bytes"},{"type":"Table plugin_camm_tree2 detailed info","name":"Index Length","value":"2 KB"},{"type":"Table plugin_camm_tree2 detailed info","name":"Auto increment","value":"100"},{"type":"Table plugin_camm_tree2 detailed info","name":"Update time","value":"2015-04-03 06:47:17 (2s ago)"},{"type":"Table plugin_camm_tree2 detailed info","name":"Check time","value":"2015-04-03 06:47:17"},{"type":"1. Stats from SMPTT stat table (since last snmptt service restart) and [from last stat period]","name":"Last stat date","value":null},{"type":"1. Stats from SMPTT stat table (since last snmptt service restart) and [from last stat period]","name":"Total traps received","value":"0 [0]"},{"type":"1. Stats from SMPTT stat table (since last snmptt service restart) and [from last stat period]","name":"Total traps translated","value":"0 [0]"},{"type":"1. Stats from...
cacti snmptt-sys[3561]: Total traps received=0,Total traps translated=0,Total traps ignored=0,Total unknown traps=0
in cacti log in debug these messages
04/03/2015 06:52:04 AM - camm: Poller[0] S4. We have next count of dubled hosts = [0]
04/03/2015 06:52:04 AM - SYSTEM camm General STATS: AllTime:0.0046 PurgeTime:0.0005 RuleTime:0.0026 TreeTime:0.0016
04/03/2015 06:57:14 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/plugins/camm/poller_camm.php]
04/03/2015 06:57:14 AM - camm: Poller[0] S0. Found enabled DEBUG mode. Output will be verbose
04/03/2015 06:57:14 AM - camm: Poller[0] S0. About to enter camm poller processing
04/03/2015 06:57:14 AM - camm: Poller[0] S1. Found 0 camm rules to process
04/03/2015 06:57:14 AM - camm: Poller[0] S1.1 Use SNMPTT component
04/03/2015 06:57:14 AM - camm: Poller[0] S1.2 No enabled rules found
04/03/2015 06:57:14 AM - camm: Poller[0] S2. Checking to determine if it's time to run AutoPurge process.
04/03/2015 06:57:14 AM - camm: Poller[0] S2.1 The next AutoPurge process run time has been determined to be at '2015-04-03 8:42:11'. Last run time was '2015-04-03 6:42:11'
04/03/2015 06:57:14 AM - camm: Poller[0] S3. Checking to determine if it's time to run AutoCreate Tree Menu.
04/03/2015 06:57:14 AM - camm: Poller[0] php [poller_camm.php] The last time the snmptt Tree was recreated at '2015-04-03 6:47:17'.
04/03/2015 06:57:14 AM - camm: Poller[0] S3.1 The next snmptt Tree to DB run time has been determined to be NOW
04/03/2015 06:57:14 AM - camm: Poller[0] php [camm_poller_recreate_tree] The last time the snmptt Tree was recreated at '2015-04-03 6:47:17'.
04/03/2015 06:57:14 AM - camm: Poller[0] S. CAMM [snmptt] Tree was recreated for [0.007] sec with rezult=[1]
04/03/2015 06:57:14 AM - camm: Poller[0] php [camm_poller_recreate_tree] The last time the snmptt Tree was manually recreated at '2015-04-03 6:57:14'.
04/03/2015 06:57:14 AM - camm: Poller[0] S4. We have next count of dubled hosts = [0]
04/03/2015 06:57:14 AM - SYSTEM camm General STATS: AllTime:0.0124 PurgeTime:0.0004 RuleTime:0.0022 TreeTime:0.009
in web interface this messages appear
Notice: Undefined offset: 1 in /usr/share/cacti/plugins/camm/camm_db.php on line 463
{"success":true,"stats":[{"type":"Table plugin_camm_snmptt detailed info","name":"Rows","value":"0"},{"type":"Table plugin_camm_snmptt detailed info","name":"Data Length","value":"0 bytes"},{"type":"Table plugin_camm_snmptt detailed info","name":"Index Length","value":"2 KB"},{"type":"Table plugin_camm_snmptt detailed info","name":"Auto increment","value":"1"},{"type":"Table plugin_camm_snmptt detailed info","name":"Update time","value":"2015-04-03 06:41:40 (5m 39s ago)"},{"type":"Table plugin_camm_snmptt detailed info","name":"Check time","value":"2015-04-03 06:41:40"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Rows","value":"0"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Data Length","value":"0 bytes"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Index Length","value":"2 KB"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Auto increment","value":"1"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Update time","value":"2015-04-03 06:41:40 (5m 39s ago)"},{"type":"Table plugin_camm_snmptt_unk detailed info","name":"Check time","value":"2015-04-03 06:41:40"},{"type":"Table plugin_camm_tree2 detailed info","name":"Rows","value":"0"},{"type":"Table plugin_camm_tree2 detailed info","name":"Data Length","value":"0 bytes"},{"type":"Table plugin_camm_tree2 detailed info","name":"Index Length","value":"2 KB"},{"type":"Table plugin_camm_tree2 detailed info","name":"Auto increment","value":"100"},{"type":"Table plugin_camm_tree2 detailed info","name":"Update time","value":"2015-04-03 06:47:17 (2s ago)"},{"type":"Table plugin_camm_tree2 detailed info","name":"Check time","value":"2015-04-03 06:47:17"},{"type":"1. Stats from SMPTT stat table (since last snmptt service restart) and [from last stat period]","name":"Last stat date","value":null},{"type":"1. Stats from SMPTT stat table (since last snmptt service restart) and [from last stat period]","name":"Total traps received","value":"0 [0]"},{"type":"1. Stats from SMPTT stat table (since last snmptt service restart) and [from last stat period]","name":"Total traps translated","value":"0 [0]"},{"type":"1. Stats from...
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Now I have fixed this installation issue. I used two many options in net-snmp (snmptrap) compilation. When I did according instruction at wiki net snmp it is start working. Now it is left to solve description of snmp traps, bit it is other story.
Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Hi gthe,
is it possible also to add a field "description" into global search?
Regards
Alessio
is it possible also to add a field "description" into global search?
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
Who is online
Users browsing this forum: No registered users and 2 guests