updates for freebsd

This commit is contained in:
redanthrax 2022-07-05 09:59:13 -07:00
parent be0ea6b544
commit c27763aed3
10 changed files with 298 additions and 66 deletions

View file

@ -27,11 +27,11 @@ import (
"time"
rmm "github.com/amidaware/rmmagent/shared"
ps "github.com/elastic/go-sysinfo"
gocmd "github.com/go-cmd/cmd"
"github.com/go-resty/resty/v2"
"github.com/kardianos/service"
nats "github.com/nats-io/nats.go"
ps "github.com/redanthrax/go-sysinfo"
"github.com/shirou/gopsutil/v3/cpu"
"github.com/sirupsen/logrus"
trmm "github.com/wh1te909/trmm-shared"
@ -115,7 +115,7 @@ func New(logger *logrus.Logger, version string) *Agent {
}
if ac.NatsProxyPort == "" {
natsProxyPort = "443"
natsProxyPort = "8000"
}
// check if using nats standard tcp, otherwise use nats websockets by default