-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
Host operating system: output of uname -a
Linux vbox-4 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
node_exporter version: output of node_exporter --version
Issue version:
node_exporter, version 0.15.0 (branch: HEAD, revision: 6e2053c557f96efb63aef3691f15335a70baaffd)
build user: root@168089f37ad9
build date: 20171006-11:33:58
go version: go1.9.1
Working version:
node_exporter, version 0.15.0 (branch: master, revision: 0eecaa9547af380667a6e83cc3cebc224525e7f5)
build user: tanj@thinkpad
build date: 20171030-12:42:06
go version: go1.9.1
node_exporter command line flags
/opt/node_exporter/bin/node_exporter --collector.textfile.directory /opt/node_exporter/textfile_collector --collector.diskstats.ignored-devices '^(ram|dm|rootfs|loop|fd|(h|s|v|xv)d[a-z]|nvme\d+n\d+p)\d+$' --collector.filesystem.ignored-fs-types '^(sys|proc|rootfs|rpc_pipefs|tmpfs)fs$' --web.listen-address :9100 --web.telemetry-path '/metrics'
Are you running node_exporter in Docker?
No.
What did you do that produced an error?
When I use the linux-amd64 binary downloaded on Github, non-existent mountpoints (/tmp and /var/tmp) appear in my filesystem metrics:
# TYPE node_filesystem_avail gauge
node_filesystem_avail{device="/dev/md1",fstype="ext3",mountpoint="/boot"} 4.48186368e+08
node_filesystem_avail{device="/dev/md2",fstype="ext4",mountpoint="/"} 2.691158016e+10
node_filesystem_avail{device="/dev/md2",fstype="ext4",mountpoint="/tmp"} 2.691158016e+10
node_filesystem_avail{device="/dev/md2",fstype="ext4",mountpoint="/var/tmp"} 2.691158016e+10
node_filesystem_avail{device="rootfs",fstype="rootfs",mountpoint="/"} 2.691158016e+10
node_filesystem_avail{device="tmpfs",fstype="tmpfs",mountpoint="/run"} 1.2169715712e+10
node_filesystem_avail{device="tmpfs",fstype="tmpfs",mountpoint="/run/lock"} 5.24288e+06
If I compile the binary on my workstation using make and run it on the server, it works fine:
# TYPE node_filesystem_avail gauge
node_filesystem_avail{device="/dev/md1",fstype="ext3",mountpoint="/boot"} 4.48186368e+08
node_filesystem_avail{device="/dev/md2",fstype="ext4",mountpoint="/"} 2.6911551488e+10
node_filesystem_avail{device="rootfs",fstype="rootfs",mountpoint="/"} 2.6911551488e+10
node_filesystem_avail{device="tmpfs",fstype="tmpfs",mountpoint="/run"} 1.2169719808e+10
node_filesystem_avail{device="tmpfs",fstype="tmpfs",mountpoint="/run/lock"} 5.24288e+06
node_filesystem_avail{device="tmpfs",fstype="tmpfs",mountpoint="/run/user/0"} 6.75203072e+09
In addition, with my compiled binary, I get the following error:
ERRO[0009] error gathering metrics: [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values
source="<autogenerated>:1"
Metadata
Metadata
Assignees
Labels
No labels