Hands-on task
The exporter hung and ignores TERM
Prometheus has stopped getting metrics: a request to http://localhost:9100/metrics hangs with no response. The exporter process on port 9100 is alive but stuck. Find it, stop it, and start the exporter again from /opt/exporter/start.sh in the background so that curl -m 3 http://localhost:9100/metrics serves metrics again.
- hung process
- ss -p
- SIGTERM and SIGKILL
- restarting a daemon
- curl -m