User Tools

Site Tools


prometheus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
prometheus [2025/09/09 09:22] – [snmp exporter] ssm2017prometheus [2025/09/09 09:33] (current) – [rpi temperature] ssm2017
Line 3048: Line 3048:
 <sxh> <sxh>
    --collector.textfile.directory string   If set, will source metrics via text files in this directory, one per file.    --collector.textfile.directory string   If set, will source metrics via text files in this directory, one per file.
 +</sxh>
 +then
 +<sxh bash>
 +systemctl daemon-reexec
 </sxh> </sxh>
  
Line 3082: Line 3086:
 </sxh> </sxh>
  
-⚠️ Run as root or a user with access to `/sys/class/thermal/thermal_zone0/temp`.+⚠️ Run as root or a user with access to '/sys/class/thermal/thermal_zone0/temp'.
  
 === ✅ Prometheus Metric === === ✅ Prometheus Metric ===
  
-After setup, the metric will be available at your `node_exportermetrics endpoint (usually `http://<pi-ip>:9100/metrics`) as:+After setup, the metric will be available at your 'node_exportermetrics endpoint (usually 'http://<pi-ip>:9100/metrics') as:
  
 <sxh> <sxh>
prometheus.1757402536.txt.gz · Last modified: by ssm2017