List degraded disks via API
CompletedWe would like to integrate alerting with the Onapp platform, and as far as we can see, a call to list degraded integrated storage disks via the API is missing.
-
Official comment
Hello,
This feature was implemented in OnApp 5.5 Release
Please check
https://docs.onapp.com/is/diagnostics/diagnostics-api
This should allow to check the following values
- degraded_disks
- partial_memberlist_disks
- disks_with_no_stripe_replicas
- disks_with_no_redundancy
- partially_online_disks
- degraded_snapshots
- zombie_disks
- disks_with_inactive_cache
- disks_with_other_degradations
- partial_nodes
- inactive_nodes
- delayed_ping_nodes
- high_utilization_nodes
- out_of_space_nodes
- missing_drives
- extra_drives
- inactive_controllers
- unreferenced_nbds
- reused_nbds
- dangling_device_mappers
- smart_failures
- smart_warnings
- uniform_node_capacity
- uniform_node_structure
- disk_content_distribution
- local_read_performance_optimization
- inter_hypervisor_balance
- intra_hypervisor_balance
- virtual_machine_placement_optimization
- stale_cache_volumes
Comment actions -
Is this still not in the API 2 years later?
Anyway here is what we use to scrape some of the diagnostic data into InfluxDB: https://gist.github.com/alexzorin/fd3eaa64d0eaeb6968b8ad77cfe13e32
Please sign in to leave a comment.
Comments
3 comments