diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cf098c1f90..0805da4f3c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-05-05 Ramon Novoa + + * extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql + pandoradb_data.sql: Added a new OS for satellite agents. + 2014-05-05 Juan Manuel Ramon * include/functions_agents.php diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql index 5614065943..be98042e02 100644 --- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql @@ -40,8 +40,10 @@ ALTER TABLE tgraph_source MODIFY COLUMN `weight` float(8,3) NOT NULL DEFAULT 0; -- --------------------------------------------------------------------- -- Table `tconfig_os` -- --------------------------------------------------------------------- -INSERT INTO `tconfig_os` VALUES (17, 'Router', 'Generic router', 'so_router.png'); -INSERT INTO `tconfig_os` VALUES (18, 'Switch', 'Generic switch', 'so_switch.png'); +INSERT INTO `tconfig_os` (`name`, `description`, icon_name`) VALUES ('Router', 'Generic router', 'so_router.png'); +INSERT INTO `tconfig_os` (`name`, `description`, icon_name`) VALUES ('Switch', 'Generic switch', 'so_switch.png'); +INSERT INTO `tconfig_os` (`name`, `description`, icon_name`) VALUES ('Satellite', 'Satellite agent', 'so_other.png'); + -- --------------------------------------------------------------------- -- Table `tagente_modulo` diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index c5f84c4f39..d54b699c24 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -110,7 +110,7 @@ UNLOCK TABLES; -- LOCK TABLES `tconfig_os` WRITE; -INSERT INTO `tconfig_os` VALUES +INSERT INTO `tconfig_os` (`id_os`, `name`, `description`, `icon_name`) VALUES (1,'Linux','Linux: All versions','so_linux.png'), (2,'Solaris','Sun Solaris','so_solaris.png'), (3,'AIX','IBM AIX','so_aix.png'), @@ -127,7 +127,8 @@ INSERT INTO `tconfig_os` VALUES (15,'Android','Android agent','android.png'), (16, 'VMware', 'VMware Architecture', 'so_vmware.png'), (17, 'Router', 'Generic router', 'so_router.png'), -(18, 'Switch', 'Generic switch', 'so_switch.png'); +(18, 'Switch', 'Generic switch', 'so_switch.png'), +(19, 'Satellite', 'Satellite agent', 'so_other.png'); UNLOCK TABLES;