Cluster health status in email


Userlevel 1
Badge +17
Hi,

Is any script availble to get health status of cluster in mail. Like
1. cluster CPU % utilization
2. Memory % utilization
3. Storage Container & Storage pool utilization
4. recent alerts say past 7 days
5. Compression & dedup stats
6. Inventory


6 replies

Userlevel 4
Badge +19
vivekds

Currently we do have script ready to gather the utilization for CPU & Memory.

Will try to modify the same as per you requirements .

https://github.com/sandeepmp/nutanix/blob/master/Cluster-Report-NTNX.Ps1
Userlevel 1
Badge +17
Sorry for delyed response. Attached script doesn't give any output nor logs are created. Following syntax was used to run it in power shell

Cluster-Report-NTNX -Server '10.10.10.10' -UserName 'Username' -Password 'Password' -Metric 'Hypervisor CPU Usage (%)' -Startdate '11/01/2017 10:00' -Enddate '12/0/2017 11:00' -Interval 60 -OutFile 'C:ScriptCPU_usage.csv'
Userlevel 4
Badge +19
vivekds

Did you updated AOS recently?

If AOS is updated, have you updated the powershell cmdlets?

Please share the AOS & installed CMDlets version.
Userlevel 1
Badge +17
Current AOS & cmdlet version is 5.1.2
Userlevel 4
Badge +19
vivekds

Can you share the output of below cmd.

Get-NutanixCmdletsInfo
Userlevel 1
Badge +17
PS C:Program Files (x86)Nutanix IncNutanixCmdletsin> Get-NutanixCmdletsInfo
Key Value--- -----version 5.1.2BuildVersion 2.1.1-release5.1.2-dev-07262017RestAPIVersion v1
PS C:Program Files (x86)Nutanix IncNutanixCmdletsin>

Reply