psd

module
v0.0.0-...-45ad404 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: AGPL-3.0

README

Prometheus Service Discovery

internal etke.cc service, not usable for any other purposes.

API

openapi.yml

job: node

Returns single target for prometheus node exporter

job: http

Returns all http endpoints that should be checked using prometheus blackbox exporter

job: dns

Returns all domains (and subdomains) that should point to the target server IP

job: ports:tcp

Returns all tcp ports that should be open

job: ports:udp

Returns all udp ports that should be open

Config

env:

  • PSD_PORT - http port, default 8080
  • PSD_PATH - path to inventory
  • PSD_LOGLEVEL - log level, default info
  • PSD_SENTRY - sentry dsn
  • PSD_AUTH_SINGLE_LOGIN - basic auth login (single-host results only)
  • PSD_AUTH_SINGLE_PASSWORD - basic auth password (single-host results only)
  • PSD_AUTH_SINGLE_IPS - list of allowed IPs (single-host results only)
  • PSD_AUTH_MULTI_LOGIN - basic auth login (multi-host results only)
  • PSD_AUTH_MULTI_PASSWORD - basic auth password (multi-host results only)
  • PSD_AUTH_MULTI_IPS - list of allowed IPs (multi-host results only)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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