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

Latest Monit expects a status of node_exporter_ctl start #9

Open
protobuff3r opened this issue Jul 15, 2019 · 1 comment
Open

Latest Monit expects a status of node_exporter_ctl start #9

protobuff3r opened this issue Jul 15, 2019 · 1 comment

Comments

@protobuff3r
Copy link

I created a new Stemcell with Ubuntu 16.04 and the latest Monit Version 5.26.0.

Monit start the node_exporter_ctl and after 30 seconds by default generated a restart loop.
The problem is the "exec node_exporter" running in foreground and don't send a status back to Monit.

What is here the best practice to handle this?

I removed line 72: echo $$ > ${PIDFILE}
and added to end of exec: & echo $! >$PIDFILE

This works, but would rather use this offical Repo as source instead of forking

@benjaminguttmann-avtq
Copy link
Contributor

@protobuff3r is this still an issue? I think we are meanwhile using Ubuntu Jammy and I am not aware of any issues due to monit as of now

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

No branches or pull requests

2 participants