diff --git a/crawler.go b/crawler.go index 2b67b82..7325b14 100644 --- a/crawler.go +++ b/crawler.go @@ -5,7 +5,7 @@ import ( "errors" "log" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type Internal interface { diff --git a/health_crawler/activedirectory_protocol_crawler_go/ad_protocol_crawler.go b/health_crawler/activedirectory_protocol_crawler_go/ad_protocol_crawler.go index 3d2d335..e97bd7e 100644 --- a/health_crawler/activedirectory_protocol_crawler_go/ad_protocol_crawler.go +++ b/health_crawler/activedirectory_protocol_crawler_go/ad_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/activedirectory" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type ActiveDirectoryHealthCrawler struct { diff --git a/health_crawler/cassandra_protocol_crawler_go/cassandra_protocol_crawler.go b/health_crawler/cassandra_protocol_crawler_go/cassandra_protocol_crawler.go index 9bd61fe..6c6a78a 100644 --- a/health_crawler/cassandra_protocol_crawler_go/cassandra_protocol_crawler.go +++ b/health_crawler/cassandra_protocol_crawler_go/cassandra_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/cassandra" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type CassandraHealthCrawler struct { diff --git a/health_crawler/dns_protocol_crawler_go/dns_protocol_crawler.go b/health_crawler/dns_protocol_crawler_go/dns_protocol_crawler.go index 78aba45..0799d5b 100644 --- a/health_crawler/dns_protocol_crawler_go/dns_protocol_crawler.go +++ b/health_crawler/dns_protocol_crawler_go/dns_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/dns" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type DNSHealthCrawler struct { diff --git a/health_crawler/ftp_protocol_crawler_go/ftp_protocol_crawler.go b/health_crawler/ftp_protocol_crawler_go/ftp_protocol_crawler.go index 3a7527d..12898cf 100644 --- a/health_crawler/ftp_protocol_crawler_go/ftp_protocol_crawler.go +++ b/health_crawler/ftp_protocol_crawler_go/ftp_protocol_crawler.go @@ -4,7 +4,7 @@ package ftp_protocol_crawler_go import ( "loafle.com/overflow/crawler_go" "encoding/json" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type FTPHealthCrawler struct { diff --git a/health_crawler/ftps_protocol_crawler_go/ftps_protocol_crawler.go b/health_crawler/ftps_protocol_crawler_go/ftps_protocol_crawler.go index 74d8dc4..6a6120f 100644 --- a/health_crawler/ftps_protocol_crawler_go/ftps_protocol_crawler.go +++ b/health_crawler/ftps_protocol_crawler_go/ftps_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "loafle.com/overflow/crawler_go" "encoding/json" "loafle.com/overflow/commons_go/matcher/ftp" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type FTPSHealthCrawler struct { diff --git a/health_crawler/http_protocol_crawler_go/crawler_protocol_http.go b/health_crawler/http_protocol_crawler_go/crawler_protocol_http.go index b9ff887..3440df2 100644 --- a/health_crawler/http_protocol_crawler_go/crawler_protocol_http.go +++ b/health_crawler/http_protocol_crawler_go/crawler_protocol_http.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/http" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type HTTPHealthCrawler struct { diff --git a/health_crawler/imap_protocol_crawler_go/imap_protocol_crawler.go b/health_crawler/imap_protocol_crawler_go/imap_protocol_crawler.go index 7fec4a1..a3e0213 100644 --- a/health_crawler/imap_protocol_crawler_go/imap_protocol_crawler.go +++ b/health_crawler/imap_protocol_crawler_go/imap_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/imap" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type IMAPHealthCrawler struct { diff --git a/health_crawler/ldap_protocol_crawler_go/ldap_protocol_crawler.go b/health_crawler/ldap_protocol_crawler_go/ldap_protocol_crawler.go index 32c881e..e8cf988 100644 --- a/health_crawler/ldap_protocol_crawler_go/ldap_protocol_crawler.go +++ b/health_crawler/ldap_protocol_crawler_go/ldap_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/ldap" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type LDAPHealthCrawler struct { diff --git a/health_crawler/mongodb_protocol_crawler_go/mongodb_protocol.go b/health_crawler/mongodb_protocol_crawler_go/mongodb_protocol.go index f9b234c..bae8a8d 100644 --- a/health_crawler/mongodb_protocol_crawler_go/mongodb_protocol.go +++ b/health_crawler/mongodb_protocol_crawler_go/mongodb_protocol.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/mongodb" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type MongoDBHealthCrawler struct { diff --git a/health_crawler/mssql_protocol_crawler_go/mssql_protocol.go b/health_crawler/mssql_protocol_crawler_go/mssql_protocol.go index 9464aee..a112fab 100644 --- a/health_crawler/mssql_protocol_crawler_go/mssql_protocol.go +++ b/health_crawler/mssql_protocol_crawler_go/mssql_protocol.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/mssql" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type MSSqlHeahthCrawler struct { diff --git a/health_crawler/mysql_protocol_crawler_go/mysql_protocol.go b/health_crawler/mysql_protocol_crawler_go/mysql_protocol.go index b2777b5..0ec36fd 100644 --- a/health_crawler/mysql_protocol_crawler_go/mysql_protocol.go +++ b/health_crawler/mysql_protocol_crawler_go/mysql_protocol.go @@ -5,7 +5,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/mysql" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type MysqlHeahthCrawler struct { diff --git a/health_crawler/netbios_protocol_crawler_go/netbios_protocol_crawler.go b/health_crawler/netbios_protocol_crawler_go/netbios_protocol_crawler.go index 4cbd659..586e267 100644 --- a/health_crawler/netbios_protocol_crawler_go/netbios_protocol_crawler.go +++ b/health_crawler/netbios_protocol_crawler_go/netbios_protocol_crawler.go @@ -5,7 +5,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/netbios" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type NetbiosHeahthCrawler struct { diff --git a/health_crawler/oracle_protocol_crawler_go/oracle_protocol_crawler.go b/health_crawler/oracle_protocol_crawler_go/oracle_protocol_crawler.go index 5382542..952f59c 100644 --- a/health_crawler/oracle_protocol_crawler_go/oracle_protocol_crawler.go +++ b/health_crawler/oracle_protocol_crawler_go/oracle_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/oracle" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type OracleHeahthCrawler struct { diff --git a/health_crawler/pgsql_protocol_crawler_go/pgsql_protocol.go b/health_crawler/pgsql_protocol_crawler_go/pgsql_protocol.go index da5d7b8..9ea43db 100644 --- a/health_crawler/pgsql_protocol_crawler_go/pgsql_protocol.go +++ b/health_crawler/pgsql_protocol_crawler_go/pgsql_protocol.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/pgsql" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type PGSqlHeahthCrawler struct { diff --git a/health_crawler/pop3_protocol_crawler_go/pop3_protocol_crawler.go b/health_crawler/pop3_protocol_crawler_go/pop3_protocol_crawler.go index 96b1867..2fbcf7e 100644 --- a/health_crawler/pop3_protocol_crawler_go/pop3_protocol_crawler.go +++ b/health_crawler/pop3_protocol_crawler_go/pop3_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/pop" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type POP3HeahthCrawler struct { diff --git a/health_crawler/redis_protocol_crawler_go/redis_protocol.go b/health_crawler/redis_protocol_crawler_go/redis_protocol.go index 9cb263c..d74235a 100644 --- a/health_crawler/redis_protocol_crawler_go/redis_protocol.go +++ b/health_crawler/redis_protocol_crawler_go/redis_protocol.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/redis" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type RedisHeahthCrawler struct { diff --git a/health_crawler/rmi_protocol_crawler_go/rmi_protocol_crawler.go b/health_crawler/rmi_protocol_crawler_go/rmi_protocol_crawler.go index 3df8a5f..866853d 100644 --- a/health_crawler/rmi_protocol_crawler_go/rmi_protocol_crawler.go +++ b/health_crawler/rmi_protocol_crawler_go/rmi_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/rmi" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type RMIHeahthCrawler struct { diff --git a/health_crawler/smb_protocol_crawler_go/smb_protocol_crawler.go b/health_crawler/smb_protocol_crawler_go/smb_protocol_crawler.go index ccfd165..a5e855c 100644 --- a/health_crawler/smb_protocol_crawler_go/smb_protocol_crawler.go +++ b/health_crawler/smb_protocol_crawler_go/smb_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/smb" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type SMBHeahthCrawler struct { diff --git a/health_crawler/smtp_protocol_crawler_go/smtp_protocol_crawler.go b/health_crawler/smtp_protocol_crawler_go/smtp_protocol_crawler.go index e47f968..efc5b66 100644 --- a/health_crawler/smtp_protocol_crawler_go/smtp_protocol_crawler.go +++ b/health_crawler/smtp_protocol_crawler_go/smtp_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/smtp" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type SMTPHeahthCrawler struct { diff --git a/health_crawler/snmpv2c_protocol_crawler_go/snmpv2c_protocol_crawler.go b/health_crawler/snmpv2c_protocol_crawler_go/snmpv2c_protocol_crawler.go index 82e42e6..ebde8b5 100644 --- a/health_crawler/snmpv2c_protocol_crawler_go/snmpv2c_protocol_crawler.go +++ b/health_crawler/snmpv2c_protocol_crawler_go/snmpv2c_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/snmp" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type SNMPV2CHeahthCrawler struct { diff --git a/health_crawler/snmpv3_protocol_crawler_go/snmpv3_protocol_crawler.go b/health_crawler/snmpv3_protocol_crawler_go/snmpv3_protocol_crawler.go index 8c50063..3358311 100644 --- a/health_crawler/snmpv3_protocol_crawler_go/snmpv3_protocol_crawler.go +++ b/health_crawler/snmpv3_protocol_crawler_go/snmpv3_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/snmp" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type SNMPV3HeahthCrawler struct { diff --git a/health_crawler/ssh_protocol_crawler_go/ssh_protocol_crawler.go b/health_crawler/ssh_protocol_crawler_go/ssh_protocol_crawler.go index c690b38..b87a23c 100644 --- a/health_crawler/ssh_protocol_crawler_go/ssh_protocol_crawler.go +++ b/health_crawler/ssh_protocol_crawler_go/ssh_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/ssh" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type SSHHeahthCrawler struct { diff --git a/health_crawler/telnet_protocol_crawler_go/crawler_protocol_telnet.go b/health_crawler/telnet_protocol_crawler_go/crawler_protocol_telnet.go index c70e5da..bcfd35d 100644 --- a/health_crawler/telnet_protocol_crawler_go/crawler_protocol_telnet.go +++ b/health_crawler/telnet_protocol_crawler_go/crawler_protocol_telnet.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/telnet" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type TelnetHeahthCrawler struct { diff --git a/health_crawler/wmi_protocol_crawler_go/wmi_protocol_crawler.go b/health_crawler/wmi_protocol_crawler_go/wmi_protocol_crawler.go index 1a2a378..ca5cf8d 100644 --- a/health_crawler/wmi_protocol_crawler_go/wmi_protocol_crawler.go +++ b/health_crawler/wmi_protocol_crawler_go/wmi_protocol_crawler.go @@ -4,7 +4,7 @@ import ( "encoding/json" "loafle.com/overflow/commons_go/matcher/wmi" "loafle.com/overflow/crawler_go" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type WMIHeahthCrawler struct { diff --git a/socket_health_crawler.go b/socket_health_crawler.go index ab9f44e..e5b52fb 100644 --- a/socket_health_crawler.go +++ b/socket_health_crawler.go @@ -6,7 +6,7 @@ import ( "loafle.com/overflow/commons_go/matcher/packet" "net" "loafle.com/overflow/commons_go/model/scaninfo" - "loafle.com/overflow/crawler_go/config" + config "loafle.com/overflow/agent_api/config_manager" ) type SocketHeahthCrawler struct {