Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

fix: update schema and path for managed switch and call /port-stats endpoint to get additional metrics #290

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hexionas
Copy link

@hexionas hexionas commented May 29, 2024

Created a patch file with these changes before building the binary and running it in Docker on our own setup. This is needed after v7.2.

We were able to see metrics from our fortigates:
image

@bluecmd
@secustor

@hexionas
Copy link
Author

Actually, we have just found out that a lot of the expected port related metrics are missing. After some further investigation it seems that the PortStats is now derived from hitting the api/v2/monitor/switch-controller/managed-switch/port-stats endpoint as well as the api/v2/monitor/switch-controller/managed-switch/status endpoint and combining the results. I will take a look when I get a chance to get this to work and make the necessary changes.

@hexionas hexionas changed the title fix: update schema and path for managed switch fix: update schema and path for managed switch and call /port-stats endpoint to get additional metrics Jun 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant