Simple monitoring solution
Go to file
2024-06-25 09:04:56 +02:00
notification Added script notification 2024-06-02 10:59:06 +02:00
sql Theming support 2024-06-25 08:59:07 +02:00
static Fixed icons for default light theme in datapoints page 2024-06-25 09:04:56 +02:00
views Fixed icons for default light theme in datapoints page 2024-06-25 09:04:56 +02:00
.gitignore Initial commit 2024-04-29 08:36:13 +02:00
area.go Added area deletion 2024-06-02 09:17:50 +02:00
config.go Configurable interval for nodata checks 2024-05-30 13:31:51 +02:00
configuration.go Theming support 2024-06-25 08:59:07 +02:00
datapoint.go #3, added datapoint comment 2024-06-24 11:18:51 +02:00
go.mod nodata ui changes 2024-05-25 15:00:01 +02:00
go.sum nodata ui changes 2024-05-25 15:00:01 +02:00
main.go Theming support 2024-06-25 08:59:07 +02:00
nodata.go Configurable interval for nodata checks 2024-05-30 13:31:51 +02:00
notification_log.go View datapoint values 2024-05-05 21:06:31 +02:00
notification_manager.go Nicer notification manager initialization 2024-05-05 10:12:21 +02:00
page.go Theming support 2024-06-25 08:59:07 +02:00
problem.go Show NODATA problems in UI 2024-05-28 07:23:27 +02:00
README.md Updated config example 2024-05-30 17:22:38 +02:00
section.go Added area deletion 2024-06-02 09:17:50 +02:00
trigger.go Added trigger deletion 2024-06-01 09:18:56 +02:00

Quick start

  1. Create an empty database
  2. Create the configuration file (default ~/.config/smon.yaml)
  3. Run ./smon (will create the database schema)

Configuration

network:
  address: "[::]"
  port: 9000

websocket:
  domains:
    - localhost
    - smon.example.com

database:
  host: localhost
  port: 5432
  name: smon
  username: smon
  password: you_wish

session:
  daysvalid: 31

application:
  logfile: /var/log/smon.log
  nodata_interval: 60

Data from systems to datapoints

curl -d "$(time +'%F %T +02')" http://localhost:9000/entry/datapoint_name