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

NethSecurity Controller: add monitoring feature #7035

Open
6 of 8 tasks
gsanchietti opened this issue Sep 24, 2024 · 1 comment
Open
6 of 8 tasks

NethSecurity Controller: add monitoring feature #7035

gsanchietti opened this issue Sep 24, 2024 · 1 comment
Assignees

Comments

@gsanchietti
Copy link
Member

gsanchietti commented Sep 24, 2024

Update the NethSecurity Controller application to add the monitoring feature.

Required changes:

  • update to latest controller release
  • add Timescale database to store report data:
    • the database dump must be added to the backup
    • the database is accessed in write mode only from the API server
    • the database is access in read only mode from Grafana
  • add MaxMind license for the API server: the license should be configurable using the UI
  • apply retention also to Timescale database
  • update Grafana to 11.2.0 (required to make work the render plugin on a subpath)
  • update existing module installations to include a new port for Timescale, requires: New ports allocation system ns8-core#699
  • expand documentation page

See related issues:

@gsanchietti
Copy link
Member Author

Test case 1

  • Install a new instance of the controller: add-module ghcr.io/nethserver/nethsecurity-controller:latest
  • Access the module UI and configure it , including the new Max Mind license field
  • Save the configuration
  • Verify the controller is accessible and units can be registered
  • Follow the unit test case

Test case 2 (ON HOLD)

  • Update an existing instance where there is at least one unit connected: api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/nethsecurity-controller:latest","instances":["nethsecurity-controller1"],"force":true}'
  • Verify the units still reconnect after the upgrade
  • Check the timescale database is running: runagent -m nethsecurity-controller8 podman ps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress 🛠
Status: In progress
Development

No branches or pull requests

1 participant