Skip to content
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

prometheus-node-exporter does not start on ubuntu 14.04 #40

Open
yctn opened this issue Sep 24, 2019 · 0 comments
Open

prometheus-node-exporter does not start on ubuntu 14.04 #40

yctn opened this issue Sep 24, 2019 · 0 comments

Comments

@yctn
Copy link

yctn commented Sep 24, 2019

i changed the init file to the following. then it started again.

`description "Prometheus Node Exporter"
start on runlevel [2345]

respawn
setuid prometheus
setgid prometheus

script
exec >> "/var/log/prometheus/node-exporter.log"
exec 2>&1
exec /opt/prometheus/exporters/node_exporter_current/node_exporter --collector.conntrack --collector.cpu --collector.diskstats --collector.entropy --collector.filefd --collector.filesystem --collector.loadavg --collector.meminfo --collector.netdev --collector.netstat --collector.stat --collector.textfile --collector.time --collector.vmstat --collector.textfile.directory=/var/log/prometheus/textfile_collector --web.listen-address=0.0.0.0:9100 --log.level=info
end script
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant