Introduction
Admins often need a quick overview of their Nutanix cluster each morning. Instead of logging into Prism, a Bash dashboard script can collect essential data, health, VM counts, storage use, and alerts, and consolidate it into a timestamped report. This article walks you through building a reliable CLI-driven Nutanix daily report.
My Personal Repository on GitHub
Diagram: Daily Dashboard Script Flow

What the Dashboard Includes
- Cluster name and version
- Cluster health state
- VM count and power status
- Total and used storage
- Active alerts
- Certificate expiration (optional)
Bash Script: nutanix_daily_dashboard.sh
#!/usr/bin/env bash
set -euo pipefail
report="/var/log/nutanix_daily_report_$(date +%F).log"
{
echo "======== Nutanix Daily Operations Dashboard ========"
echo "Generated: $(date)"
echo ""
echo "[Cluster Info]"
ncli cluster get-summary
echo ""
echo "[Health Check]"
ncli cluster get-health
echo ""
echo "[VM Inventory]"
total=$(ncli vm list | grep -c "^|")
powered_on=$(ncli vm list | grep -c "ON")
echo "Total VMs: $total | Powered On: $powered_on"
echo ""
echo "[Storage Usage]"
ncli container list
echo ""
echo "[Active Alerts]"
ncli alert list severity=critical categories=all
echo ""
} >> "$report"
echo "Report generated at $report"
Sample Output (Truncated)
======== Nutanix Daily Operations Dashboard ========
Generated: 2025-07-23
[Cluster Info]
Name: prod-cluster
Version: 6.5.x
[Health Check]
Overall Status: OK
[VM Inventory]
Total VMs: 58 | Powered On: 56
[Storage Usage]
Container: prod-container | Used: 18TB | Free: 4TB
[Active Alerts]
None
Schedule It
15 6 * * * /usr/local/bin/nutanix_daily_dashboard.sh
Runs every morning at 6:15 AM.
Optional Delivery
Email the report:
mailx -s "Nutanix Daily Dashboard" admin@example.com < "$report"
Summary
A daily Bash dashboard gives your team a low-overhead, high-visibility operational view into Nutanix health, inventory, and alerts. Extend it to meet compliance or SRE handover needs.
External Documentation:
Table of Contents 1. Introduction to Nutanix Metro Nutanix Metro, also called Nutanix Metro Availability, is a business continuity and disaster recovery...