-
Notifications
You must be signed in to change notification settings - Fork 284
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
If statement added when $total == 0 #5141
Conversation
Hi, fix is ok for me (OK: All storage pools are ok) |
PR followed by #5305 |
Hello, |
Hello @sdouce This enhancement was added in the December release (see release note) with this PR #5305 |
Hi Lucie , This one contains /usr/lib/centreon/plugins/centreon_commvault_commserve_restapi.pl and divided by zero still there |
Hi @sdouce can you try again after On a Alma8 server I get this:
|
Ok with the centreon standard repo. |
Community contributors
Description
There are cases when storage-pools with
totalCapacity
property equal to"0"
. For example, Casette Tape Backup Libraries:Type of change
How this pull request can be tested ?
Just executing the plugin against a CommServe API when StoragePools with
totalCapacity
property equal to"0"
.Without the fix, the return string will be:
Checklist