diff --git a/pom.xml b/pom.xml index 6fb19e1..ebaeef2 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,7 @@ com.loafle.overflow commons-java - 1.0.18-SNAPSHOT + 1.0.19-SNAPSHOT diff --git a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java b/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java index bfc86c1..f4518dd 100644 --- a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java +++ b/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java @@ -13,7 +13,7 @@ import com.loafle.overflow.model.domain.Domain; import com.loafle.overflow.model.domain.DomainMember; import com.loafle.overflow.model.email.EmailAuth; import com.loafle.overflow.model.member.Member; -import com.loafle.overflow.model.meta.MetaEmailStatus; +import com.loafle.overflow.model.meta.MetaEmailType; import com.loafle.overflow.model.meta.MetaMemberStatus; import com.loafle.overflow.service.central.email.EmailAuthService; import org.springframework.beans.factory.annotation.Autowired; @@ -161,7 +161,7 @@ public class CentralEmailAuthService implements EmailAuthService { return true; } - private EmailAuth sendEMail(Member member, int status) throws OverflowException { + private EmailAuth sendEMail(Member member, int type) throws OverflowException { String key = GenerateKey.getKey(); // String enMail = emailSender.encrypt(key); @@ -172,7 +172,7 @@ public class CentralEmailAuthService implements EmailAuthService { EmailAuth auth = new EmailAuth(); auth.setMember(member); auth.setEmailAuthKey(key); - auth.setMetaEmailStatus(new MetaEmailStatus(status)); + auth.setMetaEmailType(new MetaEmailType(type)); // System.out.println("encode = [" + encode + "]"); String encode = ""; @@ -183,11 +183,11 @@ public class CentralEmailAuthService implements EmailAuthService { e.printStackTrace(); } - if (status == 1) { + if (type == 1) { mailSubject = "Signup Confirm Mail"; entry = "confirm-signup"; templateName = "/vmtemplates/signup.vm"; - } else if (status == 2) { + } else if (type == 2) { mailSubject = "Reset Password Confirm Mail"; entry = "confirm-reset-password"; templateName = "/vmtemplates/password_reset.vm"; @@ -219,7 +219,7 @@ public class CentralEmailAuthService implements EmailAuthService { // auth.setMember(member); // String en = emailSender.encrypt(member.getEmail()); // auth.setEmailAuthKey(en); -// auth.setEmailStatus(new MetaEmailStatus(1)); +// auth.setEmailStatus(new MetaEmailType(1)); // String encode = URLEncoder.encode(en, "UTF-8"); // //// System.out.println("encode = [" + encode + "]"); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java b/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java index 531c473..9d9e957 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java @@ -3,7 +3,6 @@ package com.loafle.overflow.central.module.generator.service; import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.model.meta.MetaCrawler; import com.loafle.overflow.model.meta.MetaSensorItemKey; -import com.loafle.overflow.model.meta.type.MetaCrawlerEnum; import com.loafle.overflow.model.sensor.SensorItem; import com.loafle.overflow.model.sensorconfig.Crawler; import com.loafle.overflow.model.sensorconfig.Keys; @@ -53,17 +52,17 @@ public class GenerateUtil { String container = ""; - if (metaCrawler.getId() == MetaCrawlerEnum.CASSANDRA_CRAWLER.getValue() - || metaCrawler.getId() == MetaCrawlerEnum.CASSANDRA_CRAWLER.getValue() - || metaCrawler.getId() == MetaCrawlerEnum.MONGODB_CRAWLER.getValue() - || metaCrawler.getId() == MetaCrawlerEnum.MSSQL_CRAWLER.getValue() - || metaCrawler.getId() == MetaCrawlerEnum.ORACLE_CRAWLER.getValue() - || metaCrawler.getId() == MetaCrawlerEnum.POSTGRESQL_CRAWLER.getValue() - || metaCrawler.getId() == MetaCrawlerEnum.JMX_CRAWLER.getValue()) { - container = "java_proxy"; - } else { - container = "network_proxy"; - } + // if (metaCrawler.getId() == MetaCrawlerEnum.CASSANDRA_CRAWLER.getValue() + // || metaCrawler.getId() == MetaCrawlerEnum.CASSANDRA_CRAWLER.getValue() + // || metaCrawler.getId() == MetaCrawlerEnum.MONGODB_CRAWLER.getValue() + // || metaCrawler.getId() == MetaCrawlerEnum.MSSQL_CRAWLER.getValue() + // || metaCrawler.getId() == MetaCrawlerEnum.ORACLE_CRAWLER.getValue() + // || metaCrawler.getId() == MetaCrawlerEnum.POSTGRESQL_CRAWLER.getValue() + // || metaCrawler.getId() == MetaCrawlerEnum.JMX_CRAWLER.getValue()) { + // container = "java_proxy"; + // } else { + // container = "network_proxy"; + // } crawler.setContainer(container); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java index ad4f56a..2821ecc 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java @@ -5,7 +5,6 @@ import com.loafle.overflow.model.auth.AuthCrawler; import com.loafle.overflow.model.infra.Infra; import com.loafle.overflow.model.infra.InfraHost; import com.loafle.overflow.model.meta.MetaSensorItemKey; -import com.loafle.overflow.model.meta.type.MetaCrawlerEnum; import com.loafle.overflow.model.sensor.Sensor; import com.loafle.overflow.model.sensor.SensorItem; import com.loafle.overflow.model.sensorconfig.Connection; @@ -67,9 +66,9 @@ public class InfraHostGenerator { Map keyMap = this.generateUtil.initMappingMap(dbSensor.getMetaCrawler()); - if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { - this.infraHostWMIGenerator.process(sensorItems, keyMap, dbSensor, sensorConfig); - } + // if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { + // this.infraHostWMIGenerator.process(sensorItems, keyMap, dbSensor, sensorConfig); + // } return objectMapper.writeValueAsString(sensorConfig); } @@ -85,26 +84,26 @@ public class InfraHostGenerator { Target target = new Target(); Connection connection = new Connection(); - connection.setIp(infraHost.getIpv4()); + // connection.setIp(infraHost.getIpv4()); HashMap optionMap = this.objectMapper.readValue(authCrawler.getAuthJson(), new TypeReference>() { }); - if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { - connection.setPort(135); - connection.setPortType(PortType.TCP); - connection.setSsl(false); + // if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { + // connection.setPort(135); + // connection.setPortType(PortType.TCP); + // connection.setSsl(false); - target.setConnection(connection); + // target.setConnection(connection); - Map auth = new HashMap<>(); - auth.put("id", optionMap.get("ID")); - auth.put("pw", optionMap.get("PassWord")); + // Map auth = new HashMap<>(); + // auth.put("id", optionMap.get("ID")); + // auth.put("pw", optionMap.get("PassWord")); - target.setAuth(auth); + // target.setAuth(auth); - } + // } return target; } diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java index 80902ea..4294b84 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java @@ -5,7 +5,6 @@ import com.loafle.overflow.model.auth.AuthCrawler; import com.loafle.overflow.model.infra.Infra; import com.loafle.overflow.model.infra.InfraService; import com.loafle.overflow.model.meta.MetaSensorItemKey; -import com.loafle.overflow.model.meta.type.MetaCrawlerEnum; import com.loafle.overflow.model.sensor.Sensor; import com.loafle.overflow.model.sensor.SensorItem; import com.loafle.overflow.model.sensorconfig.Connection; @@ -69,11 +68,11 @@ public class InfraServiceGenerator { Map keyMap = this.generateUtil.initMappingMap(dbSensor.getMetaCrawler()); - if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.MYSQL_CRAWLER.getValue()) { - this.infraServiceMysqlGenerator.process(sensorItems, keyMap, dbSensor, sensorConfig); - } else if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.JMX_CRAWLER.getValue()) { - this.infraServiceJMXGenerator.process(sensorItems, keyMap, dbSensor, sensorConfig); - } + // if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.MYSQL_CRAWLER.getValue()) { + // this.infraServiceMysqlGenerator.process(sensorItems, keyMap, dbSensor, sensorConfig); + // } else if (dbSensor.getMetaCrawler().getId() == MetaCrawlerEnum.JMX_CRAWLER.getValue()) { + // this.infraServiceJMXGenerator.process(sensorItems, keyMap, dbSensor, sensorConfig); + // } return objectMapper.writeValueAsString(sensorConfig); } @@ -89,10 +88,10 @@ public class InfraServiceGenerator { Target target = new Target(); Connection connection = new Connection(); - connection.setIp(infraService.getInfraHost().getIpv4()); - connection.setPort(infraService.getPort()); - connection.setPortType(PortType.valueOf(infraService.getPortType())); - connection.setSsl(infraService.isTlsType()); + // connection.setIp(infraService.getInfraHost().getIpv4()); + // connection.setPort(infraService.getPort()); + // connection.setPortType(PortType.valueOf(infraService.getPortType())); + // connection.setSsl(infraService.isTlsType()); target.setConnection(connection); @@ -102,15 +101,15 @@ public class InfraServiceGenerator { Map auth = new HashMap<>(); - if (sensor.getMetaCrawler().getId() == MetaCrawlerEnum.MYSQL_CRAWLER.getValue()) { - auth.put("url", "jdbc:mysql://" + infraService.getInfraHost().getIpv4() + ":" + infraService.getPort()); - auth.put("id", optionMap.get("ID")); // FIXME: Auth Info - auth.put("pw", optionMap.get("PassWord")); // FIXME: Auth Info - } else if (sensor.getMetaCrawler().getId() == MetaCrawlerEnum.JMX_CRAWLER.getValue()) { - auth.put("id", optionMap.get("ID")); // FIXME: Auth Info - auth.put("pw", optionMap.get("PassWord")); // FIXME: Auth Info - connection.setPort(9840); - } + // if (sensor.getMetaCrawler().getId() == MetaCrawlerEnum.MYSQL_CRAWLER.getValue()) { + // auth.put("url", "jdbc:mysql://" + infraService.getInfraHost().getIpv4() + ":" + infraService.getPort()); + // auth.put("id", optionMap.get("ID")); // FIXME: Auth Info + // auth.put("pw", optionMap.get("PassWord")); // FIXME: Auth Info + // } else if (sensor.getMetaCrawler().getId() == MetaCrawlerEnum.JMX_CRAWLER.getValue()) { + // auth.put("id", optionMap.get("ID")); // FIXME: Auth Info + // auth.put("pw", optionMap.get("PassWord")); // FIXME: Auth Info + // connection.setPort(9840); + // } target.setAuth(auth); diff --git a/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java b/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java index e6cacf8..435e122 100644 --- a/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java +++ b/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java @@ -11,11 +11,8 @@ import com.loafle.overflow.model.apikey.ApiKey; import com.loafle.overflow.model.domain.Domain; import com.loafle.overflow.model.domain.DomainMember; import com.loafle.overflow.model.infra.InfraHost; -import com.loafle.overflow.model.infra.InfraMachine; -import com.loafle.overflow.model.infra.InfraOS; import com.loafle.overflow.model.member.Member; import com.loafle.overflow.model.meta.MetaInfraType; -import com.loafle.overflow.model.meta.MetaInfraVendor; import com.loafle.overflow.model.meta.MetaNoAuthProbeStatus; import com.loafle.overflow.model.meta.MetaProbeStatus; import com.loafle.overflow.model.noauthprobe.NoAuthProbe; @@ -27,8 +24,6 @@ import com.loafle.overflow.model.probe.ProbeHost; import com.loafle.overflow.service.central.apikey.ApiKeyService; import com.loafle.overflow.service.central.domain.DomainMemberService; import com.loafle.overflow.service.central.infra.InfraHostService; -import com.loafle.overflow.service.central.infra.InfraMachineService; -import com.loafle.overflow.service.central.infra.InfraOSService; import com.loafle.overflow.service.central.noauthprobe.NoAuthProbeService; import com.loafle.overflow.service.central.probe.ProbeHostService; import com.loafle.overflow.service.central.probe.ProbeService; diff --git a/src/main/resources/development/cache.properties b/src/main/resources/development/cache.properties new file mode 100644 index 0000000..fda34c0 --- /dev/null +++ b/src/main/resources/development/cache.properties @@ -0,0 +1,3 @@ +# Caffeine +cache.cache-names:memberListByDomain,memberListByProbeKey +cache.caffeine.spec: initialCapacity=100,maximumSize=500,expireAfterAccess=5m,recordStats \ No newline at end of file diff --git a/src/main/resources/development/database.properties b/src/main/resources/development/database.properties new file mode 100644 index 0000000..ec6cc8b --- /dev/null +++ b/src/main/resources/development/database.properties @@ -0,0 +1,11 @@ +datasource.url=jdbc:postgresql://192.168.1.50:5432/overflow +datasource.username=overflow +datasource.password=qwer5795 +datasource.driver-class-name=org.postgresql.Driver + +jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +jpa.database=postgresql +jpa.hibernate.ddl-auto=create +#jpa.hibernate.ddl-auto=update +jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy +jpa.show-sql=false diff --git a/src/main/resources/development/mail.properties b/src/main/resources/development/mail.properties new file mode 100644 index 0000000..0a01f91 --- /dev/null +++ b/src/main/resources/development/mail.properties @@ -0,0 +1,14 @@ +# Naver SMTP +mail.host=smtp.worksmobile.com +mail.port=465 +mail.username=geek@loafle.com +mail.password=@cosmos@5795 +mail.protocol=smtps + +mail.properties.mail.smtp.auth=true +mail.transport.protocol=smtp +mail.properties.mail.smtp.starttls.enable=true +mail.smtps.ssl.checkserveridentity=true +mail.smtps.ssl.trust=* + + diff --git a/src/main/resources/development/redis.properties b/src/main/resources/development/redis.properties new file mode 100644 index 0000000..26fc4d8 --- /dev/null +++ b/src/main/resources/development/redis.properties @@ -0,0 +1,4 @@ +# Redis +redis.host=192.168.1.50 +redis.port=6379 +redis.channels=/webapp,/probe,/auth \ No newline at end of file diff --git a/src/main/resources/development/velocity.properties b/src/main/resources/development/velocity.properties new file mode 100644 index 0000000..d2a5cc2 --- /dev/null +++ b/src/main/resources/development/velocity.properties @@ -0,0 +1,10 @@ +#resource.loader=jar +#jar.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader +#jar.runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem +#jar.runtime.log.logsystem.log4j.category=velocity +#jar.resource.loader.cache=true +resource.loader=class +class.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader +class.runtime.log.logsystem.log4j.category=velocity + +input.encoding=UTF-8 \ No newline at end of file diff --git a/src/main/resources/development/vmtemplates/overFlow_logo.png b/src/main/resources/development/vmtemplates/overFlow_logo.png new file mode 100644 index 0000000..b95826f Binary files /dev/null and b/src/main/resources/development/vmtemplates/overFlow_logo.png differ diff --git a/src/main/resources/development/vmtemplates/password_reset.vm b/src/main/resources/development/vmtemplates/password_reset.vm new file mode 100644 index 0000000..1792fc3 --- /dev/null +++ b/src/main/resources/development/vmtemplates/password_reset.vm @@ -0,0 +1,72 @@ + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
+ Resset Your Password +
+ +

Dear ${firstName} ${lastName},

+ +

Sending Email ${content}

+ + + + + + + + + +
+ RESSET PASSWORD NOW +
+ +

Thanks

+ +
+

${signature}

+ +

${location}

+ +

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

+

Help Center · + Privacy Policy · + Terms & Conditions

+

Unsubscribe from this email

+
+
+
+
+
+
diff --git a/src/main/resources/development/vmtemplates/signup.vm b/src/main/resources/development/vmtemplates/signup.vm new file mode 100644 index 0000000..573d1cc --- /dev/null +++ b/src/main/resources/development/vmtemplates/signup.vm @@ -0,0 +1,72 @@ + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
+ Welcome to overFlow. Please Confirm your Email +
+ +

Dear ${firstName} ${lastName},

+ +

Sending Email ${content}

+ + + + + + + + + +
+ Register Now +
+ +

Thanks

+ +
+

${signature}

+ +

${location}

+ +

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

+

Help Center · + Privacy Policy · + Terms & Conditions

+

Unsubscribe from this email

+
+
+
+
+
+
diff --git a/src/main/resources/local/init.sql b/src/main/resources/local/init.sql index 656822d..c752600 100644 --- a/src/main/resources/local/init.sql +++ b/src/main/resources/local/init.sql @@ -1,613 +1,665 @@ -INSERT INTO public.meta_member_status (id,"name") VALUES ( -1,'NOAUTH'); -INSERT INTO public.meta_member_status (id,"name") VALUES ( -2,'NORMAL'); -INSERT INTO public.meta_member_status (id,"name") VALUES ( -3,'DIAPAUSE'); -INSERT INTO public.meta_member_status (id,"name") VALUES ( -4,'WITHDRAWAL'); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 1 , 'NETWORK_CHANGE_DETECTION' , 'Network Change Detection Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 2 , 'HOST_HEALTH' , 'Host Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 3 , 'ACTIVEDIRECTORY' , 'Active Directory Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 4 , 'ACTIVEDIRECTORY_HEALTH' , 'Active Directory Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 5 , 'CASSANDRA' , 'Cassandra Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 6 , 'CASSANDRA_HEALTH' , 'Cassandra Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 7 , 'DHCP' , 'DHCP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 8 , 'DHCP_HEALTH' , 'DHCP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 9 , 'DNS' , 'DNS Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 10 , 'DNS_HEALTH' , 'DNS Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 11 , 'FTP' , 'FTP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 12 , 'FTP_HEALTH' , 'FTP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 13 , 'HTTP' , 'HTTP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 14 , 'HTTP_HEALTH' , 'HTTP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 15 , 'IMAP' , 'IMAP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 16 , 'IMAP_HEALTH' , 'IMAP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 17 , 'LDAP' , 'LDAP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 18 , 'LDAP_HEALTH' , 'LDAP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 19 , 'MONGODB' , 'MongoDB Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 20 , 'MONGODB_HEALTH' , 'MongoDB Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 21 , 'SQLSERVER' , 'SQL Server Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 22 , 'SQLSERVER_HEALTH' , 'SQL Server Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 23 , 'MYSQL' , 'MySQL Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 24 , 'MYSQL_HEALTH' , 'MySQL Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 25 , 'NETBIOS' , 'NetBIOS Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 26 , 'NETBIOS_HEALTH' , 'NetBIOS Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 27 , 'ORACLE' , 'Oracle Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 28 , 'ORACLE_HEALTH' , 'Oracle Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 29 , 'POP' , 'POP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 30 , 'POP_HEALTH' , 'POP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 31 , 'POSTGRESQL' , 'PostgreSQL Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 32 , 'POSTGRESQL_HEALTH' , 'PostgreSQL Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 33 , 'REDIS' , 'Redis Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 34 , 'REDIS_HEALTH' , 'Redis Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 35 , 'JMX' , 'JMX Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 36 , 'RMI_HEALTH' , 'RMI Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 37 , 'SMB' , 'SMB Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 38 , 'SMB_HEALTH' , 'SMB Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 39 , 'SMTP' , 'SMTP Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 40 , 'SMTP_HEALTH' , 'SMTP Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 41 , 'SNMPV2' , 'SNMP V2 Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 42 , 'SNMPV2_HEALTH' , 'SNMP V2 Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 43 , 'SNMPV3' , 'SNMP V3 Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 44 , 'SNMPV3_HEALTH' , 'SNMP V3 Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 45 , 'SSH' , 'SSH Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 46 , 'SSH_HEALTH' , 'SSH Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 47 , 'TELNET' , 'Telnet Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 48 , 'TELNET_HEALTH' , 'Telnet Health Crawler' , 'false' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 49 , 'WMI' , 'WMI Crawler' , 'true' ); +INSERT INTO public.meta_crawler ( id , key , "name" , is_default ) VALUES ( 50 , 'WMI_HEALTH' , 'WMI Health Crawler' , 'false' ); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -1,'2017-06-25 17:31:42.770','MACHINE'); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -2,'2017-06-25 17:31:42.894','HOST'); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -3,'2017-06-25 17:31:42.906','OS'); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -4,'2017-06-25 17:31:42.906','OS_APPLICATION'); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -5,'2017-06-25 17:31:42.906','OS_DAEMON'); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -6,'2017-06-25 17:31:42.906','OS_PORT'); -INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( -7,'2017-06-25 17:31:42.906','OS_SERVICE'); +INSERT INTO public.meta_input_type (id , key , "name" ) VALUES ( 1 , 'TEXT' , 'Text' ); +INSERT INTO public.meta_input_type (id , key , "name" ) VALUES ( 2 , 'PASSWORD' , 'Password' ); +INSERT INTO public.meta_input_type (id , key , "name" ) VALUES ( 3 , 'NUMBER' , 'Number' ); +INSERT INTO public.meta_input_type (id , key , "name" ) VALUES ( 4 , 'BOOLEAN' , 'Boolean' ); +INSERT INTO public.meta_input_type (id , key , "name" ) VALUES ( 5 , 'SELECT' , 'Select' ); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 1,'2017-07-27 15:26:52.985','APPLE',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 2,'2017-07-27 15:26:52.985','MICROSOFT',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 3,'2017-07-27 15:26:52.985','ASUS',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 4,'2017-07-27 15:26:52.985','HP',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 5,'2017-07-27 15:26:52.985','DELL',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 6,'2017-07-27 15:26:52.985','LENOVO',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 7,'2017-07-27 15:26:52.985','ACER',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 8,'2017-07-27 15:26:52.985','SAMSUNG',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 9,'2017-07-27 15:26:52.985','LG',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 10,'2017-07-27 15:26:52.985','CISCO',1); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 11,'2017-07-27 15:26:52.985','Windows',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 12,'2017-07-27 15:26:52.985','Linux',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 13,'2017-07-27 15:26:52.985','Mac OS',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 14,'2017-07-27 15:26:52.985','Ubuntu',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 15,'2017-07-27 15:26:52.985','Cent OS',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 16,'2017-07-27 15:26:52.985','Fedora',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 17,'2017-07-27 15:26:52.985','Red Hat',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 18,'2017-07-27 15:26:52.985','Debian',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 19,'2017-07-27 15:26:52.985','SUSE',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 20,'2017-07-27 15:26:52.985','Core OS',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 21,'2017-07-27 15:26:52.985','Amazon Linux',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 22,'2017-07-27 15:26:52.985','Kubernetes',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 23,'2017-07-27 15:26:52.985','Docker',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 24,'2017-07-27 15:26:52.985','iOS',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 25,'2017-07-27 15:26:52.985','Android',2); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 26,'2017-07-27 15:26:52.985','Windows',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 27,'2017-07-27 15:26:52.985','Mac OS',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 28,'2017-07-27 15:26:52.985','Ubuntu',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 29,'2017-07-27 15:26:52.985','Cent OS',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 30,'2017-07-27 15:26:52.985','Fedora',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 31,'2017-07-27 15:26:52.985','Red Hat',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 32,'2017-07-27 15:26:52.985','Debian',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 33,'2017-07-27 15:26:52.985','SUSE',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 34,'2017-07-27 15:26:52.985','Core OS',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 35,'2017-07-27 15:26:52.985','Amazon Linux',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 36,'2017-07-27 15:26:52.985','Kubernetes',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 37,'2017-07-27 15:26:52.985','Docker',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 38,'2017-07-27 15:26:52.985','iOS',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 39,'2017-07-27 15:26:52.985','Android',3); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 40,'2017-07-27 15:26:52.985','ACTIVEDIRECTORY',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 41,'2017-07-27 15:26:52.985','CASSANDRA',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 42,'2017-07-27 15:26:52.985','DHCP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 43,'2017-07-27 15:26:52.985','DNS',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 44,'2017-07-27 15:26:52.985','FTP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 45,'2017-07-27 15:26:52.985','HTTP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 46,'2017-07-27 15:26:52.985','IMAP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 47,'2017-07-27 15:26:52.985','LDAP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 48,'2017-07-27 15:26:52.985','MONGODB',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 49,'2017-07-27 15:26:52.985','MSSQL',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 50,'2017-07-27 15:26:52.985','MYSQL',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 51,'2017-07-27 15:26:52.985','NETBIOS',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 52,'2017-07-27 15:26:52.985','ORACLE',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 53,'2017-07-27 15:26:52.985','POP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 54,'2017-07-27 15:26:52.985','POSTGRESQL',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 55,'2017-07-27 15:26:52.985','REDIS',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 56,'2017-07-27 15:26:52.985','RMI',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 57,'2017-07-27 15:26:52.985','SMB',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 58,'2017-07-27 15:26:52.985','SMTP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 59,'2017-07-27 15:26:52.985','SNMP',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 60,'2017-07-27 15:26:52.985','SSH',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 61,'2017-07-27 15:26:52.985','TELNET',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 62,'2017-07-27 15:26:52.985','WMI',7); --- INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( --- 63,'2017-07-27 15:26:52.985','UNKNOWN',7); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 1 , 'Loafle' , 'Windows Account ID' , '' , '' , 'ID' , '' , 'TRUE' , '23' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 2 , '' , 'Windows Account PW' , '' , '' , 'PassWord' , '' , 'TRUE' , '23' , '2'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 3 , 'public' , 'SNMP V2 Community' , '' , '' , 'Community' , '' , 'TRUE' , '20' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 4 , 'mysqldb' , 'MYSQL DB Name' , '' , '' , 'DB Name' , '' , 'TRUE' , '11' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 5 , 'Loafle' , 'MYSQL Account ID' , '' , '' , 'ID' , '' , 'TRUE' , '11' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 6 , '' , 'MYSQL Account PW' , '' , '' , 'PassWord' , '' , 'TRUE' , '11' , '2'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 7 , 'Loafle' , 'JMX Account ID' , '' , '' , 'ID' , '' , 'TRUE' , '17' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 8 , '' , 'JMX Account PW' , '' , '' , 'PassWord' , '' , 'TRUE' , '17' , '2'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 9 , 'MD5' , 'SNMP V3 Auth Type' , '' , 'MD5|SHA' , 'AuthType' , '' , 'TRUE' , '25' , '5'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 10 , 'Loafle' , 'SNMP V3 User ID' , '' , '' , 'ID' , '' , 'TRUE' , '25' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 11 , '' , 'SNMP V3 PassWord' , '' , '' , 'PassWord' , '' , 'TRUE' , '25' , '2'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 12 , 'DES' , 'SNMP V3 Encryption Type' , '' , 'DES|AES' , 'Encryption Type' , '' , 'TRUE' , '25' , '5'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 13 , 'Loafle' , 'SNMP V3 Encryption Key' , '' , '' , 'Encryption Key' , '' , 'TRUE' , '25' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 14 , 'redis' , 'Redis DB Name' , '' , '' , 'DB Name' , '' , 'TRUE' , '16' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 15 , 'Loafle' , 'Redis Account ID' , '' , '' , 'ID' , '' , 'TRUE' , '16' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 16 , '' , 'Redis Account PW' , '' , '' , 'PassWord' , '' , 'TRUE' , '16' , '2'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 17 , 'Loafle' , 'SSH User' , '' , '' , 'ID' , '' , 'TRUE' , '21' , '1'); +INSERT INTO meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 18 , '' , 'SSH PW' , '' , '' , 'PassWord' , '' , 'TRUE' , '21' , '2'); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -1,'2017-07-27 15:26:52.985','ACTIVEDIRECTORY',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -2,'2017-07-27 15:26:52.985','CASSANDRA',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -3,'2017-07-27 15:26:52.985','DHCP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -4,'2017-07-27 15:26:52.985','DNS',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -5,'2017-07-27 15:26:52.985','FTP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -6,'2017-07-27 15:26:52.985','HTTP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -7,'2017-07-27 15:26:52.985','IMAP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -8,'2017-07-27 15:26:52.985','LDAP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -9,'2017-07-27 15:26:52.985','MONGODB',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -10,'2017-07-27 15:26:52.985','MSSQL',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -11,'2017-07-27 15:26:52.985','MYSQL',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -12,'2017-07-27 15:26:52.985','NETBIOS',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -13,'2017-07-27 15:26:52.985','ORACLE',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -14,'2017-07-27 15:26:52.985','POP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -15,'2017-07-27 15:26:52.985','POSTGRESQL',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -16,'2017-07-27 15:26:52.985','REDIS',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -17,'2017-07-27 15:26:52.985','RMI',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -18,'2017-07-27 15:26:52.985','SMB',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -19,'2017-07-27 15:26:52.985','SMTP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -20,'2017-07-27 15:26:52.985','SNMP',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -21,'2017-07-27 15:26:52.985','SSH',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -22,'2017-07-27 15:26:52.985','TELNET',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -23,'2017-07-27 15:26:52.985','WMI',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -24,'2017-07-27 15:26:52.985','UNKNOWN',7); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -25,'2017-11-10 15:26:52.985','SSH',2); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -26,'2017-11-10 15:26:52.985','WMI',2); -INSERT INTO public.meta_infra_vendor (id,create_date,name,meta_infra_type_id) VALUES ( -27,'2017-11-10 15:26:52.985','SNMP',2); +INSERT INTO public.meta_email_type ( id , key , "name" ) VALUES ( 1 , 'SIGNUP' , 'Signup confirm' ); +INSERT INTO public.meta_email_type ( id , key , "name" ) VALUES ( 2 , 'RESET_PASSWORD' , 'Reset password confirm' ); + +INSERT INTO public.meta_ip_type ( id , key , "name" ) VALUES ( 1 , 'IPV4' , 'IP V4' ); +INSERT INTO public.meta_ip_type ( id , key , "name" ) VALUES ( 2 , 'IPV6' , 'IP V6' ); + +INSERT INTO public.meta_port_type ( id , key , "name" ) VALUES ( 1 , 'TCP' , 'TCP' ); +INSERT INTO public.meta_port_type ( id , key , "name" ) VALUES ( 2 , 'UDP' , 'UDP' ); + +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 1 , 'UNKNOWN' , 'Unknown' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 2 , 'AES' , 'AES' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 3 , 'CIPHER' , 'Cipher' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 4 , 'DES' , 'DES' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 5 , 'DSA' , 'DSA' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 6 , 'ECDSA' , 'ECDSA' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 7 , 'ELLIPTIC' , 'Elliptic' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 8 , 'HMAC' , 'HMAC' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 9 , 'MD5' , 'MD5' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 10 , 'RAND' , 'RAND' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 11 , 'RC4' , 'RC4' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 12 , 'RSA' , 'RSA' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 13 , 'SHA1' , 'SHA1' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 14 , 'SHA256' , 'SHA512' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 15 , 'SUBTLE' , 'SUBTLE' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 16 , 'TLS' , 'TLS' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 17 , 'X509' , 'X509' ); +INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 18 , 'PKIX' , 'PKIX' ); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -1,'2017-06-30 12:56:08.791','ACTIVEDIRECTORY','ACTIVEDIRECTORY_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -2,'2017-06-30 12:56:08.791','CASSANDRA','CASSANDRA_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -3,'2017-06-30 12:56:08.791','DHCP','DHCP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -4,'2017-06-30 12:56:08.791','DNS','DNS_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -5,'2017-06-30 12:56:08.791','FTP','FTP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -6,'2017-06-30 12:56:08.791','HTTP','HTTP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -7,'2017-06-30 12:56:08.791','IMAP','IMAP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -8,'2017-06-30 12:56:08.791','LDAP','LDAP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -9,'2017-06-30 12:56:08.791','MONGODB','MONGODB_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -10,'2017-06-30 12:56:08.791','MSSQL','MSSQL_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -11,'2017-06-30 12:56:08.791','MYSQL','MYSQL_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -12,'2017-06-30 12:56:08.791','NETBIOS','NETBIOS_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -13,'2017-06-30 12:56:08.791','ORACLE','ORACLE_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -14,'2017-06-30 12:56:08.791','POP','POP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -15,'2017-06-30 12:56:08.791','POSTGRESQL','POSTGRESQL_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -16,'2017-06-30 12:56:08.791','REDIS','REDIS_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -17,'2017-06-30 12:56:08.791','JMX','JMX_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -18,'2017-06-30 12:56:08.791','SMB','SMB_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -19,'2017-06-30 12:56:08.791','SMTP','SMTP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -20,'2017-06-30 12:56:08.791','SNMP','SNMP_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -21,'2017-06-30 12:56:08.791','SSH','SSH_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -22,'2017-06-30 12:56:08.791','TELNET','TELNET_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -23,'2017-06-30 12:56:08.791','WMI','WMI_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -24,'2017-06-30 12:56:08.791','UNKNOWN','UNKNOWN_CRAWLER'); -INSERT INTO public.meta_crawler (id,create_date,description,name) VALUES ( -25,'2017-06-30 12:56:08.791','SNMP V3','SNMPV3_CRAWLER'); +INSERT INTO public.meta_history_type ( id , key , "name" ) VALUES ( 1 , 'MEMBER' , 'Member' ); +INSERT INTO public.meta_history_type ( id , key , "name" ) VALUES ( 2 , 'PROBE' , 'Probe' ); +INSERT INTO public.meta_history_type ( id , key , "name" ) VALUES ( 3 , 'DISCOVERY' , 'Discovery' ); +INSERT INTO public.meta_history_type ( id , key , "name" ) VALUES ( 4 , 'TARGET' , 'Target' ); +INSERT INTO public.meta_history_type ( id , key , "name" ) VALUES ( 5 , 'CRAWLER' , 'Crawler' ); +INSERT INTO public.meta_history_type ( id , key , "name" ) VALUES ( 6 , 'SENSOR' , 'Sensor' ); -INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( -1,'2017-06-25 17:00:53.861','TEXT','TEXT_TYPE'); -INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( -2,'2017-06-25 17:00:53.893','PASSWORD','PASSWORD_TYPE'); -INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( -3,'2017-06-25 17:00:53.901','NUMBER','NUMBER_TYPE'); -INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( -4,'2017-06-25 17:00:53.910','BOOLEAN','BOOLEAN_TYPE'); -INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( -5,'2017-06-25 17:00:53.920','SELECT','SELECT_TYPE'); +INSERT INTO public.meta_infra_type ( id , key , "name" ) VALUES ( 1 , 'ZONE' , 'Network Zone' ); +INSERT INTO public.meta_infra_type ( id , key , "name" ) VALUES ( 2 , 'HOST' , 'Network Host' ); +INSERT INTO public.meta_infra_type ( id , key , "name" ) VALUES ( 3 , 'SERVICE' , 'Service' ); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'1','2017-06-25 17:01','Loafle','Windows Account ID','','','ID','','TRUE','23','1'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'2','2017-06-25 17:01','','Windows Account PW','','','PassWord','','TRUE','23','2'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'3','2017-06-25 17:01','public','SNMP V2 Community','','','Community','','TRUE','20','1'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'4','2017-06-25 17:01','mysqldb','MYSQL DB Name','','','DB Name','','TRUE','11','1'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'5','2017-06-25 17:01','Loafle','MYSQL Account ID','','','ID','','TRUE','11','1'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'6','2017-06-25 17:01','','MYSQL Account PW','','','PassWord','','TRUE','11','2'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'7','2017-06-25 17:01','Loafle','JMX Account ID','','','ID','','TRUE','17','1'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'8','2017-06-25 17:01','','JMX Account PW','','','PassWord','','TRUE','17','2'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'9','2017-09-11 18:41','MD5','SNMP V3 Auth Type','','MD5|SHA','AuthType','','TRUE','25','5'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'10','2017-09-11 18:41','Loafle','SNMP V3 User ID','','','ID','','TRUE','25','1'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'11','2017-09-11 18:41','','SNMP V3 PassWord','','','PassWord','','TRUE','25','2'); -INSERT INTO meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,name,pattern,required,meta_crawler_id,meta_input_type_id) VALUES ( -'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,meta_crawler_id,meta_input_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,meta_crawler_id,meta_input_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,meta_crawler_id,meta_input_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,meta_crawler_id,meta_input_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,meta_crawler_id,meta_input_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,meta_crawler_id,meta_input_type_id) VALUES ( -'18','2017-06-25 17:01','','SSH PW','','','PassWord','','TRUE','21','2'); +INSERT INTO public.meta_member_status ( id , key , "name" ) VALUES ( 1 , 'NOAUTH' , 'No Authorization' ); +INSERT INTO public.meta_member_status ( id , key , "name" ) VALUES ( 2 , 'NORMAL' , 'Normal' ); +INSERT INTO public.meta_member_status ( id , key , "name" ) VALUES ( 3 , 'DORMANCY' , 'Dormancy' ); +INSERT INTO public.meta_member_status ( id , key , "name" ) VALUES ( 4 , 'WITHDRAWAL' , 'Withdrawal' ); -INSERT INTO public.meta_probe_architecture (id,architecture,create_date) VALUES ( -1,'x86-64bit','2017-06-25 16:48:15.317'); -INSERT INTO public.meta_probe_architecture (id,architecture,create_date) VALUES ( -2,NULL,'2017-06-25 16:48:15.350'); - -INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( -1,'2017-06-25 16:48:28.617','Windows'); -INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( -2,'2017-06-25 16:48:28.683','Debian'); -INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( -3,'2017-06-25 16:48:28.699','Ubuntu'); -INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( -4,'2017-06-25 16:48:28.708','Fedora'); +INSERT INTO public.meta_noauth_probe_status ( id , key , "name" ) VALUES ( 1 , 'ACCEPTED' , 'Accepted' ); +INSERT INTO public.meta_noauth_probe_status ( id , key , "name" ) VALUES ( 2 , 'DENIED' , 'Denied' ); +INSERT INTO public.meta_noauth_probe_status ( id , key , "name" ) VALUES ( 3 , 'PROCESSING' , 'Processing' ); -INSERT INTO public.meta_probe_version (id,create_date,"version") VALUES ( -1,'2017-06-25 16:48:00.520','1.0.0'); -INSERT INTO public.meta_probe_version (id,create_date,"version") VALUES ( -2,'2017-06-25 16:48:00.558','1.1.0'); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1 , 1 , 'UNKNOWN' , 'Unknown' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 2 , 1 , 'ZONE' , 'Zone' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 100 , 2 , 'UNKNOWN' , 'Unknown' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 101 , 2 , 'ALPINE_LINUX' , 'Alpine Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 102 , 2 , 'AMAZON_LINUX' , 'Amazon Linux' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 103 , 2 , 'ANDROID' , 'Android' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 104 , 2 , 'CENTOS' , 'CentOS' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 105 , 2 , 'CISCO_IOS' , 'Cisco IOS' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 106 , 2 , 'COREOS' , 'CoreOS' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 107 , 2 , 'DARWIN' , 'Darwin' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 108 , 2 , 'DEBIAN' , 'Debian' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 109 , 2 , 'FEDORA' , 'Fedora' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 110 , 2 , 'FREEBSD' , 'FreeBSD' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 111 , 2 , 'HP_UX' , 'HP-UX' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 112 , 2 , 'IBM_AIX' , 'IBM AIX' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 113 , 2 , 'IBM_AS_400' , 'IBM AS/400' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 114 , 2 , 'IBM_POWER8' , 'IBM Power8' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 115 , 2 , 'IOS' , 'iOS' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 116 , 2 , 'LINUX' , 'Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 117 , 2 , 'MAC_OS_X' , 'Mac OS X' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 118 , 2 , 'MAC_OS_X_SERVER' , 'Mac OS X Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 119 , 2 , 'NETBSD' , 'NetBSD' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 120 , 2 , 'NOVELL_NETWARE' , 'Novell Netware' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 121 , 2 , 'OPENBSD' , 'OpenBSD' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 122 , 2 , 'ORACLE_LINUX' , 'Oracle Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 123 , 2 , 'RASPBIAN' , 'Raspbian' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 124 , 2 , 'RHEL' , 'Red Hat Enterprise Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 125 , 2 , 'SOLARIS' , 'Solaris' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 126 , 2 , 'SUSE' , 'SUSE Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 127 , 2 , 'UBUNTU' , 'Ubuntu' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 128 , 2 , 'UBUNTU_SERVER' , 'Ubuntu Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 129 , 2 , 'WINDOWS' , 'Windows' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 130 , 2 , 'WINDOWS_SERVER' , 'Windows Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1000 , 3 , 'UNKNOWN' , 'Unknown' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1001 , 3 , 'ACTIVE_DIRECTORY' , 'Active Directory' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1002 , 3 , 'APACHE_HTTPD' , 'Apache Httpd' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1003 , 3 , 'CASSANDRA' , 'Cassandra' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1004 , 3 , 'COUCHBASE' , 'CouchBase' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1005 , 3 , 'COUCHDB' , 'CouchDB' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1006 , 3 , 'DB2' , 'DB2' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1007 , 3 , 'DHCP' , 'DHCP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1008 , 3 , 'DNS' , 'DNS' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1009 , 3 , 'EXCHANGE_SERVER' , 'Exchange Server' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1010 , 3 , 'EXIM' , 'Exim' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1011 , 3 , 'FIREBIRD' , 'Firebird' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1012 , 3 , 'FTP' , 'FTP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1013 , 3 , 'GLASSFISH' , 'Glassfish' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1014 , 3 , 'HTTP' , 'HTTP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1015 , 3 , 'HTTPS' , 'HTTPS' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1016 , 3 , 'IMAP' , 'IMAP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1017 , 3 , 'INFLUXDB' , 'InfluxDB' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1018 , 3 , 'INGRES' , 'Ingres' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1019 , 3 , 'JBOSS' , 'JBoss' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1020 , 3 , 'JMX' , 'JMX' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1021 , 3 , 'LDAP' , 'LDAP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1022 , 3 , 'LIGHTTPD' , 'Lighttpd' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1023 , 3 , 'MARIADB' , 'MariaDB' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1024 , 3 , 'MEMCACHED' , 'Memcached' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1025 , 3 , 'IIS' , 'Microsoft IIS' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1026 , 3 , 'SQL_SERVER' , 'Microsoft SQL Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1027 , 3 , 'MONGODB' , 'MongoDB' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1028 , 3 , 'MYSQL' , 'MySQL' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1029 , 3 , 'NETBIOS' , 'NetBIOS' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1030 , 3 , 'NGINX' , 'Nginx' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1031 , 3 , 'NNTP' , 'NNTP' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1032 , 3 , 'ORACLE' , 'Oracle' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1033 , 3 , 'POP' , 'POP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1034 , 3 , 'POSTFIX' , 'Postfix' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1035 , 3 , 'POSTGRESQL' , 'PostgreSQL' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1036 , 3 , 'REDIS' , 'Redis' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1037 , 3 , 'REDIS_SENTINEL' , 'Redis Sentinel' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1038 , 3 , 'SENDMAIL' , 'Sendmail' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1039 , 3 , 'SMB' , 'SMB' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1040 , 3 , 'SMTP' , 'SMTP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1041 , 3 , 'SNMP' , 'SNMP' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1042 , 3 , 'SNMP_V2' , 'SNMP V2' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1043 , 3 , 'SNMP_V3' , 'SNMP V3' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1044 , 3 , 'SQLITE' , 'SQLite' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1045 , 3 , 'SQUID_CACHE' , 'Squid cache' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1046 , 3 , 'SQUID_PROXY' , 'Squid proxy' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1047 , 3 , 'SSH' , 'SSH' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1048 , 3 , 'SYBASE' , 'Sybase' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1049 , 3 , 'TELNET' , 'Telnet' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1050 , 3 , 'TOMCAT' , 'Tomcat' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1051 , 3 , 'VARNISH' , 'Varnish' , 'false' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1052 , 3 , 'WEBSPHERE' , 'Websphere' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1053 , 3 , 'WMI' , 'WMI' , 'true' ); +INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1054 , 3 , 'ZIMBRA' , 'Zimbra' , 'false' ); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -1,'2017-06-25 16:59:59.194',1,1,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -2,'2017-06-25 16:59:59.216',1,2,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -3,'2017-06-25 16:59:59.255',1,3,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -4,'2017-06-25 16:59:59.268',1,4,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -5,'2017-06-25 16:59:59.279',2,1,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -6,'2017-06-25 16:59:59.307',2,2,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -7,'2017-06-25 16:59:59.317',2,3,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -8,'2017-06-25 16:59:59.330',2,4,1); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -9,'2017-06-25 16:59:59.363',1,1,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -10,'2017-06-25 16:59:59.395',1,2,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -11,'2017-06-25 16:59:59.416',1,3,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -12,'2017-06-25 16:59:59.446',1,4,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -13,'2017-06-25 16:59:59.468',2,1,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -14,'2017-06-25 16:59:59.484',2,2,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -15,'2017-06-25 16:59:59.507',2,3,2); -INSERT INTO public.meta_probe_package (id,create_date,meta_probe_architecture_id,meta_probe_os_id,meta_probe_version_id) VALUES ( -16,'2017-06-25 16:59:59.522',2,4,2); +INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 1 , 1 , 'ZONE' , 'Zone' ); +INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 100 , 2 , 'OS' , 'Operating System' ); +INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 200 , 3 , 'DATABASE' , 'Database' ); +INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 200 , 3 , 'NOSQL' , 'NoSQL Database' ); +INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 200 , 3 , 'WEB' , 'WEB' ); +INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 200 , 3 , 'MAIL' , 'Mail' ); -INSERT INTO public.meta_probe_status (id,"name") VALUES ( -1,'INITIAL'); -INSERT INTO public.meta_probe_status (id,"name") VALUES ( -2,'NORMAL'); +INSERT INTO public.meta_probe_status ( id , key , "name" ) VALUES ( 1 , 'INITIAL' , 'Initial' ); +INSERT INTO public.meta_probe_status ( id , key , "name" ) VALUES ( 2 , 'NORMAL' , 'Normal' ); -INSERT INTO public.meta_noauth_probe_status (id,"name") VALUES ( -1,'ACCEPT'); -INSERT INTO public.meta_noauth_probe_status (id,"name") VALUES ( -2,'DENY'); -INSERT INTO public.meta_noauth_probe_status (id,"name") VALUES ( -3,'PROCESS'); +INSERT INTO public.meta_sensor_status ( id , key , "name" ) VALUES ( 1 , 'RUNNING' , 'Running' ); +INSERT INTO public.meta_sensor_status ( id , key , "name" ) VALUES ( 2 , 'STOPPED' , 'Stopped' ); -INSERT INTO public.meta_probe_task_type (id,create_date,description,"name") VALUES ( -1,'2017-06-26 15:58:02.397','DISCOVERY START','DISCOVERY'); +INSERT INTO public.meta_target_status ( id , key , "name" ) VALUES ( 1 , 'UP' , 'Up' ); +INSERT INTO public.meta_target_status ( id , key , "name" ) VALUES ( 2 , 'DOWN' , 'Down' ); +INSERT INTO public.meta_target_status ( id , key , "name" ) VALUES ( 3 , 'WARN' , 'Warn' ); +INSERT INTO public.meta_target_status ( id , key , "name" ) VALUES ( 4 , 'ERROR' , 'Error' ); -INSERT INTO public.meta_sensor_status (id,"name") VALUES ( -1,'RUNNING'); -INSERT INTO public.meta_sensor_status (id,"name") VALUES ( -2,'STOPPED'); - -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -1,'2017-06-26 19:49:00.000','','CPU'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -2,'2017-06-26 19:49:00.000','','Memory'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -3,'2017-06-26 19:49:00.000','','Disk IO'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -4,'2017-06-26 19:49:00.000','','File System'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -5,'2017-06-26 19:49:00.000','','Network'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -6,'2017-06-26 19:49:00.000','','Process'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -7,'2017-06-26 19:49:00.000','','Server'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -8,'2017-06-26 19:49:00.000','','Client'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -9,'2017-06-26 19:49:00.000','','Persistence'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -10,'2017-06-26 19:49:00.000','','Stats'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -11,'2017-06-26 19:49:00.000','','Replication'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -12,'2017-06-26 19:49:00.000','','Cluster'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -13,'2017-06-26 19:49:00.000','','Keyspace'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -14,'2017-06-26 19:49:00.000','','InnoDB'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -15,'2017-06-26 19:49:00.000','','Net'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -16,'2017-06-26 19:49:00.000','','Performance'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -17,'2017-06-26 19:49:00.000','','Thread'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -18,'2017-06-26 19:49:00.000','','GlobalRequestProcessor'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -19,'2017-06-26 19:49:00.000','','Servlet'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -20,'2017-06-26 19:49:00.000','','StringCache'); -INSERT INTO public.meta_sensor_item_type (id,create_date,description,"name") VALUES ( -21,'2017-06-26 19:49:00.000','','JspMonitor'); - -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -0,'2017-09-20 14:16:26.213','',''); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -1,'2017-09-20 14:16:26.213','%','Percentage'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -2,'2017-09-20 14:16:26.256','Bytes','Byte'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -3,'2017-09-20 14:16:26.272','KB','KByte'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -4,'2017-09-20 14:16:26.289','MB','MByte'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -5,'2017-09-20 14:16:26.305','GB','GByte'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -6,'2017-09-20 14:16:26.321','','Count'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -7,'2017-09-20 14:16:26.339','Jiffies','Jiffy'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -8,'2017-09-20 14:16:26.355','BPS','Byte Per Second'); -INSERT INTO public.meta_sensor_item_unit (id,create_date,mark,unit) VALUES ( -9,'2017-09-20 14:16:26.372','PPS','Packet Per Second'); - -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'123','2017-11-06 00:00:00','cpu.usage.user',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'124','2017-11-06 00:00:00','cpu.usage.nice',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'125','2017-11-06 00:00:00','cpu.usage.system',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'126','2017-11-06 00:00:00','cpu.usage.idle',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'127','2017-11-06 00:00:00','cpu.usage.iowait',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'128','2017-11-06 00:00:00','cpu.usage.irq',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'129','2017-11-06 00:00:00','cpu.usage.softirq',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'130','2017-11-06 00:00:00','cpu.usage.steal',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'131','2017-11-06 00:00:00','cpu.usage.guest',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'132','2017-11-06 00:00:00','cpu.usage.gnice',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'133','2017-11-06 00:00:00','cpu.usage.processor',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'134','2017-11-06 00:00:00','cpu.usage.privilege',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'135','2017-11-06 00:00:00','mem.usage.total',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'136','2017-11-06 00:00:00','mem.usage.free',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'137','2017-11-06 00:00:00','mem.usage.available',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'138','2017-11-06 00:00:00','mem.usage.buffers',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'139','2017-11-06 00:00:00','mem.usage.cached',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'140','2017-11-06 00:00:00','mem.swap.usage.total',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'141','2017-11-06 00:00:00','mem.swap.usage.free',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'142','2017-11-06 00:00:00','mem.swap.usage.cached',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'143','2017-11-06 00:00:00','mem.virtual.usage.total',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'144','2017-11-06 00:00:00','mem.virtual.usage.free',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'145','2017-11-06 00:00:00','mem.paging.usage.total',''); -INSERT INTO public.meta_sensor_item (id,create_date,"key",name) VALUES ( -'146','2017-11-06 00:00:00','mem.paging.usage.free',''); - -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'119','2017-06-26 19:49:00','cat /proc/stat','user','','21','123','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'120','2017-06-26 19:49:00','cat /proc/stat','nice','','21','124','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'121','2017-06-26 19:49:00','cat /proc/stat','system','','21','125','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'122','2017-06-26 19:49:00','cat /proc/stat','idle','','21','126','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'123','2017-06-26 19:49:00','cat /proc/stat','iowait','','21','127','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'124','2017-06-26 19:49:00','cat /proc/stat','irq','','21','128','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'125','2017-06-26 19:49:00','cat /proc/stat','softirq','','21','129','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'126','2017-06-26 19:49:00','cat /proc/stat','steal','','21','130','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'127','2017-06-26 19:49:01','cat /proc/stat','guest','','21','131','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'128','2017-06-26 19:49:02','cat /proc/stat','gnice','','21','132','7'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'129','2017-06-26 19:49:03','Win32_PerfFormattedData_PerfOS_Processor','PercentIdleTime','{"where": "Name=''_Total''"}','23','126','1'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'130','2017-06-26 19:49:04','Win32_PerfFormattedData_PerfOS_Processor','PercentProcessorTime','{"where": "Name=''_Total''"}','23','133','1'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'131','2017-06-26 19:49:04','Win32_PerfFormattedData_PerfOS_Processor','PercentUserTime','{"where": "Name=''_Total''"}','23','123','1'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'132','2017-06-26 19:49:04','Win32_PerfFormattedData_PerfOS_Processor','PercentPrivilegedTime','{"where": "Name=''_Total''"}','23','134','1'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'133','2017-06-26 19:49:04','cat /proc/meminfo','total','','21','135','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'134','2017-06-26 19:49:04','cat /proc/meminfo','free','','21','136','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'135','2017-06-26 19:49:04','cat /proc/meminfo','available','','21','137','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'136','2017-06-26 19:49:04','cat /proc/meminfo','buffers','','21','138','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'137','2017-06-26 19:49:04','cat /proc/meminfo','cached','','21','139','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'138','2017-06-26 19:49:04','cat /proc/meminfo','swapTotal','','21','140','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'139','2017-06-26 19:49:04','cat /proc/meminfo','swapFree','','21','141','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'140','2017-06-26 19:49:04','cat /proc/meminfo','swapCached','','21','142','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'141','2017-06-26 19:49:04','Win32_OperatingSystem ','TotalVisibleMemorySize','','23','135','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'142','2017-06-26 19:49:04','Win32_OperatingSystem ','FreePhysicalMemory','','23','136','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'143','2017-06-26 19:49:04','Win32_OperatingSystem ','TotalVirtualMemorySize','','23','143','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'144','2017-06-26 19:49:04','Win32_OperatingSystem ','FreeVirtualMemory','','23','144','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'145','2017-06-26 19:49:04','Win32_OperatingSystem ','SizeStoredInPagingFiles','','23','145','3'); -INSERT INTO meta_sensor_item_key (id,create_date,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( -'146','2017-06-26 19:49:04','Win32_OperatingSystem ','FreeSpaceInPagingFiles','','23','146','3'); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1 , 1 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 2 , 1 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 100 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 100 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 100 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 100 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 100 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 100 , 49 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 101 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 101 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 101 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 101 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 101 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 102 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 102 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 102 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 102 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 102 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 103 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 103 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 103 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 103 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 103 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 104 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 104 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 104 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 104 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 104 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 105 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 105 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 105 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 105 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 105 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 106 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 106 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 106 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 106 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 106 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 107 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 107 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 107 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 107 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 107 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 108 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 108 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 108 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 108 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 108 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 109 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 109 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 109 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 109 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 109 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 110 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 110 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 110 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 110 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 110 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 111 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 111 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 111 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 111 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 111 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 112 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 112 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 112 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 112 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 112 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 113 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 113 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 113 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 113 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 113 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 114 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 114 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 114 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 114 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 114 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 115 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 115 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 115 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 115 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 115 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 116 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 116 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 116 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 116 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 116 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 117 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 117 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 117 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 117 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 117 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 118 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 118 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 118 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 118 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 118 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 119 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 119 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 119 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 119 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 119 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 120 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 120 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 120 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 120 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 120 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 121 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 121 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 121 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 121 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 121 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 122 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 122 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 122 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 122 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 122 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 123 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 123 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 123 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 123 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 123 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 124 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 124 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 124 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 124 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 124 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 125 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 125 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 125 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 125 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 125 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 126 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 126 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 126 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 126 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 126 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 127 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 127 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 127 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 127 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 127 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 128 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 128 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 128 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 128 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 128 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 129 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 129 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 129 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 129 , 49 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 130 , 2 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 130 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 130 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 130 , 49 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 3 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 4 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 5 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 6 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 7 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 8 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 9 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 10 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 11 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 12 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 13 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 14 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 15 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 16 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 17 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 18 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 19 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 20 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 21 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 22 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 23 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 24 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 25 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 26 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 27 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 28 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 29 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 30 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 31 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 32 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 33 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 34 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 35 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 36 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 37 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 38 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 39 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 40 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 42 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 44 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 46 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 48 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 49 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1000 , 50 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1001 , 3 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1001 , 4 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1003 , 5 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1003 , 6 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1007 , 7 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1007 , 8 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1008 , 9 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1008 , 10 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1012 , 11 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1012 , 12 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1014 , 13 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1014 , 14 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1016 , 15 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1016 , 16 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1020 , 35 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1020 , 36 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1021 , 17 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1021 , 18 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1026 , 21 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1026 , 22 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1027 , 19 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1027 , 20 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1028 , 23 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1028 , 24 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1029 , 25 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1029 , 26 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1032 , 27 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1032 , 28 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1033 , 29 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1033 , 30 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1035 , 31 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1035 , 32 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1036 , 33 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1036 , 34 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1039 , 37 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1039 , 38 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1040 , 39 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1040 , 40 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1041 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1041 , 42 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1041 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1041 , 44 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1042 , 41 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1042 , 42 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1043 , 43 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1043 , 44 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1047 , 45 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1047 , 46 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1049 , 47 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1049 , 48 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1053 , 49 ); +INSERT INTO public.meta_crawler_mapping ( meta_target_type_id , meta_crawler_id ) VALUES ( 1053 , 50 ); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'1','2017-11-07 16:08:59','true','','CPU Total usage (%)','ssh.cpu.usage.total','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'2','2017-11-07 16:08:59','false','','CPU User (%)','ssh.cpu.usage.user','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'3','2017-11-07 16:08:59','false','','CPU Nice (%)','ssh.cpu.usage.nice','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'4','2017-11-07 16:08:59','false','','CPU System (%)','ssh.cpu.usage.system','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'5','2017-11-07 16:08:59','false','','CPU Idle (%)','ssh.cpu.usage.idle','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'6','2017-11-07 16:08:59','false','','CPU IO wait (%)','ssh.cpu.usage.iowait','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'7','2017-11-07 16:08:59','false','','CPU IRQ (%)','ssh.cpu.usage.irq','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'8','2017-11-07 16:08:59','false','','CPU Soft IRQ (%)','ssh.cpu.usage.softirq','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'9','2017-11-07 16:08:59','false','','CPU Steal (%)','ssh.cpu.usage.steal','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'10','2017-11-07 16:08:59','false','','CPU Guest (%)','ssh.cpu.usage.guest','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'11','2017-11-07 16:08:59','false','','CPU Guest Nice (%)','ssh.cpu.usage.gnice','21','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'12','2017-11-07 16:08:59','true','','CPU Total usage (%)','wmi.cpu.usage.total','23','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'13','2017-11-07 16:08:59','false','','CPU Idle (%)','wmi.cpu.usage.idle','23','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'14','2017-11-07 16:08:59','false','','CPU Processor (%)','wmi.cpu.usage.processor','23','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'15','2017-11-07 16:08:59','false','','CPU User (%)','wmi.cpu.usage.user','23','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'16','2017-11-07 16:08:59','false','','CPU Privilege (%)','wmi.cpu.usage.privilege','23','1','1'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'17','2017-11-07 16:08:59','true','','Memory Total Usage (%)','ssh.mem.usage.total','21','1','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'18','2017-11-07 16:08:59','false','','Memory Free space (mb)','ssh.mem.usage.free','21','4','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'19','2017-11-07 16:08:59','false','','Buffered Memory (mb)','ssh.mem.usage.buffers','21','4','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'20','2017-11-07 16:08:59','false','','Cached Memory (mb)','ssh.mem.usage.cached','21','4','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'21','2017-11-07 16:08:59','true','','Swap Total Usage (%)','ssh.mem.swap.usage.total','21','1','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'22','2017-11-07 16:08:59','false','','Cached Swap (mb)','ssh.mem.swap.usage.cached','21','4','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'23','2017-11-07 16:08:59','true','','Memory Total usage (%)','wmi.mem.usage.total','23','1','2'); -INSERT INTO meta_sensor_display_item (id,create_date,is_default,description,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( -'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",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_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, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_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, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_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, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_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, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_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, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_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, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (206, '2017-11-07 16:08:59', true, 'The rate of queries.', 'Queries', 'MYSQL.PERFORMANCE.QUERIES', 11, 16, 6); + + +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (1,'','CPU'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (2,'','Memory'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (3,'','Disk IO'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (4,'','File System'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (5,'','Network'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (6,'','Process'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (7,'','Server'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (8,'','Client'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (9,'','Persistence'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (10,'','Stats'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (11,'','Replication'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (12,'','Cluster'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (13,'','Keyspace'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (14,'','InnoDB'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (15,'','Net'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (16,'','Performance'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (17,'','Thread'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (18,'','GlobalRequestProcessor'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (19,'','Servlet'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (20,'','StringCache'); +INSERT INTO public.meta_sensor_item_type (id,"name") VALUES (21,'','JspMonitor'); + +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (0,'',''); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (1,'%','Percentage'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (2,'Bytes','Byte'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (3,'KB','KByte'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (4,'MB','MByte'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (5,'GB','GByte'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (6,'','Count'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (7,'Jiffies','Jiffy'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (8,'BPS','Byte Per Second'); +INSERT INTO public.meta_sensor_item_unit (id,mark,unit) VALUES (9,'PPS','Packet Per Second'); + +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (123,'cpu.usage.user',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (124,'cpu.usage.nice',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (125,'cpu.usage.system',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (126,'cpu.usage.idle',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (127,'cpu.usage.iowait',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (128,'cpu.usage.irq',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (129,'cpu.usage.softirq',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (130,'cpu.usage.steal',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (131,'cpu.usage.guest',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (132,'cpu.usage.gnice',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (133,'cpu.usage.processor',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (134,'cpu.usage.privilege',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (135,'mem.usage.total',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (136,'mem.usage.free',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (137,'mem.usage.available',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (138,'mem.usage.buffers',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (139,'mem.usage.cached',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (140,'mem.swap.usage.total',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (141,'mem.swap.usage.free',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (142,'mem.swap.usage.cached',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (143,'mem.virtual.usage.total',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (144,'mem.virtual.usage.free',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (145,'mem.paging.usage.total',''); +INSERT INTO public.meta_sensor_item (id,"key",name) VALUES (146,'mem.paging.usage.free',''); + +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('119','cat /proc/stat','user','','21','123','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('120','cat /proc/stat','nice','','21','124','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('121','cat /proc/stat','system','','21','125','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('122','cat /proc/stat','idle','','21','126','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('123','cat /proc/stat','iowait','','21','127','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('124','cat /proc/stat','irq','','21','128','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ('125','cat /proc/stat','softirq','','21','129','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'126','cat /proc/stat','steal','','21','130','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'127','cat /proc/stat','guest','','21','131','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'128','cat /proc/stat','gnice','','21','132','7'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'129','Win32_PerfFormattedData_PerfOS_Processor','PercentIdleTime','{"where": "Name=''_Total''"}','23','126','1'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'130','Win32_PerfFormattedData_PerfOS_Processor','PercentProcessorTime','{"where": "Name=''_Total''"}','23','133','1'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'131','Win32_PerfFormattedData_PerfOS_Processor','PercentUserTime','{"where": "Name=''_Total''"}','23','123','1'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'132','Win32_PerfFormattedData_PerfOS_Processor','PercentPrivilegedTime','{"where": "Name=''_Total''"}','23','134','1'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'133','cat /proc/meminfo','total','','21','135','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'134','cat /proc/meminfo','free','','21','136','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'135','cat /proc/meminfo','available','','21','137','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'136','cat /proc/meminfo','buffers','','21','138','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'137','cat /proc/meminfo','cached','','21','139','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'138','cat /proc/meminfo','swapTotal','','21','140','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'139','cat /proc/meminfo','swapFree','','21','141','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'140','cat /proc/meminfo','swapCached','','21','142','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'141','Win32_OperatingSystem ','TotalVisibleMemorySize','','23','135','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'142','Win32_OperatingSystem ','FreePhysicalMemory','','23','136','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'143','Win32_OperatingSystem ','TotalVirtualMemorySize','','23','143','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'144','Win32_OperatingSystem ','FreeVirtualMemory','','23','144','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'145','Win32_OperatingSystem ','SizeStoredInPagingFiles','','23','145','3'); +INSERT INTO meta_sensor_item_key (id,froms,"key",option_json,meta_crawler_id,meta_sensor_item_id,meta_sensor_item_unit_id) VALUES ( +'146','Win32_OperatingSystem ','FreeSpaceInPagingFiles','','23','146','3'); + + +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'1','true','','CPU Total usage (%)','ssh.cpu.usage.total','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'2','false','','CPU User (%)','ssh.cpu.usage.user','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'3','false','','CPU Nice (%)','ssh.cpu.usage.nice','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'4','false','','CPU System (%)','ssh.cpu.usage.system','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'5','false','','CPU Idle (%)','ssh.cpu.usage.idle','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'6','false','','CPU IO wait (%)','ssh.cpu.usage.iowait','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'7','false','','CPU IRQ (%)','ssh.cpu.usage.irq','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'8','false','','CPU Soft IRQ (%)','ssh.cpu.usage.softirq','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'9','false','','CPU Steal (%)','ssh.cpu.usage.steal','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'10','false','','CPU Guest (%)','ssh.cpu.usage.guest','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'11','false','','CPU Guest Nice (%)','ssh.cpu.usage.gnice','21','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'12','true','','CPU Total usage (%)','wmi.cpu.usage.total','23','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'13','false','','CPU Idle (%)','wmi.cpu.usage.idle','23','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'14','false','','CPU Processor (%)','wmi.cpu.usage.processor','23','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'15','false','','CPU User (%)','wmi.cpu.usage.user','23','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'16','false','','CPU Privilege (%)','wmi.cpu.usage.privilege','23','1','1'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'17','true','','Memory Total Usage (%)','ssh.mem.usage.total','21','1','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'18','false','','Memory Free space (mb)','ssh.mem.usage.free','21','4','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'19','false','','Buffered Memory (mb)','ssh.mem.usage.buffers','21','4','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'20','false','','Cached Memory (mb)','ssh.mem.usage.cached','21','4','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'21','true','','Swap Total Usage (%)','ssh.mem.swap.usage.total','21','1','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'22','false','','Cached Swap (mb)','ssh.mem.swap.usage.cached','21','4','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'23','true','','Memory Total usage (%)','wmi.mem.usage.total','23','1','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'24','false','','Virtual Memory Usage (%)','wmi.mem.virtual.usage.total','23','1','2'); +INSERT INTO meta_sensor_display_item (id,is_default,display_name,"key",meta_crawler_id,meta_sensor_item_unit_id,meta_sensor_item_type_id) VALUES ( +'25','false','','Paging Usage (%)','wmi.mem.paging.usage.total','23','1','2'); +INSERT INTO meta_sensor_display_item (id, is_default, description, display_name, key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (201, true, 'The rate of connections to the server.', 'Connections', 'MYSQL.NET.CONNECTIONS', 11, 15, 6); +INSERT INTO meta_sensor_display_item (id, is_default, description, display_name, key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (202, true, 'The rate of data reads and writes.', 'Reads & Writes', 'MYSQL.INNODB.READSWRITES', 11, 14, 6); +INSERT INTO meta_sensor_display_item (id, is_default, description, display_name, key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (203, 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, is_default, description, display_name, key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (204, 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, is_default, description, display_name, key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (205, true, 'The rate of slow queries.', 'Slow Queries', 'MYSQL.PERFORMANCE.SLOW_QUERIES', 11, 16, 6); +INSERT INTO meta_sensor_display_item (id, is_default, description, display_name, key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (206, true, 'The rate of queries.', 'Queries', 'MYSQL.PERFORMANCE.QUERIES', 11, 16, 6); @@ -712,811 +764,391 @@ INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sen INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES ( '50','25','146'); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 1,'2017-07-27 15:29:48.634',23,26); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 2,'2017-07-27 15:29:48.634',20,26); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 3,'2017-07-27 15:29:48.634',20,28); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 4,'2017-07-27 15:29:48.634',20,29); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 5,'2017-07-27 15:29:48.634',20,30); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 6,'2017-07-27 15:29:48.634',20,31); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 7,'2017-07-27 15:29:48.634',20,32); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 8,'2017-07-27 15:29:48.634',1,40); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 9,'2017-07-27 15:29:48.634',2,41); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 10,'2017-07-27 15:29:48.634',3,42); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 11,'2017-07-27 15:29:48.634',4,43); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 12,'2017-07-27 15:29:48.634',5,44); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 13,'2017-07-27 15:29:48.634',6,45); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 14,'2017-07-27 15:29:48.634',7,46); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 15,'2017-07-27 15:29:48.634',8,47); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 16,'2017-07-27 15:29:48.634',9,48); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 17,'2017-07-27 15:29:48.634',10,49); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 18,'2017-07-27 15:29:48.634',11,50); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 19,'2017-07-27 15:29:48.634',12,51); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 20,'2017-07-27 15:29:48.634',13,52); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 21,'2017-07-27 15:29:48.634',14,53); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 22,'2017-07-27 15:29:48.634',15,54); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 23,'2017-07-27 15:29:48.634',16,55); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 24,'2017-07-27 15:29:48.634',17,56); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 25,'2017-07-27 15:29:48.634',18,57); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 26,'2017-07-27 15:29:48.634',19,58); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 27,'2017-07-27 15:29:48.634',20,59); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 28,'2017-07-27 15:29:48.634',21,60); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 29,'2017-07-27 15:29:48.634',22,61); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 30,'2017-07-27 15:29:48.634',23,62); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 31,'2017-07-27 15:29:48.634',24,63); --- --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 32,'2017-07-27 15:29:48.634',25,26); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 33,'2017-07-27 15:29:48.634',25,28); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 34,'2017-07-27 15:29:48.634',25,29); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 35,'2017-07-27 15:29:48.634',25,30); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 36,'2017-07-27 15:29:48.634',25,31); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 37,'2017-07-27 15:29:48.634',25,32); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 32,'2017-07-27 15:29:48.634',25,26); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 33,'2017-07-27 15:29:48.634',25,28); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 34,'2017-07-27 15:29:48.634',25,29); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 35,'2017-07-27 15:29:48.634',25,30); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 36,'2017-07-27 15:29:48.634',25,31); --- INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( --- 37,'2017-07-27 15:29:48.634',25,32); - -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -1,'2017-07-27 15:29:48.634',1,1); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -2,'2017-07-27 15:29:48.634',2,2); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -3,'2017-07-27 15:29:48.634',3,3); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -4,'2017-07-27 15:29:48.634',4,4); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -5,'2017-07-27 15:29:48.634',5,5); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -6,'2017-07-27 15:29:48.634',6,6); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -7,'2017-07-27 15:29:48.634',7,7); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -8,'2017-07-27 15:29:48.634',8,8); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -9,'2017-07-27 15:29:48.634',9,9); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -10,'2017-07-27 15:29:48.634',10,10); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -11,'2017-07-27 15:29:48.634',11,11); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -12,'2017-07-27 15:29:48.634',12,12); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -13,'2017-07-27 15:29:48.634',13,13); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -14,'2017-07-27 15:29:48.634',14,14); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -15,'2017-07-27 15:29:48.634',15,15); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -16,'2017-07-27 15:29:48.634',16,16); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -17,'2017-07-27 15:29:48.634',17,17); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -18,'2017-07-27 15:29:48.634',18,18); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -19,'2017-07-27 15:29:48.634',19,19); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -20,'2017-07-27 15:29:48.634',20,20); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -21,'2017-07-27 15:29:48.634',21,21); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -22,'2017-07-27 15:29:48.634',22,22); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -23,'2017-07-27 15:29:48.634',23,23); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -24,'2017-07-27 15:29:48.634',24,24); -INSERT INTO public.meta_vendor_crawler (id,create_date,meta_crawler_id,meta_infra_vendor_id) VALUES ( -25,'2017-07-27 15:29:48.634',25,20); - -INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( -1,'2017-08-23 13:28:26.966','Member'); -INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( -2,'2017-08-23 13:28:26.966','Probe'); -INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( -3,'2017-08-23 13:28:26.966','Discovery'); -INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( -4,'2017-08-23 13:28:26.966','Target'); -INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( -5,'2017-08-23 13:28:26.966','Crawler'); -INSERT INTO public.meta_history_type (id,create_date,"name") VALUES ( -6,'2017-08-23 13:28:26.966','Sensor'); - -INSERT INTO public.meta_email_status (id,create_date,"name") VALUES ( -1,'2017-08-23 13:28:26.966','signup confirm'); -INSERT INTO public.meta_email_status (id,create_date,"name") VALUES ( -2,'2017-08-23 13:28:26.966','reset password confirm'); - - - - - - -INSERT INTO public."member" (company_name,create_date,email,"name",phone,pw,meta_member_status_id) VALUES ( +INSERT INTO public."member" (company_name,email,"name",phone,pw,meta_member_status_id) VALUES ( 'loafle','2017-06-26 11:07:27.625','overflow@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2); -INSERT INTO public."member" (company_name,create_date,email,"name",phone,pw,meta_member_status_id) VALUES ( +INSERT INTO public."member" (company_name,email,"name",phone,pw,meta_member_status_id) VALUES ( 'loafle','2017-06-26 11:07:27.625','insanity@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2); -INSERT INTO public."member" (company_name,create_date,email,"name",phone,pw,meta_member_status_id) VALUES ( +INSERT INTO public."member" (company_name,email,"name",phone,pw,meta_member_status_id) VALUES ( 'loafle','2017-06-26 11:07:27.625','snoop@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2); -INSERT INTO public."member" (company_name,create_date,email,"name",phone,pw,meta_member_status_id) VALUES ( +INSERT INTO public."member" (company_name,email,"name",phone,pw,meta_member_status_id) VALUES ( 'loafle','2017-06-26 11:07:27.625','geekdev@naver.com','geek','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2); -INSERT INTO public.email_auth (auth_confirm_date,create_date,email_auth_key,member_id, meta_email_status_id) VALUES ( -'2017-06-27 15:28:48.895','2017-06-26 15:28:48.895','dbseogns1234',1,1); +INSERT INTO public.email_auth (auth_confirm_date,email_auth_key,member_id, meta_email_type_id) VALUES ( +'2017-06-26 15:28:48.895','dbseogns1234',1,1); -INSERT INTO public.email_auth (auth_confirm_date,create_date,email_auth_key,member_id, meta_email_status_id) VALUES ( -'2017-12-26 15:28:48.895','2017-11-22 12:28:48.895','dbseogns1234',2,1); +INSERT INTO public.email_auth (auth_confirm_date,email_auth_key,member_id, meta_email_type_id) VALUES ( +'2017-11-22 12:28:48.895','dbseogns1234',2,1); -INSERT INTO public."domain" (create_date,"name") VALUES ( -'2017-06-26 11:25:44.866','overFlow''s domain'); +INSERT INTO public."domain" ("name") VALUES ( +'overFlow''s domain'); -INSERT INTO public."domain" (create_date,"name") VALUES ( -'2017-06-26 11:25:44.866','insanity''s domain'); +INSERT INTO public."domain" ("name") VALUES ( +'insanity''s domain'); -INSERT INTO public."domain" (create_date,"name") VALUES ( -'2017-06-26 11:25:44.866','snoop''s domain'); +INSERT INTO public."domain" ("name") VALUES ( +'snoop''s domain'); -INSERT INTO public."domain" (create_date,"name") VALUES ( -'2017-06-26 11:25:44.866','geek''s domain'); +INSERT INTO public."domain" ("name") VALUES ( +'geek''s domain'); -INSERT INTO public.domain_member (create_date,domain_id,member_id) VALUES ( -'2017-06-26 11:27:43.023',1,1); -INSERT INTO public.domain_member (create_date,domain_id,member_id) VALUES ( -'2017-06-26 11:27:43.023',2,2); -INSERT INTO public.domain_member (create_date,domain_id,member_id) VALUES ( -'2017-06-26 11:27:43.023',3,3); -INSERT INTO public.domain_member (create_date,domain_id,member_id) VALUES ( -'2017-06-26 11:27:43.023',4,4); +INSERT INTO public.domain_member (domain_id,member_id) VALUES ( +1,1); +INSERT INTO public.domain_member (domain_id,member_id) VALUES ( +2,2); +INSERT INTO public.domain_member (domain_id,member_id) VALUES ( +3,3); +INSERT INTO public.domain_member (domain_id,member_id) VALUES ( +4,4); -- Member TOTP Insert SQL --- INSERT INTO public.member_totp (create_date, secret_code, update_date, member_id) VALUES( +-- INSERT INTO public.member_totp ( secret_code, update_date, member_id) VALUES( -- '2018-03-09 16:39:57.304', 'EDPBZLDATGZP7NX2', '2018-03-09 16:39:57.304', 2); -- Member TOTP Insert SQL -INSERT INTO public.api_key (api_key,create_date,domain_id) VALUES ( -'52abd6fd57e511e7ac52080027658d13','2017-06-26 13:02:28.347',1); +INSERT INTO public.api_key (api_key,domain_id) VALUES ( +'52abd6fd57e511e7ac52080027658d13',1); -INSERT INTO public.api_key (api_key,create_date,domain_id) VALUES ( -'bf78f1f4319611e897713222d3c76cf6','2017-06-26 13:02:28.347',2); +INSERT INTO public.api_key (api_key,domain_id) VALUES ( +'bf78f1f4319611e897713222d3c76cf6',2); -INSERT INTO public.api_key (api_key,create_date,domain_id) VALUES ( -'05cf2947319911e898993222d3c76cf6','2017-06-26 13:02:28.347',3); +INSERT INTO public.api_key (api_key,domain_id) VALUES ( +'05cf2947319911e898993222d3c76cf6',3); -INSERT INTO public.api_key (api_key,create_date,domain_id) VALUES ( -'09c8c54f319911e8a41f3222d3c76cf6','2017-06-26 13:02:28.347',4); +INSERT INTO public.api_key (api_key,domain_id) VALUES ( +'09c8c54f319911e8a41f3222d3c76cf6',4); -INSERT INTO public.probe (authorize_date,cidr,create_date,description,display_name,encryption_key,probe_key,authorize_member_id,domain_id,meta_probe_status_id, target_count) VALUES ( -'2017-08-21 14:48:31.563','192.168.1.0/24','2017-08-21 14:48:31.563','snoop probe','test probe 111111','8c51fa9c5bcc11e7980a080027658d13','899fdd145bcc11e7b611080027658d13',1,1,1,0); +INSERT INTO public.probe (authorize_date,cidr,display_name,encryption_key,probe_key,authorize_member_id,domain_id,meta_probe_status_id, target_count) VALUES ( +'2017-08-21 14:48:31.563','192.168.1.0/24','snoop probe','test probe 111111','8c51fa9c5bcc11e7980a080027658d13','899fdd145bcc11e7b611080027658d13',1,1,1,0); -INSERT INTO public.probe (authorize_date,cidr,create_date,description,display_name,encryption_key,probe_key,authorize_member_id,domain_id,meta_probe_status_id, target_count) VALUES ( -'2017-08-21 15:00:09.691','192.168.2.0/24','2017-08-21 15:00:09.691','insanity probe','test probe 22222','f1f72c8d2a814580bb7c4615ec43a6a8','95d8bcdc739741dca74c4a0e489e0774',1,1,1,0); +INSERT INTO public.probe (authorize_date,cidr,display_name,encryption_key,probe_key,authorize_member_id,domain_id,meta_probe_status_id, target_count) VALUES ( +'2017-08-21 15:00:09.691','192.168.2.0/24','insanity probe','test probe 22222','f1f72c8d2a814580bb7c4615ec43a6a8','95d8bcdc739741dca74c4a0e489e0774',1,1,1,0); -INSERT INTO public.infra (infra_type,create_date,meta_infra_type_id,probe_id) VALUES ( -1,'2017-08-21 12:59:10.244',1,1); -INSERT INTO public.infra (infra_type,create_date,meta_infra_type_id,probe_id) VALUES ( -3,'2017-08-21 13:05:24.883',3,1); -INSERT INTO public.infra (infra_type,create_date,meta_infra_type_id,probe_id) VALUES ( -2,'2017-08-21 14:20:01.830',2,1); -INSERT INTO public.infra (infra_type,create_date,meta_infra_type_id,probe_id) VALUES ( -7,'2017-08-21 14:24:26.525',7,1); -INSERT INTO public.infra (infra_type,create_date,meta_infra_type_id,probe_id) VALUES ( -4,'2017-08-21 14:27:19.474',4,1); -INSERT INTO public.infra (infra_type,create_date,meta_infra_type_id,probe_id) VALUES ( -5,'2017-08-21 14:28:48.761',5,1); +INSERT INTO public.infra (id, meta_infra_type_id, probe_id) VALUES (1, 1, 1); +INSERT INTO public.infra (id, meta_infra_type_id, probe_id) VALUES (2, 2, 1); +INSERT INTO public.infra (id, meta_infra_type_id, probe_id) VALUES (3, 3, 1); -INSERT INTO public.infra_machine (meta,id) VALUES ( -'i am a infra machine',1); +INSERT INTO public.infra_zone (id, meta_target_zone_type_id, network, iface, meta_ip_type_id, "address", mac) VALUES (1, 1, '192.168.1.0/24', 'enp3s0', 1, '192.168.1.101', '44:8a:5b:f1:f1:f3'); --- INSERT INTO public.infra_os (meta,id,infra_machine_id,meta_infra_vendor_id) VALUES ( --- '',2,1,26); +INSERT INTO public.infra_host (id, meta_target_host_type_id) VALUES (2, 127); -INSERT INTO public.infra_os (meta,id,infra_machine_id,meta_infra_vendor_id) VALUES ( -'',2,1,24); +INSERT INTO public.infra_host_ip (id, infra_host_id, meta_ip_type_id "address", mac) VALUES (1, 2, 1, '192.168.1.101', '44:8a:5b:f1:f1:f3'); +INSERT INTO public.infra_host_port (id, infra_host_id, meta_port_type_id "address", mac) VALUES (1, 2, 1, 5432); -INSERT INTO public.infra_host (ip_v4,ip_v6,mac,id,infra_os_id) VALUES ( -'192.168.1.111','fe80::b83c:44a8:5d71:5bc0%3','30-9C-23-15-A3-09',3,2); +INSERT INTO public.infra_host_machine (id, infra_host_id, meta) VALUES (1, 2, '{"vendor": "Micro-Star International Co., Ltd.", "product": "GP60 2QF (To be filled by O.E.M.)", "version": "REV:1.0", "serial": "9S716GH21875ZF1000339"}'); +INSERT INTO public.infra_host_os (id, infra_host_id, meta) VALUES (1, 2, '{"vendor": "Ubuntu"}'); --- INSERT INTO public.infra_service (port,port_type,tls_type,id,host_id,vendor_id) VALUES ( --- 80,'TCP',false,4,3,45); +INSERT INTO public.infra_host_application (id, infra_host_id, "name") VALUES (1, 2, 'Apache Httpd'); +INSERT INTO public.infra_host_application (id, infra_host_id, "name") VALUES (2, 2, 'PostgreSQL'); +INSERT INTO public.infra_host_application (id, infra_host_id, "name") VALUES (3, 2, 'MySQL'); -INSERT INTO public.infra_service (port,port_type,tls_type,id,infra_host_id,meta_infra_vendor_id) VALUES ( -80,'TCP',false,4,3,24); - -INSERT INTO public.infra_os_application ("name",id,infra_os_id) VALUES ( -'Apache',5,2); - -INSERT INTO public.infra_os_daemon ("name",id,infra_os_id) VALUES ( -'Apache',6,2); - -insert into public.probe_host (infra_host_id, PROBE_ID) values (3, 1); - -INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES ( -'2017-07-27 20:18:09.555','Machine Target','ghost target',0, 1); -INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES ( -'2017-07-27 20:18:09.555','OS target','ghost target',0, 2); -INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES ( -'2017-07-27 20:18:09.555','Host target','ghost target',0, 3); -INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES ( -'2017-07-27 20:18:09.555','Service target','ghost target',0, 4); -INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES ( -'2017-07-27 20:18:09.555','OS App target','ghost target',0, 5); -INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES ( -'2017-07-27 20:18:09.555','OS Daemon target','ghost target',0, 6); +INSERT INTO public.infra_host_daemon (id, infra_host_id, "name") VALUES (1, 2, 'Apache Httpd'); +INSERT INTO public.infra_host_daemon (id, infra_host_id, "name") VALUES (2, 2, 'PostgreSQL'); +INSERT INTO public.infra_host_daemon (id, infra_host_id, "name") VALUES (3, 2, 'MySQL'); -INSERT INTO public.sensor (crawler_input_items,create_date,description,meta_crawler_id,meta_sensor_status_id,target_id,item_count,display_name) VALUES ( -NULL,'2017-06-26 20:19:07.009','My sensor 11111',1,1,1,0,'DisplayName1'); -INSERT INTO public.sensor (crawler_input_items,create_date,description,meta_crawler_id,meta_sensor_status_id,target_id,item_count,display_name) VALUES ( -NULL,'2017-06-26 20:19:07.074','My sensor 22222',1,2,1,0,'DisplayName2'); -INSERT INTO public.sensor (crawler_input_items,create_date,description,meta_crawler_id,meta_sensor_status_id,target_id,item_count,display_name) VALUES ( -NULL,'2017-08-28 16:17:05.506','OS_SERVICE-MYSQL_CRAWLER',11,1,4,0,'DisplayName3'); -INSERT INTO public.sensor (crawler_input_items,create_date,description,meta_crawler_id,meta_sensor_status_id,target_id,item_count,display_name) VALUES ( -NULL,'2017-09-05 12:26:02.738','HOST-WMI_CRAWLER',23,1,3,0,'DisplayName4'); -INSERT INTO public.sensor (crawler_input_items,create_date,description,meta_crawler_id,meta_sensor_status_id,target_id,item_count,display_name) VALUES ( -NULL,'2017-09-11 12:26:02.738','SERVICE-JMX_CRAWLER',17,1,4,0,'DisplayName5'); +INSERT INTO public.infra_service (id, meta_target_service_type_id) VALUES (3, 1035, 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.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',5,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',6,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',7,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',8,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',9,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',10,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',11,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',12,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',13,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',14,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',15,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',16,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',17,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',18,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',19,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',20,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',21,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',22,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',23,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',24,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',25,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',26,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',27,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',28,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',29,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',30,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',31,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',32,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',33,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',34,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',35,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',36,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',37,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',38,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',39,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',40,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',41,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',42,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',43,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',44,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',45,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',46,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',47,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',48,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',49,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',50,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',51,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',52,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',53,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',54,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',55,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',56,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',57,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',58,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',59,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',60,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',61,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',62,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',63,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',64,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',65,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',66,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',67,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',68,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',69,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',70,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',71,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',72,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',73,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',74,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',75,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',76,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',77,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',78,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',79,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',80,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',81,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',82,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',83,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',84,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',85,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',86,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',87,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',88,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',89,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',90,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',91,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',92,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',93,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-08-28 16:17:05.506',94,3); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',95,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',96,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',97,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',98,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',99,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',100,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',101,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',102,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',103,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',104,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',105,4); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-05 12:26:02.738',106,4); --- ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',107,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',108,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',109,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',110,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',111,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',112,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',113,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',114,5); ---INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( ---'2017-09-11 12:26:02.738',115,5); -INSERT INTO public.noauth_probe (api_key,create_date,description,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id) VALUES ( +INSERT INTO public.target (id, infra_id, display_name, description, sensor_count) VALUES (1, 1, 'Zone', 'Zone Target', 1); +INSERT INTO public.target (id, infra_id, display_name, description, sensor_count) VALUES (2, 2, 'Host', 'Host Target', 1); +INSERT INTO public.target (id, infra_id, display_name, description, sensor_count) VALUES (3, 3, 'Service', 'Service Target', 1); + +INSERT INTO public.sensor (target_id, display_name, description, meta_sensor_status_id, meta_crawler_id, item_count) VALUES ( +1, 'Zone Sensor', 'Network Change Detection', 1, 1, 0); +INSERT INTO public.sensor (target_id, display_name, description, meta_sensor_status_id, meta_crawler_id, item_count) VALUES ( +2, 'Host Sensor', 'SSH', 1, 45, 0); +INSERT INTO public.sensor (target_id, display_name, description, meta_sensor_status_id, meta_crawler_id, item_count) VALUES ( +3, 'PostgreSQL Sensor', 'PostgreSQL', 1, 35, 0); + + +INSERT INTO public.noauth_probe (api_key,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id) VALUES ( '52abd6fd57e511e7ac52080027658d13','2017-06-26 12:43:46.877','{"host":{"name":"geek-ubuntu","os":"linux","paltform":"ubuntu","platformFamily":"debian","platformVersion":"","kernelVersion":"4.4.0-93-generic","hostID":"03000200-0400-0500-0006-000700080009"},"network":{"name":"enp3s0","address":"192.168.1.103/24|fe80::36c0:6c3e:6006:dd23/64","gateway":"192.168.1.254","macAddress":"44:8a:5b:f1:f1:f3"}}','1cf2555c57d511e79714080027658d13',1,NULL,3); -INSERT INTO public.noauth_probe (api_key,create_date,description,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id) VALUES ( +INSERT INTO public.noauth_probe (api_key,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id) VALUES ( '52abd6fd57e511e7ac52080027658d13','2017-08-11 12:43:46.877','{"host":{"name":"insanity-ubuntu","os":"linux","paltform":"ubuntu","platformFamily":"debian","platformVersion":"","kernelVersion":"4.4.0-93-generic","hostID":"4C4C4544-0044-4A10-8039-C7C04F595031"},"network":{"name":"enp3s0","address":"192.168.1.105/24|fe80::36c0:6c3e:6006:dd23/64","gateway":"192.168.1.254","macAddress":"44:8a:5b:f1:f1:f3"}}','1cf2555c57d511e79714080027658d14',1,NULL,3); -INSERT INTO public.noauth_probe (api_key,create_date,description,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id) VALUES ( +INSERT INTO public.noauth_probe (api_key,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id) VALUES ( '52abd6fd57e511e7ac52080027658d13','2017-08-11 12:43:46.877','{"host":{"name":"snoop-ubuntu","os":"linux","paltform":"ubuntu","platformFamily":"debian","platformVersion":"","kernelVersion":"4.4.0-93-generic","hostID":"DE60E4C3-347A-4D38-AEAB-1760471665EA"},"network":{"name":"enp3s0","address":"192.168.1.106/24|fe80::36c0:6c3e:6006:dd23/64","gateway":"192.168.1.254","macAddress":"44:8a:5b:f1:f1:f3"}}','1cf2555c57d511e79714080027658d15',1,NULL,3); - - - -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 1,'2017-08-24 18:33:25.427','Test History 0',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 2,'2017-08-24 18:33:25.472','Test History 1',1,1,1,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 3,'2017-08-24 18:33:25.493','Test History 2',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 4,'2017-08-24 18:33:25.518','Test History 3',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 5,'2017-08-24 18:33:25.543','Test History 4',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 6,'2017-08-24 18:33:25.563','Test History 5',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 7,'2017-08-24 18:33:25.582','Test History 6',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 8,'2017-08-24 18:33:25.601','Test History 7',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 9,'2017-08-24 18:33:25.621','Test History 8',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 10,'2017-08-24 18:33:25.641','Test History 9',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 11,'2017-08-24 18:33:25.660','Test History 10',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 12,'2017-08-24 18:33:25.674','Test History 11',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 13,'2017-08-24 18:33:25.687','Test History 12',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 14,'2017-08-24 18:33:25.701','Test History 13',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 15,'2017-08-24 18:33:25.714','Test History 14',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 16,'2017-08-24 18:33:25.731','Test History 15',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 17,'2017-08-24 18:33:25.747','Test History 16',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 18,'2017-08-24 18:33:25.762','Test History 17',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 19,'2017-08-24 18:33:25.778','Test History 18',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 20,'2017-08-24 18:33:25.793','Test History 19',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 21,'2017-08-24 18:33:25.808','Test History 20',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 22,'2017-08-24 18:33:25.823','Test History 21',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 23,'2017-08-24 18:33:25.839','Test History 22',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 24,'2017-08-24 18:33:25.854','Test History 23',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 25,'2017-08-24 18:33:25.873','Test History 24',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 26,'2017-08-24 18:33:25.888','Test History 25',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 27,'2017-08-24 18:33:25.902','Test History 26',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 28,'2017-08-24 18:33:25.917','Test History 27',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 29,'2017-08-24 18:33:25.929','Test History 28',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 30,'2017-08-24 18:33:25.942','Test History 29',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 31,'2017-08-24 18:33:25.954','Test History 30',1,1,2,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 32,'2017-08-24 18:33:25.968','Test History 31',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 33,'2017-08-24 18:33:25.981','Test History 32',1,1,1,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 34,'2017-08-24 18:33:25.994','Test History 33',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 35,'2017-08-24 18:33:26.007','Test History 34',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 36,'2017-08-24 18:33:26.021','Test History 35',1,1,2,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 37,'2017-08-24 18:33:26.033','Test History 36',1,1,2,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 38,'2017-08-24 18:33:26.045','Test History 37',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 39,'2017-08-24 18:33:26.059','Test History 38',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 40,'2017-08-24 18:33:26.072','Test History 39',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 41,'2017-08-24 18:33:26.084','Test History 40',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 42,'2017-08-24 18:33:26.097','Test History 41',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 43,'2017-08-24 18:33:26.111','Test History 42',1,1,2,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 44,'2017-08-24 18:33:26.123','Test History 43',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 45,'2017-08-24 18:33:26.135','Test History 44',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 46,'2017-08-24 18:33:26.148','Test History 45',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 47,'2017-08-24 18:33:26.160','Test History 46',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 48,'2017-08-24 18:33:26.173','Test History 47',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 49,'2017-08-24 18:33:26.190','Test History 48',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 50,'2017-08-24 18:33:26.204','Test History 49',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 51,'2017-08-24 18:33:26.219','Test History 50',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 52,'2017-08-24 18:33:26.239','Test History 51',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 53,'2017-08-24 18:33:26.261','Test History 52',1,1,1,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 54,'2017-08-24 18:33:26.560','Test History 53',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 55,'2017-08-24 18:33:26.583','Test History 54',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 56,'2017-08-24 18:33:26.600','Test History 55',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 57,'2017-08-24 18:33:26.617','Test History 56',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 58,'2017-08-24 18:33:26.632','Test History 57',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 59,'2017-08-24 18:33:26.646','Test History 58',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 60,'2017-08-24 18:33:26.661','Test History 59',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 61,'2017-08-24 18:33:26.676','Test History 60',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 62,'2017-08-24 18:33:26.692','Test History 61',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 63,'2017-08-24 18:33:26.708','Test History 62',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 64,'2017-08-24 18:33:26.722','Test History 63',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 65,'2017-08-24 18:33:26.734','Test History 64',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 66,'2017-08-24 18:33:26.747','Test History 65',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 67,'2017-08-24 18:33:26.758','Test History 66',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 68,'2017-08-24 18:33:26.771','Test History 67',1,1,1,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 69,'2017-08-24 18:33:26.784','Test History 68',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 70,'2017-08-24 18:33:26.798','Test History 69',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 71,'2017-08-24 18:33:26.813','Test History 70',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 72,'2017-08-24 18:33:26.834','Test History 71',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 73,'2017-08-24 18:33:26.846','Test History 72',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 74,'2017-08-24 18:33:26.859','Test History 73',1,1,1,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 75,'2017-08-24 18:33:26.873','Test History 74',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 76,'2017-08-24 18:33:26.889','Test History 75',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 77,'2017-08-24 18:33:26.905','Test History 76',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 78,'2017-08-24 18:33:26.921','Test History 77',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 79,'2017-08-24 18:33:26.935','Test History 78',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 80,'2017-08-24 18:33:26.948','Test History 79',1,1,2,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 81,'2017-08-24 18:33:26.961','Test History 80',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 82,'2017-08-24 18:33:26.974','Test History 81',1,1,1,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 83,'2017-08-24 18:33:26.987','Test History 82',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 84,'2017-08-24 18:33:27.000','Test History 83',1,1,1,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 85,'2017-08-24 18:33:27.013','Test History 84',1,1,1,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 86,'2017-08-24 18:33:27.025','Test History 85',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 87,'2017-08-24 18:33:27.038','Test History 86',1,1,1,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 88,'2017-08-24 18:33:27.052','Test History 87',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 89,'2017-08-24 18:33:27.064','Test History 88',1,1,2,3); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 90,'2017-08-24 18:33:27.076','Test History 89',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 91,'2017-08-24 18:33:27.090','Test History 90',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 92,'2017-08-24 18:33:27.106','Test History 91',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 93,'2017-08-24 18:33:27.120','Test History 92',1,1,1,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 94,'2017-08-24 18:33:27.134','Test History 93',1,1,1,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 95,'2017-08-24 18:33:27.149','Test History 94',1,1,1,4); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 96,'2017-08-24 18:33:27.164','Test History 95',1,1,2,6); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 97,'2017-08-24 18:33:27.177','Test History 96',1,1,2,2); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 98,'2017-08-24 18:33:27.191','Test History 97',1,1,1,1); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 99,'2017-08-24 18:33:27.204','Test History 98',1,1,2,5); -INSERT INTO public.history (id,create_date,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( +INSERT INTO public.history (id,message,domain_id,member_id,probe_id,meta_history_type_id) VALUES ( 100,'2017-08-24 18:33:27.217','Test History 99',1,1,1,3); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 1,'2017-08-29 16:39:16.198','2017-08-29 16:39:17.756','Message0','Title0',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 2,'2017-08-29 16:39:16.285','2017-08-29 16:39:17.789','Message1','Title1',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 3,'2017-08-29 16:39:16.306','2017-08-29 16:39:17.807','Message2','Title2',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 4,'2017-08-29 16:39:16.322','2017-08-29 16:39:17.822','Message3','Title3',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 5,'2017-08-29 16:39:16.336','2017-08-29 16:39:17.837','Message4','Title4',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 6,'2017-08-29 16:39:16.350','2017-08-29 16:39:17.852','Message5','Title5',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 7,'2017-08-29 16:39:16.365','2017-08-29 16:39:17.864','Message6','Title6',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 8,'2017-08-29 16:39:16.377','2017-08-29 16:39:17.877','Message7','Title7',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 9,'2017-08-29 16:39:16.391','2017-08-29 16:39:17.890','Message8','Title8',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 10,'2017-08-29 16:39:16.403','2017-08-29 16:39:17.904','Message9','Title9',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 11,'2017-08-29 16:39:16.417','2017-08-29 16:39:17.916','Message10','Title10',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 12,'2017-08-29 16:39:16.430','2017-08-29 16:39:17.929','Message11','Title11',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 13,'2017-08-29 16:39:16.442','2017-08-29 16:39:17.941','Message12','Title12',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 14,'2017-08-29 16:39:16.454','2017-08-29 16:39:17.953','Message13','Title13',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 15,'2017-08-29 16:39:16.467','2017-08-29 16:39:17.966','Message14','Title14',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 16,'2017-08-29 16:39:16.479','2017-08-29 16:39:17.979','Message15','Title15',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 17,'2017-08-29 16:39:16.493','2017-08-29 16:39:17.994','Message16','Title16',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 18,'2017-08-29 16:39:16.508','2017-08-29 16:39:18.008','Message17','Title17',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 19,'2017-08-29 16:39:16.522','2017-08-29 16:39:18.020','Message18','Title18',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 20,'2017-08-29 16:39:16.533','2017-08-29 16:39:18.031','Message19','Title19',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 21,NULL,'2017-08-29 16:39:18.042','Message20','Title20',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 22,NULL,'2017-08-29 16:39:18.051','Message21','Title21',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 23,NULL,'2017-08-29 16:39:18.062','Message22','Title22',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 24,'2017-08-29 16:39:16.533','2017-08-29 16:39:18.072','Message23','Title23',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 25,NULL,'2017-08-29 16:39:18.083','Message24','Title24',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 26,'2017-08-29 16:39:16.533','2017-08-29 16:39:18.096','Message25','Title25',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 27,NULL,'2017-08-29 16:39:18.108','Message26','Title26',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 28,'2017-08-29 16:39:16.533','2017-08-29 16:39:18.118','Message27','Title27',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 29,NULL,'2017-08-29 16:39:18.130','Message28','Title28',1, '/metrics'); -INSERT INTO public.notification (id,confirm_date,create_date,message,title,member_id,url) VALUES ( +INSERT INTO public.notification (id,confirm_date,message,title,member_id,url) VALUES ( 30,NULL,'2017-08-29 16:39:18.143','Message29','Title29',1, '/metrics'); -INSERT INTO public.auth_crawler (auth_json,create_date,meta_crawler_id,target_id) VALUES ( +INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES ( '{"Community":"public"}','2017-09-08 18:31:05.126',20,5); -INSERT INTO public.auth_crawler (auth_json,create_date,meta_crawler_id,target_id) VALUES ( +INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES ( '{"ID":"administrator","PassWord":"dbseogns18"}','2017-09-08 18:31:18.581',23,3); -INSERT INTO public.auth_crawler (auth_json,create_date,meta_crawler_id,target_id) VALUES ( +INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES ( '{"DB Name":"test","ID":"docker","PassWord":"qwer5795QWER"}','2017-09-08 18:31:37.206',11,4); -INSERT INTO public.auth_crawler (auth_json,create_date,meta_crawler_id,target_id) VALUES ( +INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES ( '{"ID":"jmxxuser","PassWord":"tomcat"}','2017-09-12 15:11:47.875',17,4); \ No newline at end of file diff --git a/src/main/resources/production/cache.properties b/src/main/resources/production/cache.properties new file mode 100644 index 0000000..fda34c0 --- /dev/null +++ b/src/main/resources/production/cache.properties @@ -0,0 +1,3 @@ +# Caffeine +cache.cache-names:memberListByDomain,memberListByProbeKey +cache.caffeine.spec: initialCapacity=100,maximumSize=500,expireAfterAccess=5m,recordStats \ No newline at end of file diff --git a/src/main/resources/production/database.properties b/src/main/resources/production/database.properties new file mode 100644 index 0000000..ec6cc8b --- /dev/null +++ b/src/main/resources/production/database.properties @@ -0,0 +1,11 @@ +datasource.url=jdbc:postgresql://192.168.1.50:5432/overflow +datasource.username=overflow +datasource.password=qwer5795 +datasource.driver-class-name=org.postgresql.Driver + +jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +jpa.database=postgresql +jpa.hibernate.ddl-auto=create +#jpa.hibernate.ddl-auto=update +jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy +jpa.show-sql=false diff --git a/src/main/resources/production/mail.properties b/src/main/resources/production/mail.properties new file mode 100644 index 0000000..0a01f91 --- /dev/null +++ b/src/main/resources/production/mail.properties @@ -0,0 +1,14 @@ +# Naver SMTP +mail.host=smtp.worksmobile.com +mail.port=465 +mail.username=geek@loafle.com +mail.password=@cosmos@5795 +mail.protocol=smtps + +mail.properties.mail.smtp.auth=true +mail.transport.protocol=smtp +mail.properties.mail.smtp.starttls.enable=true +mail.smtps.ssl.checkserveridentity=true +mail.smtps.ssl.trust=* + + diff --git a/src/main/resources/production/redis.properties b/src/main/resources/production/redis.properties new file mode 100644 index 0000000..26fc4d8 --- /dev/null +++ b/src/main/resources/production/redis.properties @@ -0,0 +1,4 @@ +# Redis +redis.host=192.168.1.50 +redis.port=6379 +redis.channels=/webapp,/probe,/auth \ No newline at end of file diff --git a/src/main/resources/production/velocity.properties b/src/main/resources/production/velocity.properties new file mode 100644 index 0000000..d2a5cc2 --- /dev/null +++ b/src/main/resources/production/velocity.properties @@ -0,0 +1,10 @@ +#resource.loader=jar +#jar.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader +#jar.runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem +#jar.runtime.log.logsystem.log4j.category=velocity +#jar.resource.loader.cache=true +resource.loader=class +class.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader +class.runtime.log.logsystem.log4j.category=velocity + +input.encoding=UTF-8 \ No newline at end of file diff --git a/src/main/resources/production/vmtemplates/overFlow_logo.png b/src/main/resources/production/vmtemplates/overFlow_logo.png new file mode 100644 index 0000000..b95826f Binary files /dev/null and b/src/main/resources/production/vmtemplates/overFlow_logo.png differ diff --git a/src/main/resources/production/vmtemplates/password_reset.vm b/src/main/resources/production/vmtemplates/password_reset.vm new file mode 100644 index 0000000..1792fc3 --- /dev/null +++ b/src/main/resources/production/vmtemplates/password_reset.vm @@ -0,0 +1,72 @@ + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
+ Resset Your Password +
+ +

Dear ${firstName} ${lastName},

+ +

Sending Email ${content}

+ + + + + + + + + +
+ RESSET PASSWORD NOW +
+ +

Thanks

+ +
+

${signature}

+ +

${location}

+ +

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

+

Help Center · + Privacy Policy · + Terms & Conditions

+

Unsubscribe from this email

+
+
+
+
+
+
diff --git a/src/main/resources/production/vmtemplates/signup.vm b/src/main/resources/production/vmtemplates/signup.vm new file mode 100644 index 0000000..573d1cc --- /dev/null +++ b/src/main/resources/production/vmtemplates/signup.vm @@ -0,0 +1,72 @@ + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
+ Welcome to overFlow. Please Confirm your Email +
+ +

Dear ${firstName} ${lastName},

+ +

Sending Email ${content}

+ + + + + + + + + +
+ Register Now +
+ +

Thanks

+ +
+

${signature}

+ +

${location}

+ +

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

+

Help Center · + Privacy Policy · + Terms & Conditions

+

Unsubscribe from this email

+
+
+
+
+
+
diff --git a/src/main/resources/staging/cache.properties b/src/main/resources/staging/cache.properties new file mode 100644 index 0000000..fda34c0 --- /dev/null +++ b/src/main/resources/staging/cache.properties @@ -0,0 +1,3 @@ +# Caffeine +cache.cache-names:memberListByDomain,memberListByProbeKey +cache.caffeine.spec: initialCapacity=100,maximumSize=500,expireAfterAccess=5m,recordStats \ No newline at end of file diff --git a/src/main/resources/staging/database.properties b/src/main/resources/staging/database.properties new file mode 100644 index 0000000..ec6cc8b --- /dev/null +++ b/src/main/resources/staging/database.properties @@ -0,0 +1,11 @@ +datasource.url=jdbc:postgresql://192.168.1.50:5432/overflow +datasource.username=overflow +datasource.password=qwer5795 +datasource.driver-class-name=org.postgresql.Driver + +jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +jpa.database=postgresql +jpa.hibernate.ddl-auto=create +#jpa.hibernate.ddl-auto=update +jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy +jpa.show-sql=false diff --git a/src/main/resources/staging/mail.properties b/src/main/resources/staging/mail.properties new file mode 100644 index 0000000..0a01f91 --- /dev/null +++ b/src/main/resources/staging/mail.properties @@ -0,0 +1,14 @@ +# Naver SMTP +mail.host=smtp.worksmobile.com +mail.port=465 +mail.username=geek@loafle.com +mail.password=@cosmos@5795 +mail.protocol=smtps + +mail.properties.mail.smtp.auth=true +mail.transport.protocol=smtp +mail.properties.mail.smtp.starttls.enable=true +mail.smtps.ssl.checkserveridentity=true +mail.smtps.ssl.trust=* + + diff --git a/src/main/resources/staging/redis.properties b/src/main/resources/staging/redis.properties new file mode 100644 index 0000000..26fc4d8 --- /dev/null +++ b/src/main/resources/staging/redis.properties @@ -0,0 +1,4 @@ +# Redis +redis.host=192.168.1.50 +redis.port=6379 +redis.channels=/webapp,/probe,/auth \ No newline at end of file diff --git a/src/main/resources/staging/velocity.properties b/src/main/resources/staging/velocity.properties new file mode 100644 index 0000000..d2a5cc2 --- /dev/null +++ b/src/main/resources/staging/velocity.properties @@ -0,0 +1,10 @@ +#resource.loader=jar +#jar.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader +#jar.runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem +#jar.runtime.log.logsystem.log4j.category=velocity +#jar.resource.loader.cache=true +resource.loader=class +class.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader +class.runtime.log.logsystem.log4j.category=velocity + +input.encoding=UTF-8 \ No newline at end of file diff --git a/src/main/resources/staging/vmtemplates/overFlow_logo.png b/src/main/resources/staging/vmtemplates/overFlow_logo.png new file mode 100644 index 0000000..b95826f Binary files /dev/null and b/src/main/resources/staging/vmtemplates/overFlow_logo.png differ diff --git a/src/main/resources/staging/vmtemplates/password_reset.vm b/src/main/resources/staging/vmtemplates/password_reset.vm new file mode 100644 index 0000000..1792fc3 --- /dev/null +++ b/src/main/resources/staging/vmtemplates/password_reset.vm @@ -0,0 +1,72 @@ + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
+ Resset Your Password +
+ +

Dear ${firstName} ${lastName},

+ +

Sending Email ${content}

+ + + + + + + + + +
+ RESSET PASSWORD NOW +
+ +

Thanks

+ +
+

${signature}

+ +

${location}

+ +

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

+

Help Center · + Privacy Policy · + Terms & Conditions

+

Unsubscribe from this email

+
+
+
+
+
+
diff --git a/src/main/resources/staging/vmtemplates/signup.vm b/src/main/resources/staging/vmtemplates/signup.vm new file mode 100644 index 0000000..573d1cc --- /dev/null +++ b/src/main/resources/staging/vmtemplates/signup.vm @@ -0,0 +1,72 @@ + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
+ Welcome to overFlow. Please Confirm your Email +
+ +

Dear ${firstName} ${lastName},

+ +

Sending Email ${content}

+ + + + + + + + + +
+ Register Now +
+ +

Thanks

+ +
+

${signature}

+ +

${location}

+ +

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

+

Help Center · + Privacy Policy · + Terms & Conditions

+

Unsubscribe from this email

+
+
+
+
+
+