Prometheus exporter exposing logged-in Unix users via utmp for active session monitoring.
313
This repository contains the Docker images for the Unix User Exporter, a lightweight Prometheus exporter that monitors currently logged-in users on Unix/Linux systems.
linux/amd64 - Intel/AMD 64-bit processorslinux/arm64 - 64-bit ARM processors (Raspberry Pi 4, Apple Silicon, AWS Graviton)linux/arm/v7 - 32-bit ARM processors (Raspberry Pi 3 and earlier)docker run -d \
--name unix-user-exporter \
-p 32142:32142 \
-v /var/run/utmp:/var/run/utmp:ro \
zerepl/unix-user-exporter:latest
latest - Latest stable releasev2.x.x - Specific version tagsmain - Development builds (not recommended for production)/var/run/utmp (read-only)version: '3.8'
services:
unix-user-exporter:
image: zerepl/unix-user-exporter:latest
ports:
- "32142:32142"
volumes:
- /var/run/utmp:/var/run/utmp:ro
restart: unless-stopped
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: unix-user-exporter
spec:
selector:
matchLabels:
app: unix-user-exporter
template:
metadata:
labels:
app: unix-user-exporter
spec:
containers:
- name: unix-user-exporter
image: zerepl/unix-user-exporter:latest
ports:
- containerPort: 32142
volumeMounts:
- name: utmp
mountPath: /var/run/utmp
readOnly: true
volumes:
- name: utmp
hostPath:
path: /var/run/utmp
Images are automatically built and published using GitHub Actions with multi-architecture support. Each release is tagged and includes security scanning.
Source Repository: https://github.com/zerepl/unix-user-exporter
Content type
Image
Digest
sha256:9e86897f2…
Size
9 MB
Last updated
12 months ago
docker pull zerepl/unix-user-exporter