Daily Health Check Report

  • 29 August 2016
  • 2 replies

Badge +5
This is something I have been working on for a little bit.

nodetool -h 0 ringgenesis statuscluster statusallssh df -hncli alerts lsSend-NTNXEmailUsingSmtpServer -Recipient someone@xyz.com -Subject DailyHealth

This topic has been closed for comments

2 replies

Userlevel 1
Badge +6
Is this "health check" based on advices from the support or is this based on your experience?

Could you briefly describe why exactly you used this command. Some may not be so obvoius.

lets says:
allssh df -h
Did it happen in the past that a root partition run out of space or something?

Best regards,
Power shell script to query Nutanix cluster:

Get-NTNXContainer | select @{name="Container_ID";expression={$_.id.substring($_.id.indexof(":") + 2)}},Name,@{name="Free_Space_[kb]";expression={((Get-NTNXContainerStat -id ($_.id.substring($_.id.indexof(":") + 2)) -Metrics storage.user_free_bytes).values)}}