Changed column type of 'tagente_estado.status_changes' to unsigned.
(Fixed ff_threshold evaluation.) Because of column type difference bettween 'tagente_estado.status_changes' and 'tagente_modulo.min_ff_event', it didn't work correctly with over 127.
This commit is contained in:
parent
63cdcb1288
commit
582b4abb35
|
@ -9,3 +9,9 @@ ALTER TABLE talert_templates ADD COLUMN `min_alerts_reset_counter` tinyint(1) DE
|
|||
-- ----------------------------------------------------------------------
|
||||
|
||||
ALTER TABLE tserver ADD COLUMN `server_keepalive` int(11) DEFAULT 0;
|
||||
|
||||
-- ----------------------------------------------------------------------
|
||||
-- Table `tagente_estado`
|
||||
-- ----------------------------------------------------------------------
|
||||
|
||||
ALTER TABLE tagente_estado MODIFY `status_changes` tinyint(4) unsigned default 0;
|
||||
|
|
|
@ -150,7 +150,7 @@ CREATE TABLE IF NOT EXISTS `tagente_estado` (
|
|||
`current_interval` int(8) unsigned NOT NULL default '0',
|
||||
`running_by` smallint(4) unsigned default '0',
|
||||
`last_execution_try` bigint(20) NOT NULL default '0',
|
||||
`status_changes` tinyint(4) default 0,
|
||||
`status_changes` tinyint(4) unsigned default 0,
|
||||
`last_status` tinyint(4) default 0,
|
||||
`last_known_status` tinyint(4) default 0,
|
||||
`last_error` int(4) NOT NULL default '0',
|
||||
|
|
Loading…
Reference in New Issue