go get -d -u github.com/cloudradar-monitoring/cagent
go build -o cagent -ldflags="-X github.com/cloudradar-monitoring/cagent.Version=$(git --git-dir=$GOPATH/src/github.com/cloudradar-monitoring/cagent/.git describe --always --long --dirty --tag)" github.com/cloudradar-monitoring/cagent/cmd/cagent
-r for one run only mode
./cagent -r -o result.out
Check the example config
Default locations:
* Mac OS: ~/.cagent/cagent.conf
* Windows: ./cagent.conf
* UNIX: /etc/cagent/cagent.conf
~/.cagent/cagent.log./cagent.log/var/log/cagent/cagent.log– Install goreleaser
make goreleaser-snapshot
Should be done on Windows machine
- Download go-msi and put it in the C:\Program Files\go-msi
- Open command prompt(cmd.exe or powershell)
- Go to cagent directory cd path_to_directory
- Run make goreleaser-snapshot to build binaries
- Run build-win.bat
Cagent uses <major>.<minor>.<buildnumber> version pattern for compatibility with a maximum number of package managers.
Starting from version 1.4.0 packages with even <minor> number are considered stable.
S.M.A.R.T how to
$ claude mcp add cagent \
-- python -m otcore.mcp_server <graph>