mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 09:04:10 -04:00
import path fixes
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/unpoller/unifi"
|
||||
"github.com/unpoller/webserver"
|
||||
"github.com/unpoller/unpoller/core/unifi"
|
||||
"github.com/unpoller/unpoller/core/webserver"
|
||||
)
|
||||
|
||||
/* Event collection. Events are also sent to the webserver for display. */
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/unpoller/poller"
|
||||
"github.com/unpoller/unifi"
|
||||
"github.com/unpoller/unpoller/core/poller"
|
||||
"github.com/unpoller/unpoller/core/unifi"
|
||||
)
|
||||
|
||||
var ErrScrapeFilterMatchFailed = fmt.Errorf("scrape filter match failed, and filter is not http URL")
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/unpoller/poller"
|
||||
"github.com/unpoller/unifi"
|
||||
"github.com/unpoller/unpoller/core/poller"
|
||||
"github.com/unpoller/unpoller/core/unifi"
|
||||
)
|
||||
|
||||
// PluginName is the name of this input plugin.
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/unpoller/poller"
|
||||
"github.com/unpoller/unifi"
|
||||
"github.com/unpoller/webserver"
|
||||
"github.com/unpoller/unpoller/core/poller"
|
||||
"github.com/unpoller/unpoller/core/unifi"
|
||||
"github.com/unpoller/unpoller/core/webserver"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/unpoller/unifi"
|
||||
"github.com/unpoller/webserver"
|
||||
"github.com/unpoller/unpoller/core/unifi"
|
||||
"github.com/unpoller/unpoller/core/webserver"
|
||||
)
|
||||
|
||||
/* This code reformats our data to be displayed on the built-in web interface. */
|
||||
|
||||
2
main.go
2
main.go
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/unpoller/unpoller/core/poller"
|
||||
// Load input plugins!
|
||||
_ "github.com/unpoller/inputunifi"
|
||||
_ "github.com/unpoller/integrations/inputunifi"
|
||||
// Load output plugins!
|
||||
_ "github.com/unpoller/integrations/datadogunifi"
|
||||
_ "github.com/unpoller/integrations/influxunifi"
|
||||
|
||||
Reference in New Issue
Block a user