Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
where can i find the color selection for TRAPS? perhaps, i need new glasses..
There are no configs. These options are listed deep in the code. Otherwise it will cause a very slow process plugin.
guitou wrote:hi,
it is possible to make "OR" function in the sql command ? message like '%DOT11-6-ASSOC%' OR message like '%LINEPROTO-CLUSTER_MEMBER%'
Thanks
Unfortunately at the moment - no. Because it requires the addition of priorities (brackets). Possible options - creation of two rules or manual correction of rule's sql in database (be careful)
sini wrote:
gthe wrote:
I see 2 options - either create a rule (set "execute user function") and use your own php function - to be called with the main Poller or create a stored procedure in mysql - it will be executed every time new message added in DB.
I try to "execute user function" but all I can see in the drop down menu list is fixed test functions. (see attached pic)
How can I use this? I can`t find scripts with this name in plugin camm dir or in cacti resource dir.
Is it possible to add my own scripts` path?
thx
/plugins/camm/lib/camm_user_func.php
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
where can i find the color selection for TRAPS? perhaps, i need new glasses..
There are no configs. These options are listed deep in the code. Otherwise it will cause a very slow process plugin.
Is it possible to set Trap Warnings to orange for a next release?
I think, White is no good choise for warnings and it would be same-color with cacti.log
uhtred wrote:
Is it possible to set Trap Warnings to orange for a next release?
I think, White is no good choise for warnings and it would be same-color with cacti.log
Ok, it will be #FF9900
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
Hi Gthe any news about the db exec failed error that I find in my system?
The problem is still there and as I told you before I solved the problem about the poller timeout.
Any idea or any other thing to do to solve that issue???
Regards
Alessio
01/18/2010 09:01:32 AM - SYSTEM camm General STATS: AllTime:55.8248 PurgeTime:0.0062 RuleTime:0.1703 TreeTime:55.6484
01/18/2010 09:01:32 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1364', SQL:"INSERT INTO `plugin_camm_tree2` (`device_id`,`description`, `hostname`,`gr_f`,`gr_v`,`agentip`,`agentip_source` ,`type` ,`period`,`_is_type`,`_is_device`,`_parent` ,`count` ,`dev_count` ,`online` ,`_is_leaf`,`_lvl`) SELECT `t0`.`device_id`,`t0`.`description`,`t0`.`hostname`,`t0`.`gr_f`,`t0`.`gr_v`,`t0`.`agentip`,`t0`.`agentip_source`,'syslog',`t0`.`period` ,'0' ,'0' ,t1.id ,t0.`count` ,`t0`.`dev_count`,'1' ,'1' ,'5' FROM plugin_camm_temp as t0 join plugin_camm_tree2 as t1 on (t0.type=t1.type and t0.hostname=t1.hostname and t0.period=t1.period and t0.gr_f=t1.gr_f) WHERE `t0`.`type`='syslog' and `t1`.`online`='1' and `_is_marker`='0' group by hostname,period,`t0`.gr_f,gr_v ON DUPLICATE KEY UPDATE `plugin_camm_tree2`.`dev_count` = values(`dev_count`), `plugin_camm_tree2`.`_parent` = values(`_parent`), `plugin_camm_tree2`.`count` = values(`count`), `plugin_camm_tree2`.`online` = '1' ;'
01/18/2010 09:01:32 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1364', SQL:"INSERT INTO `plugin_camm_tree2` (`device_id`,`description`, `hostname`,`gr_f`,`gr_v`,`agentip`,`agentip_source` ,`type` ,`period`,`_is_type`,`_is_device`,`_parent` ,`count` ,`dev_count` ,`online` ,`_is_leaf`,`_lvl`) SELECT `t0`.`device_id`,`t0`.`description`,`t0`.`hostname`,`t0`.`gr_f`,`t0`.`gr_v`,`t0`.`agentip`,`t0`.`agentip_source`,'syslog',`t0`.`period` ,'0' ,'0' ,t1.id ,t0.`count` ,`t0`.`dev_count`,'1' ,'0' ,'4' FROM plugin_camm_temp as t0 join plugin_camm_tree2 as t1 on (t0.type=t1.type and t0.hostname=t1.hostname and t0.period=t1.period) WHERE `t0`.`type`='syslog' and `t1`.`online`='1' and `_is_marker`='0' group by hostname,period,gr_f ON DUPLICATE KEY UPDATE `plugin_camm_tree2`.`dev_count` = values(`dev_count`), `plugin_camm_tree2`.`_parent` = values(`_parent`), `plugin_camm_tree2`.`count` = values(`count`), `plugin_camm_tree2`.`online` = '1' ;
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
ALTER TABLE `plugin_camm_tree2` MODIFY COLUMN `typ_count` INT(10) UNSIGNED NOT NULL DEFAULT 0;
Tnx for your reply I tried your solution and sometimes now I get:
01/18/2010 02:24:44 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1366', SQL:"INSERT INTO manage_alerts ( idh , datetime , ids , message, ida, oid, note ) VALUES ('155', '2010/1/18, 14:24:44', '80', 'down', '', '', '')'
However if this is not critical is not a problem
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
smlick wrote:
Tnx for your reply I tried your solution and sometimes now I get:
01/18/2010 02:24:44 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1366', SQL:"INSERT INTO manage_alerts ( idh , datetime , ids , message, ida, oid, note ) VALUES ('155', '2010/1/18, 14:24:44', '80', 'down', '', '', '')'
However if this is not critical is not a problem
Regards
Alessio
Error 1366 = 'Incorrect string value'. If you try run sql command:
I have the latest version of the settings plugin, which is now at v6 (PIA 2x compatible). Despite this, the mail function no longer works, and complains the settings plugin is missing.
Not very elegant at all, and only a super-quick fix to get things running again. Perhaps gthe could factor in the new release of the PIA2.x compliant settings plugin into the code ?
Thanks
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
I have the latest version of the settings plugin, which is now at v6 (PIA 2x compatible). Despite this, the mail function no longer works, and complains the settings plugin is missing.
Not very elegant at all, and only a super-quick fix to get things running again. Perhaps gthe could factor in the new release of the PIA2.x compliant settings plugin into the code ?
Thanks
Also with this trick nothing
Doesn't appare anymore the snmp error but no message sent.
Also I'm not able to create new rule or edit the existing one, in detail I create or edit a rule but when I press save the system go as before.
Any idea...a rollback to previous version?
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map