Skip to content

Latest Monit expects a status of node_exporter_ctl start #9

@protobuff3r

Description

@protobuff3r

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions