cirocosta / dmesg_exporter

A "dmesg" prometheus exporter - metrics from the kernel messages ring buffer
https://ops.tips
MIT License
54 stars 6 forks source link

404 page not found #3

Open liuzhen opened 3 years ago

liuzhen commented 3 years ago

Hello,

docker run --net=host --privileged -d -v /dev/kmsg:/dev/kmsg private-registry/dmesg_exporter:latest start --address=":9008"

ss -lntp |grep 9008
LISTEN     0      65535        *:9008                     *:*                   users:(("dmesg_exporter",pid=586499,fd=5))

curl localhost:9008/metrics
404 page not found

`docker logs` outputs nothing.

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Troubleshooting?

mmagdy88 commented 3 years ago

I guess he abandoned the project, even if you bypass this error, you will find tons of other errors.

smarakdas314 commented 10 months ago

I expected default is set, but I think it is not, so set --path

./dmesg_exporter start --path=/metrics --address=":8717" --tail
smarakdas314 commented 10 months ago

@mmagdy88 what kind of other errors, do you know of any alternative dmesg prometheus exporters ?