caju

lightweight Linux monitoring application

Caju

Server and Endpoint Monitoring Application

Sample TOML config


[defaults]
alert.repeat = "yes" # repeat alert on each cycle
alert.groups = "all" # alert all configured groups
alert.users = "all"


[[filesystem]]
path = "root"
trig = [80,90,95]
alert.groups = "sysadmins"

[[filesystem]]
path = "/home"
trig = 90

[memory]
trig = [50,60,80]

[cpu]
trig = [90] # cpu usage above 90
loadavg.trig = 30 # load average above 30

[[script]]
path = "/home/user/script.sh" # custom shell script check (returns 2 values, shell output 1/0 and message, ie
# 0, "no issues"
# 1, "error, some error happened"


[[script]]
path = "/opt/check.sh" # more custom checks

Building

cd agent shards install

crystal build agent/src/agent.cr -o bin/agent

Repository

caju

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 4 days ago
  • August 29, 2023
License

Links
Synced at

Sun, 22 Dec 2024 20:52:46 GMT

Languages