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

feat: Added pba_per_ip return for ippool to differentiate between ippool types #267

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

33Fraise33
Copy link
Contributor

Hello,

a while ago I added the ippool probe to the exporter. While using this we noticed that it is hard to see if an ip pool is exhausted if you are mix and matching one-to-one and pba ip pools.
Unfortunately the api does not return the ippool type but it does return the amount of pba_per_ip which is 1 for a one-to-one and x for port-block-allocation. This way we can kind of differentiate the types being in use and we can create reasonable alerts:
fortigate_ippool_available_ratio < 0.2 and fortigate_ippool_pba_per_ip != 1

Also it seems like overload ippools are not being returned by the API (which I have just noticed now).

@bluecmd
Copy link
Owner

bluecmd commented Jan 4, 2024

Can you add it to the README as well? Thanks!

@33Fraise33
Copy link
Contributor Author

Can you add it to the README as well? Thanks!

done!

@bluecmd bluecmd merged commit 492984d into bluecmd:master Jan 4, 2024
3 checks passed
@bluecmd
Copy link
Owner

bluecmd commented Jan 4, 2024

🎉 This PR is included in version 1.24.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants