Network Time App
The Amahi Network Time app modifies the ntpd.service file to add the following after $OPTIONS:
When the OS updates ntpd, it overwrites the ntpd.service file, losing this modification.
Monit is used to monitor this application, so when the modification is lost there is no pid file generated. The result is monit thinks the app is stopped and repeatedly tries to restart it. This also generates numerous monit.log file entries.
On possible solution would be to beef up the server feature (monit) in Amahi to include an option to show if monitoring is enabled or disabled. There is text that can be added to the ntpd.conf file to see the problem with starting and disable monitoring of the service. For example, adding the following would disable monitoring:
if 3 restarts within 5 cycles then unmonitor
Adding this capability would strengthen the watchdog feature and minimize these types of issues. The Monit Service Manager application currently has this capability.
The alternative and quicker solution is to not use the server feature for the ntpd app.
Also available in: Atom