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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant