Ctor 1718 plugin app nutanix prism api plugin new plugin#6270
Open
psamecentreon wants to merge 27 commits into
Open
Ctor 1718 plugin app nutanix prism api plugin new plugin#6270psamecentreon wants to merge 27 commits into
psamecentreon wants to merge 27 commits into
Conversation
Adds a new plugin to monitor Nutanix infrastructure via the Prism v2.0 REST API. Modes: - cluster-status: cluster state and node count - hosts-usage: CPU/memory usage and VM count per AHV host - storage-usage: storage pool capacity/free/usage% - vms-count: total/on/off VM counts - list-hosts: discovery of physical hosts - list-vms: discovery of virtual machines https://claude.ai/code/session_01PXMdAKHbDqnPokz5BHWAQp
- disksstatus: monitor physical disk state (NORMAL/FAILED), online status, capacity, free space and usage% per disk with node/id filters - snapshots: monitor snapshot count (global + per VM) and oldest snapshot age per VM with human-readable output (days/hours/minutes) - vmsnics: monitor VM NIC connectivity status and network traffic (in/out) with filters by VM name, MAC address and network name - plugin.pm: register the 3 new modes - custom/api.pm: add get_disks(), get_snapshots() and get_vm_nics() methods https://claude.ai/code/session_01PXMdAKHbDqnPokz5BHWAQp
…s discovery New monitoring modes: - alerts: active alerts count by severity (critical/warning/info) with per-alert status check, age display and filters on severity/title/entity - capacity: cluster-wide CPU (cores, usage%), memory (used/total/%) and storage (used/free/total/%) aggregated from hosts and storage pools - health-checks: NCC health check results (pass/fail/warning/error counts) with per-check status and --only-failing option to reduce noise New discovery mode: - list-nics: VM NIC discovery with nic_id, mac, network, ip, connected fields; data extracted from vm_nics[] in the VM list (no extra API call) Also adds get_alerts() and get_health_checks() methods to custom/api.pm. https://claude.ai/code/session_01PXMdAKHbDqnPokz5BHWAQp
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.
Community contributors
Description
New plugin to monitor Nutanix Prism.
Modes Available:
Type of change
How this pull request can be tested ?
Nutanix offers a free edition: Nutanix CE (Community Edition).
*Prism Element included, API v2.0 available
*Hardware requirements: requires a compatible physical server (specific Intel network, not just any VM) — can also run in a nested VMware environment with a special configuration, but this is unstable
Suitable for a dedicated lab
It can also be checked in this way:
Nutanix offers temporary access to a real hosted cluster via Test Drive (nutanix.com/test-drive).
Checklist