-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eror with --collectors.enabled with more than 9 metrics/options #673
Comments
The |
@SuperQ my branch revision is different than yours please see my ouptput node_exporter --collectors.print
|
Ahh, I see, you're building from source. Sorry, I missed that. This may be an artifact of the switch to kingpin flags. We're eliminating the collectors list flag and switching to boolean flags per collector. See: #640 |
I don't see any errors in the output you shared. What exactly is going wrong? |
@brian-brazil The |
That's not the full log, just the last 10 lines. |
Ahh, right, @jcmartins please provide the full log output with |
Now that 0.15 has been released and these flags have been revamped, is this issue still valid? |
Closing since I'm pretty sure this was taken care of with the flag revamp. Feel free to re-open if needed. |
systemctl status node_exporter.service -l
● node_exporter.service - Prometheus Node_Exporter
Loaded: loaded (/usr/lib/systemd/system/node_exporter.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-09-06 11:58:57 UTC; 1s ago
Main PID: 12106 (node_exporter)
Memory: 1.4M
CGroup: /system.slice/node_exporter.service
└─12106 /opt/node_exporter/node_exporter --web.listen-address=:9100 --collectors.enabled=cpu,stat,diskstats,filesystem,loadavg,meminfo,uname,nfs,netdev,time
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - time" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - uname" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - netdev" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - cpu" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - stat" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - diskstats" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - filesystem" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - loadavg" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg=" - meminfo" source="node_exporter.go:159"
Sep 06 11:58:57 prometheus.localdomain node_exporter[12106]: time="2017-09-06T11:58:57Z" level=info msg="Listening on :9100" source="node_exporter.go:183"
###uname -a
Linux prometheus.localdomain 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
###node_exporter --version
node_exporter, version 0.14.0 (branch: master, revision: abb58a3)
build user: vrx_jmartins@ni-77000-0
build date: 20170905-14:07:23
go version: go1.9
make
node_exporter command line flags
I'm run int by systemd: cat /usr/lib/systemd/system/node_exporter.service
[Unit]
Description=Prometheus Node_Exporter
[Service]
Type=simple
ExecStart=/opt/node_exporter/node_exporter --web.listen-address=:9100 --collectors.enabled=cpu,stat,diskstats,filesystem,loadavg,meminfo,uname,nfs,netdev,time
[Install]
WantedBy=default.target
Are you running node_exporter in Docker?
Not in docker....
Direct in CentOS 7 with the lastest updates...
What did you do that produced an error?
Run
systemctl stop node_exporter.service
systemctl start node_exporter.service
systemctl status node_exporter.service -l
and run again
systemctl stop node_exporter.service
systemctl start node_exporter.service
systemctl status node_exporter.service -l
What did you expect to see?
I expected to see all my 10 metrics/options in
--collectors.enabled=cpu,stat,diskstats,filesystem,loadavg,meminfo,uname,nfs,netdev,time
What did you see instead?
I see only 9 metrics/options and it's "randon" (not the same all time)
The text was updated successfully, but these errors were encountered: