syspect

module
v0.0.0-...-d65b783 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2024 License: MIT

README

syspect - Linux eBPF Monitoring Daemon

Note: this is currently a side project so I can experiment with different libs. It should NOT be used in a production environment.

Build Status GPL-3.0 licensed

A Linux service that monitors systems via eBPF and exports data to Prometheus.

Usage

$ sudo syspect --help
Linux Monitoring Daemon

USAGE:
  syspect <COMMAND>

COMMANDS:
  install        Install default config and systemd service files
  start          Start the daemon and expose a local metrics HTTP endpoint
  events         List currently available Kernel trace events
  uninstall      Remove config and systemd service files

OPTIONS:
  -h, --help     Print command-specific usage
  -V, --version  Print version information
Config

The default config file is located at /etc/syspect.conf. A detailed example can be found here.

Docker

If you'd like to quickly get monitoring up and running, default Grafana and Prometheus configs have been included and can be ran using docker compose up from the project root dir. It assumes syspect is running on port 9091.

BPF

TODO: document included bpf probes.

Directories

Path Synopsis
pkg
bpf
cli
version
Package version exposes public constants used to configure service data at build time.
Package version exposes public constants used to configure service data at build time.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL