Solved
Automatically Email NCC Results

Trying to setup a Nutanix cluster (non prod) to automatically email me the NCC results. Have setup the SMTP and alert email configuration sections in Prism Element. Verified from a CVM that emails are being sent okay. Next, on a CVM, I ran ncc --set_email_frequency=4 and saw that it took successfully. Finally, running ncc --show_email_config but gettting result Value for the flag --show_email_config has not been set. Obviously I am missing something?
Best answer by DonnieBrasco
Yes, we have a known issue post NCC 2.2
For some command parameters, NCC 2.2 requires that you specify the default value of True or 1. For example, ncc --show_email_config=1 displays the current NCC email configuration. Otherwise, NCC will display an error message such as Value for the flag flag_name has not been specified.
-NP
View originalFor some command parameters, NCC 2.2 requires that you specify the default value of True or 1. For example, ncc --show_email_config=1 displays the current NCC email configuration. Otherwise, NCC will display an error message such as Value for the flag flag_name has not been specified.
-NP
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.