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

Possibility to easily update agents via GUI #196

Closed
mvdberge opened this issue Jun 14, 2024 · 2 comments
Closed

Possibility to easily update agents via GUI #196

mvdberge opened this issue Jun 14, 2024 · 2 comments

Comments

@mvdberge
Copy link

Is your feature request related to a problem? Please describe.

After you implemented the update checker (thanks! 🙌) it's a logical next step to

  1. inform the user when an agent is outdated
  2. provide a function to directly remote-update that/all agent(s)

Describe the solution you'd like

  1. Add a logic to check for outdated agents
  2. Show the outdated agents, maybe directly in the agent overview table and on the individual agent tab
    grafik
  3. Provide a button to directly remote-update that agent
  4. Maybe provide a button to mass-update all outdated agents

Describe alternatives you've considered

I wrote a very simple bash script to remote-update all agents at once, maybe that explains what I'm wishing to be included in the GUI.

#!/bin/bash
outdated_agents=$(/var/ossec/bin/agent_upgrade -l|awk '/^[0-9]+/ {print $1}')
for agent in ${outdated_agents}
do
    echo "Updating agent ${agent}"
    /var/ossec/bin/agent_upgrade -a ${agent}
done
@LuXc-NL
Copy link

LuXc-NL commented Jun 17, 2024

+1

@Tostti
Copy link
Member

Tostti commented Sep 2, 2024

Hi, apologies for the late response.

The feature will be added in version 4.9.0, which will be released soon.

You can see more information in

@Tostti Tostti closed this as completed Sep 2, 2024
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

3 participants