jrossi / issue-migration-test

GNU General Public License v2.0
1 stars 0 forks source link

No restart needed when adding >2 agents to manage_agents #10

Open jrossi opened 10 years ago

jrossi commented 10 years ago

Upon exiting manage_agents after adding the second or further agent, it states:

\ You must restart the server for your changes to have effect.

This is only true for the first agent, not subsequent ones. I suggest the message read:

\ You must restart OSSEC for your changes to have effect.

This would avoid needless restarts of the server, itself, and the message should only appear if only one agent has been found in client.keys.

Note: This issue has been automatically migrated from Bitbucket Created by mstarks01 on 2012-08-26 15:41:58+00:00, last updated: 2012-10-01 23:35:07+00:00

jrossi commented 10 years ago

Text changed in rev. 1198bb0deb08 by Michael Starks.

To only show 'restart OSSEC' after adding the 1st agent, is yet to be fixed.

Note: This comment has been automatically migrated from Bitbucket Created by jbcheng on 2012-10-01 23:21:13+00:00, last updated: 2012-10-01 23:38:18+00:00

jrossi commented 10 years ago

My change does not actually address this issue. The issue is that the text should only be displayed if no agents have already been added to the system.

Note: This comment has been automatically migrated from Bitbucket Created by mstarks01 on 2012-10-01 23:36:00+00:00