Search found 22 matches

by lasylve
Fri Sep 09, 2011 8:04 am
Forum: Help: General
Topic: php/curl authentication
Replies: 4
Views: 4182

Re: php/curl authentication

5 years later ... I had the same problem and found the solution. I wrote a function which takes the needed url, username, and password as parameters and returns html code of the page. This version is to get a page whithout POST parameters (GET will work as you can put your variables in the url) but ...
by lasylve
Mon May 09, 2011 3:36 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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

Iа I understand correct from your post it made by ​​the transfer of data to another table. I do not like it because: 1. additional tables. 2. Additional tabs require additional memory for the plugin (and not so small). 3. The fact that all this should be replicated and to syslog. But the idea I lik...
by lasylve
Thu Apr 21, 2011 9:07 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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

I forgot to mention it but, off course you can unAck traps ack05.jpg Then, there's already a kind of "permission system" in camm : only users with "Plugin -> camm: Manage" option can delete traps, so I did the same for ack / unack function => users with only "Plugin -> camm: View" activated can not ...
by lasylve
Thu Apr 21, 2011 7:27 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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

Gthe, Are you dead ??? As I needed it, I brought some extra feature on this plugin to keep non-important traps in an history. I can now display active traps in the original tab, ack01.jpg I can "ack" them manually ack02.jpg or by a rule which executes a "User function" that I created. ack03.jpg and ...
by lasylve
Wed Jan 26, 2011 2:57 am
Forum: Plugin General
Topic: Need assistance with CAMM plugin installation please
Replies: 11
Views: 2313

Re: Need assistance with CAMM plugin installation please

Trust me, when you install camm plugin, tables do are created. Not in a .sql file but in the setup.php , by a php function : $data = array(); $data['columns'][] = array('name' => 'id', 'type' => 'int(11)', 'unsigned' => true, 'NULL' => false, 'auto_increment' => true); $data['columns'][] = array('na...
by lasylve
Tue Jan 25, 2011 2:45 am
Forum: Plugin General
Topic: Need assistance with CAMM plugin installation please
Replies: 11
Views: 2313

Re: Need assistance with CAMM plugin installation please

Yes, tables are hard coded in camm, that 's why you have to make you snmptt.ini match the fields I pasted before. To be sure, open your setup.php in camm folder, and look at the line 705 (in the camm_setup_table function): api_plugin_db_table_create ('camm', 'plugin_camm_snmptt', $data); and line 73...
by lasylve
Mon Jan 24, 2011 2:47 am
Forum: Plugin General
Topic: Need assistance with CAMM plugin installation please
Replies: 11
Views: 2313

Re: Need assistance with CAMM plugin installation please

OK, if you are using 1.6.7, tables for traps and unknown traps are : "plugin_camm_snmptt" and "plugin_camm_snmptt_unk" in cacti database. Check your snmptt.ini config file : mibs_environment = ALL date_time_format = %Y-%m-%d %H:%M:%S unknown_trap_log_enable = 1 statistics_interval = 300 # or 3000 db...
by lasylve
Fri Jan 21, 2011 3:38 am
Forum: Plugin General
Topic: Need assistance with CAMM plugin installation please
Replies: 11
Views: 2313

Re: Need assistance with CAMM plugin installation please

You should try to install last CaMM version.
by lasylve
Tue Dec 07, 2010 11:26 am
Forum: Plugin: (MAC Track)
Topic: Problem with Cisco : "Undefined variable: snmp_readstring"
Replies: 0
Views: 1013

Problem with Cisco : "Undefined variable: snmp_readstring"

I use mactrack 2.9-1 with latest versions of PA and cacti. I can not get MAC adresses on Cisco devices while I get IP adresses resolution working fine. Moreover, mactrack is working like a charm with 3COM or Enterasys equipments. When I perform a manual scan on a Cisco switch : "php mactrack_scanner...
by lasylve
Fri Nov 26, 2010 4:31 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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

Ok, here is the log :
mysql-slow.log.txt
(177.88 KiB) Downloaded 1316 times
by lasylve
Fri Nov 26, 2010 3:12 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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

This situation appears every time I open the page, but when I stay on it, each refresh takes a normal time :
temps_camm2.jpg
temps_camm2.jpg (9.48 KiB) Viewed 11736 times
In fact, I stay blocked on the "Loading startup variables..." message. As long as I stay on camm tab in cacti, the loading time is normal.
by lasylve
Thu Nov 25, 2010 8:00 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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

Hi, I have a problem with 1.6.75 camm version, when I go on camm tab for the first time, it takes a veeeerrry long time to display "camm_view.php" (have a look on the picture attached). temps_camm.jpg Is 4sec by row a normal time for 46804 traps as my server seems not to be overloaded by the request...
by lasylve
Fri Aug 06, 2010 8:22 am
Forum: Plugin General
Topic: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
Replies: 739
Views: 336255

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 t...
by lasylve
Fri Jul 02, 2010 9:04 am
Forum: Plugin Announcements
Topic: Addon : adding device by list
Replies: 1
Views: 2141

Addon : adding device by list

Hello, I needed to add a great amount of devices at the same time, so I added a little piece of php code at the back of "Devices" page : I created a form to add a list of "generic snmp-enabled host" which all have the same SNMP community name and version. So now, you just have to fill the name and t...
by lasylve
Wed Apr 14, 2010 7:18 am
Forum: Help: General
Topic: Export tree/devices/graphs ?
Replies: 2
Views: 823

Thank you for fast reply :) I did not use yum to install cacti on my redhat so I chosed the same file structure for both versions. Now I installed the same rrdtool version (1.3.1) on my debian and redhat but I still have the same problem : graphs don't appear I executed the rebuild_poller_cache.php ...