amonagent icon indicating copy to clipboard operation
amonagent copied to clipboard

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

Open romanqs opened this issue 7 years ago • 0 comments

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

romanqs avatar Apr 25 '18 14:04 romanqs