Werk #19872 · Apr 28, 26
prism_protection_domains: tolerate Async DR protection domains without usage statistics
When a Nutanix Prism async data-protection domain returned by the Prism API did not contain a "usage_stats" entry (observed on freshly created protection domains that had not produced any snapshots yet), the "NTNX Data Protection" service went UNKNOWN with "KeyError: 'usage_stats'".
The check now tolerates missing usage statistics and reports an exclusive snapshot usage of 0 bytes for those protection domains. Replication bandwidth metrics are also only emitted when the corresponding values are present in the section.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p1All Editions
- 2.4.0p29All Editions