This commit is contained in:
geek 2018-07-05 19:07:09 +09:00
parent 7be3d472b2
commit f936b592da
22 changed files with 107 additions and 107 deletions

4
Gopkg.lock generated
View File

@ -111,7 +111,7 @@
"model/sensorconfig", "model/sensorconfig",
"service/probe" "service/probe"
] ]
revision = "e2c0324eb632822050f3d0379ddd1a13c2aac2b1" revision = "7b089c913a281a3286b3c72456e3aab67f402720"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -121,7 +121,7 @@
"client", "client",
"service" "service"
] ]
revision = "519e96beeaa6dab24c42d87f4555906336f902fb" revision = "99dfb7ad78c9ff2b86e0ddb4e8817e6d471c92db"
[[projects]] [[projects]]
branch = "master" branch = "master"

View File

@ -24,11 +24,11 @@ func (c *ActiveDirectoryHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *ActiveDirectoryHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *ActiveDirectoryHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *CassandraHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *CassandraHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *CassandraHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *FTPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *FTPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *FTPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *HTTPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *HTTPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *HTTPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *IMAPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *IMAPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *IMAPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *LDAPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *LDAPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *LDAPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *MongoDBHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *MongoDBHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *MongoDBHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *MySQLHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *MySQLHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *MySQLHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *NetBIOSHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *NetBIOSHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *NetBIOSHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *OracleHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *OracleHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *OracleHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *POPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *POPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *POPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *PostgreSQLHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *PostgreSQLHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *PostgreSQLHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *RedisHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *RedisHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *RedisHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *RMIHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *RMIHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *RMIHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *SMBHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *SMBHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *SMBHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *SMTPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *SMTPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *SMTPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *SNMPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *SNMPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *SNMPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *SNMPHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *SNMPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *SNMPHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *SQLServerHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *SQLServerHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *SQLServerHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *TelnetHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *TelnetHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *TelnetHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {

View File

@ -24,11 +24,11 @@ func (c *WMIHealthCrawler) Auth(auth map[string]interface{}) error {
} }
func (c *WMIHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) { func (c *WMIHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config) //rss, err := c.CheckHealth(config)
if err != nil { //if err != nil {
return nil, err // return nil, err
} //}
return rss, nil return nil, nil
} }
func NewCrawler() crawler.Crawler { func NewCrawler() crawler.Crawler {