enh(storage::dell::me4::restapi): Add tier distribution and page allocation metrics to volume-statistics mode#6292
Open
JackTor wants to merge 1 commit into
Conversation
feat(storage/dell/me4): add tier distribution and page allocation metrics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(storage/dell/me4): add tier distribution and page allocation metrics
Community contributors
Description
The current volume-statistics mode does not export tier distribution metrics that are already available in the /api/show/volume-statistics API response. This is a enhancement
New metrics added
Type of change
How this pull request can be tested ?
Monitor data tiering behavior per volume. Useful for capacity planning and detecting SSD tier saturation (hot data spilling to slower tiers).
If some information is confidential, such as logins or IP addresses, obfuscate them in what is sent
publicly and we'll get in touch with you by private message if this information is needed.
Testing
Tested on Dell PowerVault ME5084 (~300 volumes) with Centreon 25.10.14 Community Edition
Output example:
sudo -u centreon-engine /usr/lib/centreon/plugins/centreon-plugins/src/centreon_plugins.pl --plugin=storage::dell::me4::restapi::plugin --mode=volume-statistics --hostname=localhost --api-username=user--api-password=*** --port=443 --proto=https --insecure --digest-sha256 --filter-name='DISK_CLIENTE'
OK: All volumes statistics are ok | 'DISK_CLIENTE#volume.data.transfer.bytespersecond'=0B/s;;;0; 'DISK_CLIENTE#volume.iops.ops'=0ops;;;0; 'DISK_CLIENTE#volume.cache.write.usage.percentage'=0;;;0; 'DISK_CLIENTE#volume.tier.ssd.percentage'=11;;;0;100 'DISK_CLIENTE#volume.tier.archive.percentage'=88;;;0;100 'DISK_CLIENTE#volume.tier.sas.percentage'=0;;;0;100 'DISK_CLIENTE#volume.tier.rfc.percentage'=0;;;0;100 'DISK_CLIENTE#volume.pages.allocated.perminute'=0;;;0; 'DISK_CLIENTE#volume.pages.deallocated.perminute'=0;;;0;
Checklist