All Projects → cirocosta → dmesg_exporter

cirocosta / dmesg_exporter

Licence: MIT license
A "dmesg" prometheus exporter - metrics from the kernel messages ring buffer

Programming Languages

go
31211 projects - #10 most used programming language
Smarty
1635 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to dmesg exporter

libproc-rs
A rust library for getting information about running processes for Mac and Linux
Stars: ✭ 33 (-23.26%)
Mutual labels:  dmesg
kernel-syslog
📝 Kernel module that can be used as a replacement for syslog, logger or logwrapper
Stars: ✭ 37 (-13.95%)
Mutual labels:  dmesg

dmesg_exporter

A Prometheus exporter that collects metrics from the kernel messages ring buffer.

Usage

  dmesg_exporter [OPTIONS] start [start-OPTIONS]

Help Options:
  -h, --help         Show this help message

[start command options]
          --path=    path to serve metrics (default: /metrics)
          --address= address to listen for prometheus scraping (default: :9000)
      -t, --tail     whether the reader should seek to the end

Sample metrics

dmesg_logs{facility="daemon",priority="info"} 10
dmesg_logs{facility="kern",priority="debug"} 69
dmesg_logs{facility="kern",priority="err"} 4
dmesg_logs{facility="kern",priority="info"} 380
dmesg_logs{facility="kern",priority="notice"} 47
dmesg_logs{facility="kern",priority="warning"} 38
dmesg_logs{facility="syslog",priority="info"} 1
dmesg_logs{facility="user",priority="warning"} 4

Installation

Using Go:

go get github.com/cirocosta/dmesg_exporter

Container image:

docker pull cirocosta/dmesg_exporter

LICENSE

MIT - See ./LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].