Skip to content

Instantly share code, notes, and snippets.

@9to6
Created February 12, 2020 05:36
Show Gist options
  • Save 9to6/6bb6db706debecf67e75651921ec4532 to your computer and use it in GitHub Desktop.
Save 9to6/6bb6db706debecf67e75651921ec4532 to your computer and use it in GitHub Desktop.
node exporter only enable Text Collect
#!/bin/bash
./node_exporter --web.disable-exporter-metrics --collector.textfile.directory "/home/9to6/tmp" \
--no-collector.arp \
--no-collector.bcache \
--no-collector.bonding \
--no-collector.buddyinfo \
--no-collector.cpu \
--no-collector.cpufreq \
--no-collector.cpu.info \
--no-collector.conntrack \
--no-collector.diskstats \
--no-collector.drbd \
--no-collector.edac \
--no-collector.entropy \
--no-collector.filefd \
--no-collector.filesystem \
--no-collector.hwmon \
--no-collector.infiniband \
--no-collector.interrupts \
--no-collector.ipvs \
--no-collector.ksmd \
--no-collector.loadavg \
--no-collector.logind \
--no-collector.mdadm \
--no-collector.meminfo \
--no-collector.meminfo_numa \
--no-collector.mountstats \
--no-collector.nfs \
--no-collector.nfsd \
--no-collector.netclass \
--no-collector.netdev \
--no-collector.netstat \
--no-collector.powersupplyclass \
--no-collector.pressure \
--no-collector.rapl \
--no-collector.qdisc \
--no-collector.runit \
--no-collector.schedstat \
--no-collector.sockstat \
--no-collector.softnet \
--no-collector.stat \
--no-collector.supervisord \
--no-collector.systemd \
--no-collector.tcpstat \
--no-collector.vmstat \
--no-collector.uname \
--no-collector.thermal_zone \
--no-collector.time \
--no-collector.timex \
--no-collector.wifi \
--no-collector.xfs \
--no-collector.zfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment