pandorafms/pandora_console/extras/mr/40.sql

16 lines
575 B
MySQL
Raw Normal View History

2020-07-06 09:55:14 +02:00
START TRANSACTION;
UPDATE `talert_commands` SET name='Monitoring Event' WHERE name='Pandora FMS Event';
2020-07-09 16:53:03 +02:00
ALTER TABLE `tservice_element` ADD COLUMN `rules` text;
ALTER TABLE `tservice` ADD COLUMN `unknown_as_critical` tinyint(1) NOT NULL default 0 AFTER `warning`;
ALTER TABLE `tserver` MODIFY COLUMN `version` varchar(25) NOT NULL DEFAULT '';
2020-07-09 16:53:03 +02:00
UPDATE `tservice` SET `auto_calculate`=0;
UPDATE `tservice` SET `cps`= `cps` - 1 WHERE `cps` > 0;
UPDATE `tagente` SET `cps`= `cps` - 1 WHERE `cps` > 0;
UPDATE `tagente_modulo` SET `cps`= `cps` - 1 WHERE `cps` > 0;
2020-07-06 09:56:15 +02:00
COMMIT;