sysmon/server
Mark Nellemann 55848ee590
continuous-integration/drone/push Build is passing Details
Update 3rd party build dependencies.
2023-06-07 07:48:58 +02:00
..
doc Various small changes. 2022-11-07 17:44:14 +01:00
src Set ID of routes and fix bug when no configuration file is found. 2023-01-22 11:07:15 +01:00
README.md Update dashboards and README's 2022-10-28 17:10:22 +02:00
build.gradle Update 3rd party build dependencies. 2023-06-07 07:48:58 +02:00

README.md

Server

This is the server component of sysmon.

Installation

Download .deb or .rpm package and install.

See the doc/systemd.md or doc/sysv-init.md files for further instructions on running as a system service.

Influx Database

Create a database for the metrics and adjust duration as you prefer:

CREATE DATABASE "sysmon" WITH DURATION 90d REPLICATION 1;

Development

Build & Test

Use the gradle build tool, which will download all required dependencies:

./gradlew clean build

Local Testing

InfluxDB container

Start the InfluxDB container:

docker run --name=influxdb --rm -d -p 8086:8086 influxdb:1.8-alpine

To execute the Influx client from within the container:

docker exec -it influxdb influx

Grafana container

Start the Grafana container, linking it to the InfluxDB container:

docker run --name grafana --link influxdb:influxdb --rm -d -p 3000:3000 grafana/grafana:7.1.3

Setup Grafana to connect to the InfluxDB container by defining a new datasource on URL http://influxdb:8086 named sysmon.