Automatically Email NCC Results | Nutanix Community
Skip to main content
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?
Can you please run below mentioned command and post the output.



ncc --show_email_config=1



-NP
Thanks for the reply. Your command came back with NCC is set to send email every 24 hours. Which it did. I actually got an email today. Looks like it was set correct and I just needed to run the command above to confirm.

Thanks,
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