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

Realtime monitoring page #756

Closed
26 of 27 tasks
gsanchietti opened this issue Sep 12, 2024 · 6 comments
Closed
26 of 27 tasks

Realtime monitoring page #756

gsanchietti opened this issue Sep 12, 2024 · 6 comments
Assignees
Labels
verified All test cases were verified successfully

Comments

@gsanchietti
Copy link
Member

gsanchietti commented Sep 12, 2024

Description:
Create a comprehensive dashboard for NethSecurity monitoring with the following sections.
The page displays available data from today, some charts may have traffic relative only to a limited number of hours.

  1. Traffic
    • Real-time display at the top:
      • Total daily traffic (counter)
      • Daily traffic graph (histogram)
    • Daily traffic graphs (also with tables?):
      • By protocol
      • By app
      • Remote hosts
      • Local hosts

A detail for each host will be developed on a next iteration.

  1. Connectivity

    • List of WAN connections:
      • Name
      • Device
      • Status (UP/DOWN)
    • Last 30-60 minutes of traffic graph for each WAN (histogram, from netdata)
    • List of wan connect/disconnect events
  2. VPN

    • For each RW server:

      • Number of users present on the server
      • Number of connected users
    • RW DETAILS (for each RW server, currently only one):

      • Currently connected users and start time
      • Number of connected clients per hour: ovpnrw-count-clients-by-hour method
      • Total client traffic per hour: ovpnrw-bytes-by-hour method
      • Traffic per client per hour: ovpnrw-bytes-by-hour-and-user method
    • General : Net to Net section

      • Number of enabled tunnels (counter)
      • Number of connected tunnels (counter)
      • Configured tunnels list with name, status, type (openvpn, ipsec, wg)
    • For each Net to NET tunnel:

      • Last 30-60 minutes of traffic graph (from netdata)
  3. Security

    • Total number of blocked packets for the day: malware_count field
    • Number of blocked packets per hour: malware_by_hour field
    • Pie chart: malware by direction (in/out): malware_by_chain field
    • Pie chart: malware by category: malware_by_category field
    • Number of blocked IPs per day: attack_count field
    • List of most blocked IPs: attack_by_ip field
    • Graph of blocked IPs per hour: attack_by_hour field

Documentation:

  • expand exisiting monitoring chapter and the describe the realtime monitoring
@Tbaile
Copy link
Contributor

Tbaile commented Sep 26, 2024

Remember to update ns-api to 2.0.0 and set the requiredApiVersion in the ui to ~2.0.0

gsanchietti added a commit that referenced this issue Sep 26, 2024
Monitoring APIs for realtime and historical data

#756 
#754
gsanchietti added a commit that referenced this issue Sep 26, 2024
…s-to-talkers-api

Realtime monitoring: instant ranking

#756

This comment was marked as outdated.

@github-actions github-actions bot added the testing Packages are available from testing repositories label Sep 26, 2024
@andre8244
Copy link
Collaborator

andre8244 commented Sep 26, 2024

Testing image

23.05.5-ns.1.2.99-alpha1-49-gd35f90fee2

Test case 1 - Unit not linked to a Controller

  • Ensure Monitoring section works as expected
  • Ensure Open Netdata button works as expected
  • Ensure View all on Grafana button is disabled

Test case 2 - Unit linked to a Controller

  • Ensure View all on Grafana button opens the Controller charts (https://CONTROLLER_FQDN/grafana)

@gsanchietti
Copy link
Member Author

Test case 2 verified

@andre8244
Copy link
Collaborator

Updated testing image: 23.05.5-ns.1.2.99-alpha1-49-gd35f90fee2

@Tbaile
Copy link
Contributor

Tbaile commented Oct 8, 2024

Case 1 and 2 verified again using latest build.

@Tbaile Tbaile added the verified All test cases were verified successfully label Oct 8, 2024
@gsanchietti gsanchietti removed the testing Packages are available from testing repositories label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Archived in project
Development

No branches or pull requests

3 participants