Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
/ gmon Public archive

Small monitoring service with Gotify alerting.

License

Notifications You must be signed in to change notification settings

hamburghammer/gmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmon

Build Status

Analyse data from gsave and send a notification to Gotify.

Configuration

There are tow necessary configuration files for this service to work.

  • config.toml
  • rules.toml

It will look for this files inside the current directory. To specify another path use the --config and --rules arguments with the path and the file name.

config.toml

Example configuration:

# The interval in which it should check for new data.
interval = 1

# Configuration for the gsave endpoint.
[stats]
endpoint = "http://localhost:8080"
hostname = "foobar" # The hostname of the host you want to monitor.
token = "foo"

# Configuration for the gotify notification endpoint.
[gotify]
endpoint = "http://localhost:80"
token = "AzCkehMSkHFlphf"

rules.toml

Example configuration:

[[CPU]]
Name = "Unexpected CPU usage"
Description = "More than 50% of CPU utilization"
Compare = ">"
Warning = 50.0
Alert = 100.0
Deactivated = false

[[Disk]]
Name = "Unexpected disk usage"
Description = "More than 50 GB of the disk are used"
Compare = ">"
Warning = 50000
Alert = 70000
Deactivated = true

[[RAM]]
Name = "Unexpected RAM usage"
Description = "More than 5 GB of the RAM are in use"
Compare = ">"
Warning = 5000
Alert = 7000
Deactivated = false

About

Small monitoring service with Gotify alerting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published