This commit is contained in:
insanity 2018-06-14 17:07:52 +09:00
commit 26d09a686f
36 changed files with 1309 additions and 866 deletions

3
.vscode/launch.json vendored
View File

@ -4,7 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"type": "java", "type": "java",
"name": "Debug", "name": "Debug",
@ -14,7 +13,7 @@
"stopOnEntry": false, "stopOnEntry": false,
"mainClass": "com.loafle.overflow.central.Central", "mainClass": "com.loafle.overflow.central.Central",
"projectName": "central", "projectName": "central",
"args": "50006" "args": ""
}, },
{ {
"type": "java", "type": "java",

View File

@ -1,10 +1,9 @@
FROM openjdk:8-jdk-alpine FROM openjdk:8-jdk-alpine
MAINTAINER Loafle <rnd@loafle.com>
ENV APP_FILENAME="com.loafle.overflow.central-1.0.0-SNAPSHOT.jar" \ ENV APP_FILENAME="com.loafle.overflow.central-1.0.0-SNAPSHOT.jar" \
APP_HOME_PATH="/service" \ APP_HOME_PATH="/service" \
APP_MAIN_CLASS="com.loafle.overflow.central.Central" \ APP_MAIN_CLASS="com.loafle.overflow.central.Central" \
APP_CONF_PATH="/opt/conf" \ APP_PATH_LOGS="/var/central/logs" \
PATH="$PATH:/opt/bin" PATH="$PATH:/opt/bin"
ADD build/docker/bin/*.sh /opt/bin/ ADD build/docker/bin/*.sh /opt/bin/
@ -21,8 +20,9 @@ ENV TINI_VERSION='0.17.0' \
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini \ RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini \
&& chmod +x /bin/tini && chmod +x /bin/tini
VOLUME ${APP_CONF_PATH} VOLUME ${APP_PATH_LOGS}
EXPOSE 50006
EXPOSE 9111
ENTRYPOINT ["/bin/tini", "--"] ENTRYPOINT ["/bin/tini", "--"]
CMD ["docker-entrypoint.sh"] CMD ["docker-entrypoint.sh"]

5
build.development.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
mvn clean -f "/project/loafle/overflow/central/pom.xml"
mvn package -f "/project/loafle/overflow/central/pom.xml" -DskipTests -P development

View File

@ -1,30 +1,12 @@
version: "3" version: "3"
services: services:
overFlow-server: central:
restart: always image: docker.loafle.net/overflow/central:1.0.0-SNAPSHOT
image: docker.loafle.net/overflow/central:1.0.0-SNAPSHOT container_name: central
container_name: overFlow-server hostname: central
volumes: restart: always
- /service/central/data/opt/conf:/opt/conf volumes:
# - /home/crusader/Temp/docker/conf:/opt/conf - /service/overflow/data/central/var/central/logs:/var/central/logs
ports: ports:
- "50006:50006" - 9111:9111
# postgresql:
# restart: always
# image: postgres:9.6-alpine
# container_name: overFlow-dao-postgres
# environment:
# - POSTGRES_DB=overflow
# - POSTGRES_USER=overflow
# - POSTGRES_PASSWORD=qwer5795
# # - POSTGRES_INITDB_ARGS="--data-checksums"
# ports:
# - "5432:5432"
# docker-compose up -d
# docker-compose stop
# docker-compose rm
# or
# docker-compose -f ./docker-compose.yml up -d

View File

@ -4,6 +4,6 @@ set -e
cd /service cd /service
/usr/bin/java -classpath ${APP_CONF_PATH}/:${APP_FILENAME}:lib/* ${APP_MAIN_CLASS} 50006 /usr/bin/java -classpath ${APP_FILENAME}:lib/* ${APP_MAIN_CLASS}
exec "$@" exec "$@"

View File

@ -1,3 +0,0 @@
# Caffeine
cache.cache-names:memberListByDomain,memberListByProbeKey
cache.caffeine.spec: initialCapacity=100,maximumSize=500,expireAfterAccess=5m,recordStats

View File

@ -1,11 +0,0 @@
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=true

View File

@ -1,14 +0,0 @@
# Naver SMTP
mail.host=smtp.worksmobile.com
mail.port=465
mail.username=geek@loafle.com
mail.password=@loafle@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=*

View File

@ -1,4 +0,0 @@
# Redis
redis.host=192.168.1.50
redis.port=6379
redis.channels=/webapp,/probe,/auth

View File

@ -1,6 +0,0 @@
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
input.encoding=UTF-8

View File

@ -51,7 +51,7 @@
<dependency> <dependency>
<groupId>com.loafle.overflow</groupId> <groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId> <artifactId>commons-java</artifactId>
<version>1.0.58-SNAPSHOT</version> <version>1.0.62-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -5,17 +5,11 @@ import com.loafle.overflow.central.proxy.ServiceProxy;
import java.io.IOException; import java.io.IOException;
public class Central { public class Central {
private static final Integer SERVICE_PORT = 9111;
public static void main(String[] args) throws IOException, InterruptedException { public static void main(String[] args) throws IOException, InterruptedException {
if (args.length <= 0) {
System.out.println("Port args");
System.out.println("first parameter is Port Number");
return;
}
int port = Integer.valueOf(args[0]);
final ServiceProxy server = new ServiceProxy(); final ServiceProxy server = new ServiceProxy();
server.start(port); server.start(SERVICE_PORT);
server.blockUntilShutdown(); server.blockUntilShutdown();
} }
} }

View File

@ -78,7 +78,7 @@ public class CentralMemberService implements MemberService {
return dm; return dm;
} }
public Member signup(Member member, String pw) throws OverflowException { public Member signup(Member member, String password) throws OverflowException {
Member isMember = this.memberDAO.findByEmail(member.getEmail()); Member isMember = this.memberDAO.findByEmail(member.getEmail());
@ -86,7 +86,7 @@ public class CentralMemberService implements MemberService {
throw new OverflowException("JoinedEmailException()", new Throwable()); throw new OverflowException("JoinedEmailException()", new Throwable());
} }
boolean checkPass = this.isPasswordStrong(pw); boolean checkPass = this.isPasswordStrong(password);
if (!checkPass) { if (!checkPass) {
throw new OverflowException("PasswordNotStrongException()", new Throwable()); throw new OverflowException("PasswordNotStrongException()", new Throwable());
@ -95,7 +95,7 @@ public class CentralMemberService implements MemberService {
// "special character, lowercase letter, and number, " + // "special character, lowercase letter, and number, " +
// "and must be at least 6 characters long."); // "and must be at least 6 characters long.");
} }
member.setPassword(passwordEncoder.encode(pw)); member.setPassword(passwordEncoder.encode(password));
if (member.getMetaMemberStatus() == null) { if (member.getMetaMemberStatus() == null) {
member.setMetaMemberStatus(new MetaMemberStatus((short) 1)); member.setMetaMemberStatus(new MetaMemberStatus((short) 1));
@ -132,7 +132,7 @@ public class CentralMemberService implements MemberService {
return member; return member;
} }
public Member resetPassword(String token, String pw) throws OverflowException { public Member resetPassword(String token, String password) throws OverflowException {
String deStr = null; String deStr = null;
try { try {
@ -154,7 +154,7 @@ public class CentralMemberService implements MemberService {
throw new OverflowException("", null); throw new OverflowException("", null);
} }
boolean checkPass = this.isPasswordStrong(pw); boolean checkPass = this.isPasswordStrong(password);
if (!checkPass) { if (!checkPass) {
throw new OverflowException("PasswordNotStrongException()", new Throwable()); throw new OverflowException("PasswordNotStrongException()", new Throwable());
@ -162,7 +162,7 @@ public class CentralMemberService implements MemberService {
// "special character, lowercase letter, and number, " + // "special character, lowercase letter, and number, " +
// "and must be at least 6 characters long."); // "and must be at least 6 characters long.");
} }
member.setPassword(passwordEncoder.encode(pw)); member.setPassword(passwordEncoder.encode(password));
return this.modify(member); return this.modify(member);
} }
@ -183,15 +183,15 @@ public class CentralMemberService implements MemberService {
} }
@WebappAPI @WebappAPI
public Member modify(Member member, String pw) throws OverflowException { public Member modify(Member member, String password) throws OverflowException {
Member preMember = this.memberDAO.findByEmail(member.getEmail()); Member preMember = this.memberDAO.findByEmail(member.getEmail());
if (null == preMember || 0 >= preMember.getId()) { if (null == preMember || 0 >= preMember.getId()) {
throw new OverflowException("SigninId Not Exist()", new Throwable()); throw new OverflowException("SigninId Not Exist()", new Throwable());
} }
member.setId(preMember.getId()); member.setId(preMember.getId());
if (null != pw && !pw.equals("")) { if (null != password && !password.equals("")) {
boolean checkPass = this.isPasswordStrong(pw); boolean checkPass = this.isPasswordStrong(password);
if (!checkPass) { if (!checkPass) {
throw new OverflowException("PasswordNotStrongException()", new Throwable()); throw new OverflowException("PasswordNotStrongException()", new Throwable());
@ -202,7 +202,7 @@ public class CentralMemberService implements MemberService {
Boolean match = passwordEncoder.matches(member.getPassword(), preMember.getPassword()); Boolean match = passwordEncoder.matches(member.getPassword(), preMember.getPassword());
if (!match) { if (!match) {
member.setPassword(passwordEncoder.encode(pw)); member.setPassword(passwordEncoder.encode(password));
} }
} else { } else {
member.setPassword(preMember.getPassword()); member.setPassword(preMember.getPassword());
@ -232,14 +232,14 @@ public class CentralMemberService implements MemberService {
return preMember; return preMember;
} }
public Member forgotPassword(String signinId, String newPw) throws OverflowException { public Member forgotPassword(String signinId, String newPassword) throws OverflowException {
Member preMember = this.memberDAO.findByEmail(signinId); Member preMember = this.memberDAO.findByEmail(signinId);
if (null == preMember) { if (null == preMember) {
throw new OverflowException("SignInIdNotExistException()", new Throwable()); throw new OverflowException("SignInIdNotExistException()", new Throwable());
} }
Member cMember = this.modify(preMember, newPw); Member cMember = this.modify(preMember, newPassword);
return cMember; return cMember;
} }

View File

@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.jdbc.datasource.DriverManagerDataSource; import org.springframework.jdbc.datasource.DriverManagerDataSource;
import org.springframework.jdbc.datasource.init.DataSourceInitializer; import org.springframework.jdbc.datasource.init.DataSourceInitializer;
@ -19,6 +20,9 @@ import org.springframework.transaction.annotation.TransactionManagementConfigure
import javax.persistence.EntityManager; import javax.persistence.EntityManager;
import javax.sql.DataSource; import javax.sql.DataSource;
import java.util.Arrays;
import java.util.List;
import java.util.Properties; import java.util.Properties;
/** /**
@ -84,11 +88,21 @@ public class JdbcConfiguration implements TransactionManagementConfigurer {
DataSourceInitializer initializer = new DataSourceInitializer(); DataSourceInitializer initializer = new DataSourceInitializer();
initializer.setDataSource(dataSource); initializer.setDataSource(dataSource);
ClassPathResource initSqlResource = new ClassPathResource("/init.sql"); List<Resource> resources = Arrays.asList(new ClassPathResource("/init.meta.sql"),
if (initSqlResource.exists()) { new ClassPathResource("/init.sample.sql"));
ResourceDatabasePopulator databasePopulator = new ResourceDatabasePopulator();
databasePopulator.addScript(initSqlResource); ResourceDatabasePopulator databasePopulator = new ResourceDatabasePopulator();
databasePopulator.setIgnoreFailedDrops(true); databasePopulator.setIgnoreFailedDrops(true);
boolean enabled = false;
for (Resource resource : resources) {
if (resource.exists()) {
databasePopulator.addScript(resource);
enabled = true;
}
}
if (enabled) {
initializer.setDatabasePopulator(databasePopulator); initializer.setDatabasePopulator(databasePopulator);
} else { } else {
initializer.setEnabled(false); initializer.setEnabled(false);

View File

@ -1,11 +1,10 @@
datasource.url=jdbc:postgresql://192.168.1.50:5432/overflow datasource.url=jdbc:postgresql://postgres:5432/overflow
datasource.username=overflow datasource.username=overflow
datasource.password=qwer5795 datasource.password=qwer5795
datasource.driver-class-name=org.postgresql.Driver datasource.driver-class-name=org.postgresql.Driver
jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
jpa.database=postgresql jpa.database=postgresql
jpa.hibernate.ddl-auto=create jpa.hibernate.ddl-auto=update
#jpa.hibernate.ddl-auto=update
jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
jpa.show-sql=false jpa.show-sql=false

View File

@ -866,393 +866,3 @@ INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sen
'49','25','145'); '49','25','145');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES ( INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'50','25','146'); '50','25','146');
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','overflow@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','insanity@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','snoop@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','geekdev@naver.com','geek','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
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,email_auth_key,member_id, meta_email_type_id) VALUES (
'2017-11-22 12:28:48.895','dbseogns1234',2,1);
INSERT INTO public."domain" ("name") VALUES (
'overFlow''s domain');
INSERT INTO public."domain" ("name") VALUES (
'insanity''s domain');
INSERT INTO public."domain" ("name") VALUES (
'snoop''s domain');
INSERT INTO public."domain" ("name") VALUES (
'geek''s domain');
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 ( 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,domain_id) VALUES (
'52abd6fd57e511e7ac52080027658d13',1);
INSERT INTO public.api_key (api_key,domain_id) VALUES (
'bf78f1f4319611e897713222d3c76cf6',2);
INSERT INTO public.api_key (api_key,domain_id) VALUES (
'05cf2947319911e898993222d3c76cf6',3);
INSERT INTO public.api_key (api_key,domain_id) VALUES (
'09c8c54f319911e8a41f3222d3c76cf6',4);
INSERT INTO public.probe (authorize_date,cidr,"name", description,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,"name", description,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 (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_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_host (id, infra_zone_id, meta_target_host_type_id) VALUES (2, 1, 127);
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, port) VALUES (1, 2, 1, 5432);
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, "name", os, platform, platform_family, platform_version, kernel_version, host_id) VALUES (1, 2, 'geek-ubuntu', 'linux', 'ubuntu', 'debian', '', '4.4.0-93-generic', '03000200-0400-0500-0006-000700080009');
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_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.infra_service (id, meta_target_service_type_id, infra_host_ip_id, infra_host_port_id) VALUES (3, 1035, 1, 1);
INSERT INTO public.target (id, infra_id, "name", description, sensor_count, meta_target_type_id) VALUES (1, 1, 'Zone', 'Zone Target', 1, 2);
INSERT INTO public.target (id, infra_id, "name", description, sensor_count, meta_target_type_id) VALUES (2, 2, 'Host', 'Host Target', 1, 127);
INSERT INTO public.target (id, infra_id, "name", description, sensor_count, meta_target_type_id) VALUES (3, 3, 'Service', 'Service Target', 1, 1035);
INSERT INTO public.sensor (target_id, "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, "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, "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,infra_host_meta) VALUES (
'52abd6fd57e511e7ac52080027658d13','1cf2555c57d511e79714080027658d13',1,NULL,3,'{"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"}}');
INSERT INTO public.noauth_probe (api_key,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id,infra_host_meta) VALUES (
'52abd6fd57e511e7ac52080027658d13','1cf2555c57d511e79714080027658d14',1,NULL,3,'{"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"}}');
INSERT INTO public.noauth_probe (api_key,temp_probe_key,domain_id,probe_id,meta_noauth_probe_status_id,infra_host_meta) VALUES (
'52abd6fd57e511e7ac52080027658d13','1cf2555c57d511e79714080027658d15',1,NULL,3,'{"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"}}');
INSERT INTO public.history (id,create_date,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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
100,'2017-08-24 18:33:27.217','Test History 99',1,1,1,3);
INSERT INTO public.notification (id,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
21,'2017-08-29 16:39:18.042',NULL,'Message20','Title20',1, '/metrics');
INSERT INTO public.notification (id,create_date,confirm_date,message,title,member_id,url) VALUES (
22,'2017-08-29 16:39:18.051',NULL,'Message21','Title21',1, '/metrics');
INSERT INTO public.notification (id,create_date,confirm_date,message,title,member_id,url) VALUES (
23,'2017-08-29 16:39:18.062',NULL,'Message22','Title22',1, '/metrics');
INSERT INTO public.notification (id,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
25,'2017-08-29 16:39:18.083',NULL,'Message24','Title24',1, '/metrics');
INSERT INTO public.notification (id,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
27,'2017-08-29 16:39:18.108',NULL,'Message26','Title26',1, '/metrics');
INSERT INTO public.notification (id,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
29,'2017-08-29 16:39:18.130',NULL,'Message28','Title28',1, '/metrics');
INSERT INTO public.notification (id,create_date,confirm_date,message,title,member_id,url) VALUES (
30,'2017-08-29 16:39:18.143',NULL,'Message29','Title29',1, '/metrics');
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
-- '{"Community":"public"}',20,5);
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
-- '{"ID":"administrator","PassWord":"dbseogns18"}',23,3);
INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
'{"DB Name":"test","ID":"docker","PassWord":"qwer5795QWER"}',31,3);
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
-- '{"ID":"jmxxuser","PassWord":"tomcat"}',17,4);

View File

@ -3,9 +3,10 @@
<contextName>central</contextName> <contextName>central</contextName>
<appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender"> <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/var/central/logs/central.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- rollover daily --> <!-- rollover daily -->
<fileNamePattern>central-%d{yyyy-MM-dd'T'HH:mm}.%i.log.zip</fileNamePattern> <fileNamePattern>central.%d{yyyy-MM-dd'T'HH:mm}.%i.zip</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy <timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB --> <!-- or whenever the file size reaches 100MB -->

View File

@ -1,4 +1,4 @@
# Redis # Redis
redis.host=192.168.1.50 redis.host=redis
redis.port=6379 redis.port=6379
redis.channels=/webapp,/probe,/auth redis.channels=/webapp,/probe,/auth

View File

@ -0,0 +1,868 @@
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_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 meta_crawler_input_item (id , default_value , key_name , key_value , name , pattern , required , meta_crawler_id , meta_input_type_id ) VALUES ( 1 , 'Loafle' , '' , '' , '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 , '' , '' , '' , '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' , '' , '' , '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' , '' , '' , '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' , '' , '' , '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 , '' , '' , '' , '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' , '' , '' , '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 , '' , '' , '' , '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' , 'MD5|SHA' , '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' , '' , '' , '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 , '' , '' , '' , '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' , 'DES|AES' , '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' , '' , '' , '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' , '' , '' , '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' , '' , '' , '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 , '' , '' , '' , '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' , '' , '' , '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 , '' , '' , '' , 'PassWord' , '' , 'TRUE' , '21' , '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 , 'NONE' , 'None' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 2 , 'UNKNOWN' , 'Unknown' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 3 , 'AES' , 'AES' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 4 , 'CIPHER' , 'Cipher' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 5 , 'DES' , 'DES' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 6 , 'DSA' , 'DSA' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 7 , 'ECDSA' , 'ECDSA' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 8 , 'ELLIPTIC' , 'Elliptic' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 9 , 'HMAC' , 'HMAC' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 10 , 'MD5' , 'MD5' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 11 , 'RAND' , 'RAND' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 12 , 'RC4' , 'RC4' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 13 , 'RSA' , 'RSA' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 14 , 'SHA1' , 'SHA1' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 15 , 'SHA256' , 'SHA512' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 16 , 'SUBTLE' , 'SUBTLE' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 17 , 'TLS' , 'TLS' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 18 , 'X509' , 'X509' );
INSERT INTO public.meta_crypto_type ( id , key , "name" ) VALUES ( 19 , 'PKIX' , 'PKIX' );
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_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 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_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_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 ( 2 , 2 , 'OS' , 'Operating System' );
INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 3 , 3 , 'DATABASE' , 'Database' );
INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 4 , 3 , 'NOSQL' , 'NoSQL Database' );
INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 5 , 3 , 'WEB' , 'WEB' );
INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 6 , 3 , 'MAIL' , 'Zone' );
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_target_zone_type ( id ) VALUES ( 1 );
-- INSERT INTO public.meta_target_zone_type ( id ) VALUES ( 2 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 100 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 101 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 102 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 103 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 104 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 105 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 106 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 107 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 108 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 109 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 110 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 111 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 112 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 113 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 114 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 115 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 116 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 117 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 118 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 119 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 120 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 121 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 122 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 123 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 124 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 125 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 126 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 127 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 128 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 129 );
-- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 130 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1000 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1001 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1002 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1003 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1004 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1005 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1006 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1007 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1008 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1009 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1010 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1011 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1012 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1013 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1014 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1015 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1016 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1017 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1018 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1019 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1020 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1021 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1022 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1023 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1024 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1025 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1026 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1027 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1028 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1029 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1030 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1031 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1032 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1033 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1034 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1035 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1036 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1037 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1038 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1039 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1040 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1041 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1042 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1043 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1044 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1045 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1046 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1047 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1048 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1049 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1050 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1051 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1052 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1053 );
-- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1054 );
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_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_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_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 public.meta_sensor_item_type (id, key, "name") VALUES (1,'CPU','CPU');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (2,'MEMORY','Memory');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (3,'DISK_IO','Disk IO');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (4,'FILE_SYSTEM','File System');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (5,'NETWORK','Network');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (6,'PROCESS','Process');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (7,'SERVER','Server');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (8,'CLIENT','Client');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (9,'PERSISTENCE','Persistence');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (10,'STATS','Stats');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (11,'REPLICATION','Replication');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (12,'CLUSTER','Cluster');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (13,'KEYSPACE','Keyspace');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (14,'INNODB','InnoDB');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (15,'NET','Net');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (16,'PERFORMANCE','Performance');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (17,'THREAD','Thread');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (18,'GLOBAL_REQUEST_PROCESSOR','GlobalRequestProcessor');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (19,'SERVLET','Servlet');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (20,'STRING_CACHE','StringCache');
INSERT INTO public.meta_sensor_item_type (id, key, "name") VALUES (21,'JSP_MONITOR','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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "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, "name", key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (
201, true, 'Connections', 'MYSQL.NET.CONNECTIONS', 11, 15, 6);
INSERT INTO meta_sensor_display_item (id, is_default, "name", key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (
202, true, 'Reads & Writes', 'MYSQL.INNODB.READSWRITES', 11, 14, 6);
INSERT INTO meta_sensor_display_item (id, is_default, "name", key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (
203, true, 'Row Lock Time (ms/s)', 'MYSQL.INNODB.ROW_LOCK_TIME', 11, 14, 0);
INSERT INTO meta_sensor_display_item (id, is_default, "name", key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (
204, true, 'Row Lock Waits', 'MYSQL.INNODB.ROW_LOCK_WAITS', 11, 14, 6);
INSERT INTO meta_sensor_display_item (id, is_default, "name", key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (
205, true, 'Slow Queries', 'MYSQL.PERFORMANCE.SLOW_QUERIES', 11, 16, 6);
INSERT INTO meta_sensor_display_item (id, is_default, "name", key, meta_crawler_id, meta_sensor_item_type_id, meta_sensor_item_unit_id) VALUES (
206, true, 'Queries', 'MYSQL.PERFORMANCE.QUERIES', 11, 16, 6);
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'1','1','119');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'2','1','120');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'3','1','121');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'4','1','122');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'5','1','123');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'6','1','124');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'7','1','125');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'8','1','126');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'9','1','127');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'10','1','128');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'11','2','119');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'12','3','120');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'13','4','121');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'14','5','122');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'15','6','123');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'16','7','124');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'17','8','125');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'18','9','126');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'19','10','127');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'20','11','128');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'21','12','129');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'22','12','130');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'23','12','131');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'24','12','132');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'25','13','129');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'26','14','130');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'27','15','131');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'28','16','132');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'29','17','133');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'30','17','134');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'31','17','135');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'32','17','136');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'33','17','137');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'34','18','134');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'35','19','136');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'36','20','137');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'37','21','138');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'38','21','139');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'39','21','140');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'40','22','140');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'41','23','141');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'42','23','142');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'43','23','143');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'44','23','144');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'45','23','145');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'46','23','146');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'47','24','143');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'48','24','144');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'49','25','145');
INSERT INTO meta_sensor_display_mapping (id,meta_sensor_display_item_id,meta_sensor_item_key_id) VALUES (
'50','25','146');

View File

@ -0,0 +1,381 @@
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','overflow@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','insanity@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','snoop@loafle.com','overFlow','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
INSERT INTO public."member" (company_name,email,"name",phone,password,meta_member_status_id) VALUES (
'loafle','geekdev@naver.com','geek','000-000-0000','$2a$10$G2bbjoX9.fOnxJx/8DZqPujFYrEQtIEB.f98/8K20XiGWEhwPakZ.',2);
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,email_auth_key,member_id, meta_email_type_id) VALUES (
'2017-11-22 12:28:48.895','dbseogns1234',2,1);
INSERT INTO public."domain" ("name") VALUES (
'overFlow''s domain');
INSERT INTO public."domain" ("name") VALUES (
'insanity''s domain');
INSERT INTO public."domain" ("name") VALUES (
'snoop''s domain');
INSERT INTO public."domain" ("name") VALUES (
'geek''s domain');
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 ( 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,domain_id) VALUES (
'52abd6fd57e511e7ac52080027658d13',1);
INSERT INTO public.api_key (api_key,domain_id) VALUES (
'bf78f1f4319611e897713222d3c76cf6',2);
INSERT INTO public.api_key (api_key,domain_id) VALUES (
'05cf2947319911e898993222d3c76cf6',3);
INSERT INTO public.api_key (api_key,domain_id) VALUES (
'09c8c54f319911e8a41f3222d3c76cf6',4);
INSERT INTO public.probe (authorize_date,cidr,"name", description,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,"name", description,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 (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_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_host (id, infra_zone_id, meta_target_host_type_id) VALUES (2, 1, 127);
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, port) VALUES (1, 2, 1, 5432);
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, "name", os, platform, platform_family, platform_version, kernel_version, host_id) VALUES (1, 2, 'geek-ubuntu', 'linux', 'ubuntu', 'debian', '', '4.4.0-93-generic', '03000200-0400-0500-0006-000700080009');
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_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.infra_service (id, meta_target_service_type_id, infra_host_ip_id, infra_host_port_id) VALUES (3, 1035, 1, 1);
INSERT INTO public.target (id, infra_id, "name", description, sensor_count, meta_target_type_id) VALUES (1, 1, 'Zone', 'Zone Target', 1, 2);
INSERT INTO public.target (id, infra_id, "name", description, sensor_count, meta_target_type_id) VALUES (2, 2, 'Host', 'Host Target', 1, 127);
INSERT INTO public.target (id, infra_id, "name", description, sensor_count, meta_target_type_id) VALUES (3, 3, 'Service', 'Service Target', 1, 1035);
INSERT INTO public.sensor (target_id, "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, "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, "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,infra_host_meta) VALUES (
'52abd6fd57e511e7ac52080027658d13','1cf2555c57d511e79714080027658d13',1,NULL,3,'{"infraHostMachine":{"meta":"{}"},"infraHostOS":{"name":"crusader-ubuntu","os":"linux","platform":"ubuntu","platformFamily":"debian","kernelVersion":"4.4.0-128-generic","hostID":"7fef6df0-c5f6-4307-8e22-e377105d234e"},"infraHostIPs":[{"metaIPType":{"key":"V4"},"address":"192.168.1.101/24","mac":"44:8a:5b:f1:f1:f3","iface":"enp3s0","gateway":"192.168.1.254"},{"metaIPType":{"key":"V6"},"address":"fe80::36c0:6c3e:6006:dd23/64","mac":"44:8a:5b:f1:f1:f3","iface":"enp3s0","gateway":"192.168.1.254"},{"metaIPType":{"key":"V4"},"address":"172.18.0.1/16","mac":"02:42:5f:fa:8f:fa","iface":"br-bc97baaa807f"},{"metaIPType":{"key":"V4"},"address":"172.22.0.1/16","mac":"02:42:e5:75:4e:67","iface":"br-30ea20f4fdbe"},{"metaIPType":{"key":"V4"},"address":"172.17.0.1/16","mac":"02:42:8d:69:46:0d","iface":"docker0"},{"metaIPType":{"key":"V4"},"address":"172.24.0.1/16","mac":"02:42:46:8c:06:cf","iface":"br-629e1bf40111"},{"metaIPType":{"key":"V4"},"address":"172.23.0.1/16","mac":"02:42:f6:7f:7a:48","iface":"br-6c078941d24b"},{"metaIPType":{"key":"V4"},"address":"172.20.0.1/16","mac":"02:42:e5:e5:65:73","iface":"br-7b643c9b5284"},{"metaIPType":{"key":"V6"},"address":"fe80::42:e5ff:fee5:6573/64","mac":"02:42:e5:e5:65:73","iface":"br-7b643c9b5284"},{"metaIPType":{"key":"V4"},"address":"172.19.0.1/16","mac":"02:42:57:38:ec:35","iface":"br-a73e4d7bd0ac"},{"metaIPType":{"key":"V4"},"address":"172.21.0.1/16","mac":"02:42:85:4d:b5:9d","iface":"br-a87d468914e9"},{"metaIPType":{"key":"V6"},"address":"fe80::e0ad:55ff:fe25:d41d/64","mac":"e2:ad:55:25:d4:1d","iface":"vethdb1128f"}]}');
INSERT INTO public.history (id,create_date,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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
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 (
100,'2017-08-24 18:33:27.217','Test History 99',1,1,1,3);
INSERT INTO public.notification (id,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
21,'2017-08-29 16:39:18.042',NULL,'Message20','Title20',1, '/metrics');
INSERT INTO public.notification (id,create_date,confirm_date,message,title,member_id,url) VALUES (
22,'2017-08-29 16:39:18.051',NULL,'Message21','Title21',1, '/metrics');
INSERT INTO public.notification (id,create_date,confirm_date,message,title,member_id,url) VALUES (
23,'2017-08-29 16:39:18.062',NULL,'Message22','Title22',1, '/metrics');
INSERT INTO public.notification (id,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
25,'2017-08-29 16:39:18.083',NULL,'Message24','Title24',1, '/metrics');
INSERT INTO public.notification (id,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
27,'2017-08-29 16:39:18.108',NULL,'Message26','Title26',1, '/metrics');
INSERT INTO public.notification (id,create_date,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,create_date,confirm_date,message,title,member_id,url) VALUES (
29,'2017-08-29 16:39:18.130',NULL,'Message28','Title28',1, '/metrics');
INSERT INTO public.notification (id,create_date,confirm_date,message,title,member_id,url) VALUES (
30,'2017-08-29 16:39:18.143',NULL,'Message29','Title29',1, '/metrics');
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
-- '{"Community":"public"}',20,5);
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
-- '{"ID":"administrator","PassWord":"dbseogns18"}',23,3);
INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
'{"DB Name":"test","ID":"docker","PassWord":"qwer5795QWER"}',31,3);
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
-- '{"ID":"jmxxuser","PassWord":"tomcat"}',17,4);

View File

@ -1,3 +0,0 @@
# Caffeine
cache.cache-names:memberListByDomain,memberListByProbeKey
cache.caffeine.spec: initialCapacity=100,maximumSize=500,expireAfterAccess=5m,recordStats

View File

@ -1,11 +0,0 @@
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

View File

@ -1,14 +0,0 @@
# 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=*

View File

@ -1,4 +0,0 @@
# Redis
redis.host=192.168.1.50
redis.port=6379
redis.channels=/webapp,/probe,/auth

View File

@ -1,10 +0,0 @@
#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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,72 +0,0 @@
<xmeta charset="utf-8">
<xmeta name="viewport" content="width=device-width, initial-scale=1">
<xmeta http-equiv="X-UA-Compatible" content="IE=edge">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="padding: 10px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:5px solid #d5d8dc;max-width: 600px;">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 20px;text-align:center; background: #203976;">
<img src="cid:company-logo" width="206" height="36" alt=""/></td>
</tr>
<tr>
<td style="padding: 40px 20px 0px 20px;font-family: Arial, Helvetica, Sans-serif;color: #383838;font-size: 1.3em; font-weight: bold;">
Resset Your Password
</td>
</tr>
<tr>
<td style="padding: 30px 20px;font-family: Arial, Helvetica, Sans-serif; color: #383838;">
<p>Dear ${firstName} ${lastName},</p>
<p>Sending Email <b>${content}</b></p>
<table style="border-collapse: collapse; margin: 0 auto; color: #ffffff;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
<tr>
<td align="center" valign="middle" style="text-align: center; text-decoration: none!important; text-transform: uppercase; font-weight: 400; font-size: 16px; font-family: Arial, Helvetica, Sans-serif; color: #ffffff; background-color: #2185d0; background-clip: border-box; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; padding: 10px 30px 10px 30px;" width="100%">
<a href="${content}" target="_blank" style="color: #ffffff; text-decoration: none;" rel="noreferrer noopener">RESSET PASSWORD NOW</a>
</td>
</tr>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
</tbody>
</table>
<p>Thanks</p>
</td>
</tr>
<tr>
<td style="padding: 30px;font-family: Arial, Helvetica, Sans-serif;font-size: 0.8em; text-align:center;color:#eeeeee; background: #686868">
<p>${signature}</p>
<p>${location}</p>
<p>Copyright ⓒ 2017 LOAFLE. All Rights Reserved.</p>
<p><a href="" target="_blank" style="color:#eeeeee;">Help Center</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Privacy Policy</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Terms & Conditions</a></p>
<p><a href="" style="color:#eeeeee;">Unsubscribe from this email</a></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</xmeta>
</xmeta>
</xmeta>

View File

@ -1,72 +0,0 @@
<xmeta charset="utf-8">
<xmeta name="viewport" content="width=device-width, initial-scale=1">
<xmeta http-equiv="X-UA-Compatible" content="IE=edge">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="padding: 10px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:5px solid #d5d8dc;max-width: 600px;">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 20px;text-align:center; background: #203976;">
<img src="cid:company-logo" width="206" height="36" alt=""/></td>
</tr>
<tr>
<td style="padding: 40px 20px 0px 20px;font-family: Arial, Helvetica, Sans-serif;color: #383838;font-size: 1.3em; font-weight: bold;">
Welcome to overFlow. Please Confirm your Email
</td>
</tr>
<tr>
<td style="padding: 30px 20px;font-family: Arial, Helvetica, Sans-serif; color: #383838;">
<p>Dear ${firstName} ${lastName},</p>
<p>Sending Email <b>${content}</b></p>
<table style="border-collapse: collapse; margin: 0 auto; color: #ffffff;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
<tr>
<td align="center" valign="middle" style="text-align: center; text-decoration: none!important; text-transform: uppercase; font-weight: 400; font-size: 16px; font-family: Arial, Helvetica, Sans-serif; color: #ffffff; background-color: #2185d0; background-clip: border-box; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; padding: 10px 30px 10px 30px;" width="100%">
<a href="${content}" target="_blank" style="color: #ffffff; text-decoration: none;" rel="noreferrer noopener">Register Now</a>
</td>
</tr>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
</tbody>
</table>
<p>Thanks</p>
</td>
</tr>
<tr>
<td style="padding: 30px;font-family: Arial, Helvetica, Sans-serif;font-size: 0.8em; text-align:center;color:#eeeeee; background: #686868">
<p>${signature}</p>
<p>${location}</p>
<p>Copyright ⓒ 2017 LOAFLE. All Rights Reserved.</p>
<p><a href="" target="_blank" style="color:#eeeeee;">Help Center</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Privacy Policy</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Terms & Conditions</a></p>
<p><a href="" style="color:#eeeeee;">Unsubscribe from this email</a></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</xmeta>
</xmeta>
</xmeta>

View File

@ -1,3 +0,0 @@
# Caffeine
cache.cache-names:memberListByDomain,memberListByProbeKey
cache.caffeine.spec: initialCapacity=100,maximumSize=500,expireAfterAccess=5m,recordStats

View File

@ -1,11 +0,0 @@
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

View File

@ -1,14 +0,0 @@
# 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=*

View File

@ -1,4 +0,0 @@
# Redis
redis.host=192.168.1.50
redis.port=6379
redis.channels=/webapp,/probe,/auth

View File

@ -1,10 +0,0 @@
#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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,72 +0,0 @@
<xmeta charset="utf-8">
<xmeta name="viewport" content="width=device-width, initial-scale=1">
<xmeta http-equiv="X-UA-Compatible" content="IE=edge">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="padding: 10px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:5px solid #d5d8dc;max-width: 600px;">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 20px;text-align:center; background: #203976;">
<img src="cid:company-logo" width="206" height="36" alt=""/></td>
</tr>
<tr>
<td style="padding: 40px 20px 0px 20px;font-family: Arial, Helvetica, Sans-serif;color: #383838;font-size: 1.3em; font-weight: bold;">
Resset Your Password
</td>
</tr>
<tr>
<td style="padding: 30px 20px;font-family: Arial, Helvetica, Sans-serif; color: #383838;">
<p>Dear ${firstName} ${lastName},</p>
<p>Sending Email <b>${content}</b></p>
<table style="border-collapse: collapse; margin: 0 auto; color: #ffffff;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
<tr>
<td align="center" valign="middle" style="text-align: center; text-decoration: none!important; text-transform: uppercase; font-weight: 400; font-size: 16px; font-family: Arial, Helvetica, Sans-serif; color: #ffffff; background-color: #2185d0; background-clip: border-box; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; padding: 10px 30px 10px 30px;" width="100%">
<a href="${content}" target="_blank" style="color: #ffffff; text-decoration: none;" rel="noreferrer noopener">RESSET PASSWORD NOW</a>
</td>
</tr>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
</tbody>
</table>
<p>Thanks</p>
</td>
</tr>
<tr>
<td style="padding: 30px;font-family: Arial, Helvetica, Sans-serif;font-size: 0.8em; text-align:center;color:#eeeeee; background: #686868">
<p>${signature}</p>
<p>${location}</p>
<p>Copyright ⓒ 2017 LOAFLE. All Rights Reserved.</p>
<p><a href="" target="_blank" style="color:#eeeeee;">Help Center</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Privacy Policy</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Terms & Conditions</a></p>
<p><a href="" style="color:#eeeeee;">Unsubscribe from this email</a></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</xmeta>
</xmeta>
</xmeta>

View File

@ -1,72 +0,0 @@
<xmeta charset="utf-8">
<xmeta name="viewport" content="width=device-width, initial-scale=1">
<xmeta http-equiv="X-UA-Compatible" content="IE=edge">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="padding: 10px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:5px solid #d5d8dc;max-width: 600px;">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 20px;text-align:center; background: #203976;">
<img src="cid:company-logo" width="206" height="36" alt=""/></td>
</tr>
<tr>
<td style="padding: 40px 20px 0px 20px;font-family: Arial, Helvetica, Sans-serif;color: #383838;font-size: 1.3em; font-weight: bold;">
Welcome to overFlow. Please Confirm your Email
</td>
</tr>
<tr>
<td style="padding: 30px 20px;font-family: Arial, Helvetica, Sans-serif; color: #383838;">
<p>Dear ${firstName} ${lastName},</p>
<p>Sending Email <b>${content}</b></p>
<table style="border-collapse: collapse; margin: 0 auto; color: #ffffff;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
<tr>
<td align="center" valign="middle" style="text-align: center; text-decoration: none!important; text-transform: uppercase; font-weight: 400; font-size: 16px; font-family: Arial, Helvetica, Sans-serif; color: #ffffff; background-color: #2185d0; background-clip: border-box; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; padding: 10px 30px 10px 30px;" width="100%">
<a href="${content}" target="_blank" style="color: #ffffff; text-decoration: none;" rel="noreferrer noopener">Register Now</a>
</td>
</tr>
<tr><td style="border: 0; padding: 0; margin: 0; mso-line-height-rule: exactly;" height="15"></td></tr>
</tbody>
</table>
<p>Thanks</p>
</td>
</tr>
<tr>
<td style="padding: 30px;font-family: Arial, Helvetica, Sans-serif;font-size: 0.8em; text-align:center;color:#eeeeee; background: #686868">
<p>${signature}</p>
<p>${location}</p>
<p>Copyright ⓒ 2017 LOAFLE. All Rights Reserved.</p>
<p><a href="" target="_blank" style="color:#eeeeee;">Help Center</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Privacy Policy</a> ·
<a href="" target="_blank" style="color:#eeeeee;">Terms & Conditions</a></p>
<p><a href="" style="color:#eeeeee;">Unsubscribe from this email</a></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</xmeta>
</xmeta>
</xmeta>