Simple monitoring solution
Go to file
2024-05-27 20:03:25 +02:00
notification View datapoint values 2024-05-05 21:06:31 +02:00
sql Added groups for datapoints 2024-05-20 19:40:19 +02:00
static Small UI fix 2024-05-23 10:16:21 +02:00
views Updated menu UI 2024-05-22 07:49:50 +02:00
.gitignore Initial commit 2024-04-29 08:36:13 +02:00
area.go Fixed problems with empty tables, bumped to v4 2024-05-01 21:44:53 +02:00
config.go Initial commit 2024-04-29 08:36:13 +02:00
datapoint.go Added groups for datapoints 2024-05-20 19:40:19 +02:00
go.mod Updated webservice dep 2024-05-22 07:59:33 +02:00
go.sum Initial commit 2024-04-29 08:36:13 +02:00
main.go Added problem state in notification 2024-05-27 20:03:25 +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 Adding datapoints to triggers 2024-05-01 10:02:33 +02:00
problem.go View datapoint values 2024-05-05 21:06:31 +02:00
README.md Update README.md 2024-05-01 20:39:55 +00:00
section.go Implemented adding/renaming of areas and sections 2024-05-01 21:02:45 +02:00
trigger.go Fixed problems with empty tables, bumped to v4 2024-05-01 21:44:53 +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

Data from systems to datapoints

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