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

Amonagent failing to restart / monitoring within RedHat / Fedora with systemd #30

Open
romanqs opened this issue Apr 25, 2018 · 0 comments

Comments

@romanqs
Copy link

romanqs commented Apr 25, 2018

Seems that at some point, whenever systemd evolved - it now able to follow up by himself over pid files.
And old start line of service that looks like
ExecStart=/usr/bin/amonagent -pidfile /var/run/amonagent/amonagent.pid
making amon to respawn multiple times in endless loop - and then to fail, when systemd decides that service is dead.

Changing service file to have this lines
ExecStart=/usr/bin/amonagent
PIDFile=/var/run/amonagent/amonagent.pid
brings up normal monitoring for systemd and single spawn of trackable service.

This seems to be happen only with newer version of amon >0.7.5 and Fedora 23 and up

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