sysmon/server
Mark Nellemann 8b426931e7 Misc. small changes.
- Add os details from base (oshi)
- Add netstat from base (oshi)
- Update 3rd party dependencies
- Bump version
2021-12-05 21:17:16 +01:00
..
doc Some cleanup. 2021-09-10 21:58:14 +02:00
src Improve robustness, logging and example dashboards 2021-09-22 15:46:48 +02:00
build.gradle Misc. small changes. 2021-12-05 21:17:16 +01:00
README.md Refactored to support multiple measurements in a result. 2021-09-02 21:40:22 +02:00

Server

Server component.

Installation

TODO.

Influx Database

Create a database for the metrics:

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.