Solved

Automatically Email NCC Results

  • 14 September 2016
  • 3 replies
  • 1088 views

Badge +9
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?
icon

Best answer by DonnieBrasco 15 September 2016, 20:33

View original

This topic has been closed for comments

3 replies

Userlevel 4
Badge +18
Can you please run below mentioned command and post the output.

ncc --show_email_config=1

-NP
Badge +9
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,
Userlevel 4
Badge +18
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