Difference between revisions of "Textfile"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  
 
  cat /etc/default/prometheus-node-exporter | grep -v "#" | grep .
 
  cat /etc/default/prometheus-node-exporter | grep -v "#" | grep .
  ARGS="--collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$ \
+
  ARGS="[[--collector.diskstats.ignored-devices]]=^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$ \
 
       --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/) \
 
       --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/) \
 
       --collector.netdev.ignored-devices=^lo$ \
 
       --collector.netdev.ignored-devices=^lo$ \
 
       --collector.textfile.directory=/var/lib/prometheus/node-exporter"
 
       --collector.textfile.directory=/var/lib/prometheus/node-exporter"
  
 +
== See also ==
 +
* {{Prometheus}}
  
* {{Prometheus}}
+
[[Category:Prometheus]]

Latest revision as of 11:40, 24 January 2023

  • prometheus-node-exporter-collectors - Supplemental textfile collector scripts for Prometheus node_exporter


cat /etc/default/prometheus-node-exporter | grep -v "#" | grep .
ARGS="--collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$ \
     --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/) \
     --collector.netdev.ignored-devices=^lo$ \
     --collector.textfile.directory=/var/lib/prometheus/node-exporter"

See also[edit]

Advertising: