Skip to content

Open Source cross-platform monitoring agent

License

Notifications You must be signed in to change notification settings

openrport/cagent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to build from sources

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

How to run

-r for one run only mode

./cagent -r -o result.out

Configuration

Check the example config

Default locations:

  • Mac OS: ~/.cagent/cagent.conf
  • Windows: ./cagent.conf
  • UNIX: /etc/cagent/cagent.conf

Logs location

  • Mac OS: ~/.cagent/cagent.log
  • Windows: ./cagent.log
  • UNIX: /var/log/cagent/cagent.log

Build binaries and deb/rpm packages

– Install goreleaser

make goreleaser-snapshot

Build MSI package

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

Versioning model

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 monitoring documentation

S.M.A.R.T how to

About

Open Source cross-platform monitoring agent

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.5%
  • Shell 3.0%
  • Other 0.5%