Open jrossi opened 10 years ago
Refusing to start when a configuration file is wrong makes more sense to me. There's a better chance that the appropriate admin will see it and fix it.
Note: This comment has been automatically migrated from Bitbucket Created by ddpbsd on 2012-10-11 18:42:34+00:00
I agree that a failure could be a good option for the manager. I am thinking of a situation with the agents in which they refuse to restart because of a bad agent.conf. With 500 or 1,000 agents, this could lead to a situation where they all stop working with no way to get them a correct agent.conf except for some ad-hoc out-of-band method.
Note: This comment has been automatically migrated from Bitbucket Created by mstarks01 on 2012-10-12 00:29:21+00:00
A mistake in agent.conf can cause ossec to not restart properly. In this case, ossec should attempt to fall back to ossec.conf or use a previous agent.conf, and log an informational message.
Note: This issue has been automatically migrated from Bitbucket Created by mstarks01 on 2012-09-01 21:26:18+00:00