2014-03-17 Vanessa Gil <vanessa.gil@artica.es>

* pandoradb.sql
	  extras/pandoradb_migrate_5.0_to_5.1.mysql.sql
	  godmode/agentes/configurar_agente.php: Fixed bug:
	'post_process' out of range.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9604 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-03-17 12:32:48 +00:00
parent 561fbbbfa9
commit a24a9e1cff
4 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2014-03-17 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
extras/pandoradb_migrate_5.0_to_5.1.mysql.sql
godmode/agentes/configurar_agente.php: Fixed bug:
'post_process' out of range.
2014-03-17 Vanessa Gil <vanessa.gil@artica.es> 2014-03-17 Vanessa Gil <vanessa.gil@artica.es>
* operation/snmpconsole/snmp_view.php: Added 'group by * operation/snmpconsole/snmp_view.php: Added 'group by

View File

@ -36,3 +36,8 @@ UPDATE tconfig SET `value`='#FF6600' WHERE `token`='graph_color3';
-- Table `tconfig` -- Table `tconfig`
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
ALTER TABLE tgraph_source MODIFY COLUMN `weight` float(8,3) NOT NULL DEFAULT 0; ALTER TABLE tgraph_source MODIFY COLUMN `weight` float(8,3) NOT NULL DEFAULT 0;
-- ---------------------------------------------------------------------
-- Table `tagente_modulo`
-- ---------------------------------------------------------------------
ALTER TABLE `pandora`.`tagente_modulo` MODIFY COLUMN `post_process` DOUBLE DEFAULT NULL;

View File

@ -741,7 +741,7 @@ if ($update_module || $create_module) {
// where are very big and PHP uses scientific notation, p.e: // where are very big and PHP uses scientific notation, p.e:
// 1.23E-10 is 0.000000000123 // 1.23E-10 is 0.000000000123
$post_process = (string) get_parameter ('post_process', 0.0); $post_process = get_parameter ('post_process', 0);
$prediction_module = 0; $prediction_module = 0;
$max_timeout = (int) get_parameter ('max_timeout'); $max_timeout = (int) get_parameter ('max_timeout');
$max_retries = (int) get_parameter ('max_retries'); $max_retries = (int) get_parameter ('max_retries');

View File

@ -202,7 +202,7 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
`plugin_pass` text, `plugin_pass` text,
`plugin_parameter` text, `plugin_parameter` text,
`id_plugin` int(10) default '0', `id_plugin` int(10) default '0',
`post_process` double(18,5) default NULL, `post_process` double default NULL,
`prediction_module` bigint(14) default '0', `prediction_module` bigint(14) default '0',
`max_timeout` int(4) unsigned default '0', `max_timeout` int(4) unsigned default '0',
`max_retries` int(4) unsigned default '0', `max_retries` int(4) unsigned default '0',