Skip to content

[help] Presence chart doubling and event miss-match #1119

@jokob-sk

Description

@jokob-sk

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

  • Firefox
  • Chrome
  • Edge
  • Safari (unsupported) - PRs welcome
  • N/A - This is an issue with the backend

Current Behavior

The Presence page has at least 2 issues:

  1. Occasional bar line doubling
Image
  1. Unreasonable number of miss-mach events
Image

Yellow is a session miss-match. Not sure why this occurs frequently. Happy to accept a PR for someone to fix it.

Relevant code files:

https://github.com/jokob-sk/NetAlertX/blob/main/server/scan/session_events.py
https://github.com/jokob-sk/NetAlertX/blob/main/front/php/server/events.php

I'm a bit lost in code in here so if someone could help that would be awesome!

Thanks a lot ion advance,
j

Expected Behavior

One line bar, less session miss-match events

Steps To Reproduce

No response

app.conf

docker-compose.yml

What installation are you running?

Production (netalertx)

app.log

No response

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't workingnext release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions