From 34b6f58f66d954e98af052eedabb2bfdfc94ab2f Mon Sep 17 00:00:00 2001 From: insanity Date: Tue, 27 Mar 2018 20:53:35 +0900 Subject: [PATCH] init.sql --- src/main/resources/local/init.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/main/resources/local/init.sql b/src/main/resources/local/init.sql index 7c74227..c8658fb 100644 --- a/src/main/resources/local/init.sql +++ b/src/main/resources/local/init.sql @@ -295,6 +295,16 @@ INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,ke '12','2017-09-11 18:41','DES','SNMP V3 Encryption Type','','DES|AES','Encryption Type','','TRUE','25','5'); INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,crawler_id,type_id) VALUES ( '13','2017-09-11 18:41','Loafle','SNMP V3 Encryption Key','','','Encryption Key','','TRUE','25','1'); +INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,crawler_id,type_id) VALUES ( +'14','2017-06-25 17:01','redis','Redis DB Name','','','DB Name','','TRUE','16','1'); +INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,crawler_id,type_id) VALUES ( +'15','2017-06-25 17:01','Loafle','Redis Account ID','','','ID','','TRUE','16','1'); +INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,crawler_id,type_id) VALUES ( +'16','2017-06-25 17:01','','Redis Account PW','','','PassWord','','TRUE','16','2'); +INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,crawler_id,type_id) VALUES ( +'17','2017-06-25 17:01','Loafle','SSH User','','','ID','','TRUE','21','1'); +INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,crawler_id,type_id) VALUES ( +'18','2017-06-25 17:01','','SSH PW','','','PassWord','','TRUE','21','2'); INSERT INTO public.meta_probe_architecture (id,architecture,create_date) VALUES ( @@ -592,6 +602,14 @@ INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,disp '24','2017-11-07 16:08:59','false','','Virtual Memory Usage (%)','wmi.mem.virtual.usage.total','23','1','2'); INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",crawler_id,unit_id,type_id) VALUES ( '25','2017-11-07 16:08:59','false','','Paging Usage (%)','wmi.mem.paging.usage.total','23','1','2'); +INSERT INTO meta_sensor_display_item (id, create_date, is_default, description, display_name, key, crawler_id, type_id, unit_id) VALUES (201, '2017-11-07 16:08:59', true, 'The rate of connections to the server.', 'Connections', 'MYSQL.NET.CONNECTIONS', 11, 15, 6); +INSERT INTO meta_sensor_display_item (id, create_date, is_default, description, display_name, key, crawler_id, type_id, unit_id) VALUES (202, '2017-11-07 16:08:59', true, 'The rate of data reads and writes.', 'Reads & Writes', 'MYSQL.INNODB.READSWRITES', 11, 14, 6); +INSERT INTO meta_sensor_display_item (id, create_date, is_default, description, display_name, key, crawler_id, type_id, unit_id) VALUES (203, '2017-11-07 16:08:59', true, 'Fraction of time spent (ms/s) acquring row locks.', 'Row Lock Time (ms/s)', 'MYSQL.INNODB.ROW_LOCK_TIME', 11, 14, 0); +INSERT INTO meta_sensor_display_item (id, create_date, is_default, description, display_name, key, crawler_id, type_id, unit_id) VALUES (204, '2017-11-07 16:08:59', true, 'The number of times per second a row lock had to be waited for.', 'Row Lock Waits', 'MYSQL.INNODB.ROW_LOCK_WAITS', 11, 14, 6); +INSERT INTO meta_sensor_display_item (id, create_date, is_default, description, display_name, key, crawler_id, type_id, unit_id) VALUES (205, '2017-11-07 16:08:59', true, 'The rate of slow queries.', 'Slow Queries', 'MYSQL.PERFORMANCE.SLOW_QUERIES', 11, 16, 6); +INSERT INTO meta_sensor_display_item (id, create_date, is_default, description, display_name, key, crawler_id, type_id, unit_id) VALUES (206, '2017-11-07 16:08:59', true, 'The rate of queries.', 'Queries', 'MYSQL.PERFORMANCE.QUERIES', 11, 16, 6); + + INSERT INTO meta_sensor_display_mapping (id,display_item_id,item_key_id) VALUES ( '1','1','119');