From 6518f0659dfb90ef715335faf0e5b6d2e2cf715f Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 21 Aug 2017 19:46:12 +0900 Subject: [PATCH] added sensor --- src/main/resources/init.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/main/resources/init.sql b/src/main/resources/init.sql index 70b1173..d47ca44 100644 --- a/src/main/resources/init.sql +++ b/src/main/resources/init.sql @@ -441,4 +441,22 @@ INSERT INTO public.infra_os_daemon ("name",id,os_id) VALUES ( insert into public.PROBE_INFRAHOST (HOST_ID, PROBE_ID) values (3, 1); +INSERT INTO public.sensor (crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES ( +NULL,'2017-06-26 20:19:07.009','My sensor',1,1,1); +INSERT INTO public.sensor (crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES ( +NULL,'2017-06-26 20:19:07.074','My sensor',1,1,1); + +INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( +'2017-06-26 20:21:16.626',1,1); +INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( +'2017-06-26 20:21:50.988',2,2); + +INSERT INTO public.noauth_probe (api_key,create_date,host_name,ip_address,mac_address,temp_probe_key,domain_id,probe_id,status) VALUES ( +'52abd6fd57e511e7ac52080027658d13','2017-06-26 12:43:46.877','snoop',3232235980,8796753988883,'1cf2555c57d511e79714080027658d13',1,NULL,3); + +INSERT INTO public.noauth_probe (api_key,create_date,host_name,ip_address,mac_address,temp_probe_key,domain_id,probe_id,status) VALUES ( +'52abd6fd57e511e7ac52080027658d14','2017-08-11 12:43:46.877','geek',3232235980,8796753988883,'1cf2555c57d511e79714080027658d14',1,NULL,3); + +INSERT INTO public.noauth_probe (api_key,create_date,host_name,ip_address,mac_address,temp_probe_key,domain_id,probe_id,status) VALUES ( +'52abd6fd57e511e7ac52080027658d15','2017-08-11 12:43:46.877','insanity',3232235980,8796753988883,'1cf2555c57d511e79714080027658d15',1,NULL,3);