Automatically Email NCC Results | Nutanix Community
Skip to main content
Solved

Automatically Email NCC Results

  • September 14, 2016
  • 3 replies
  • 1134 views

Forum|alt.badge.img+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?

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 original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

DonnieBrasco
Nutanix Employee
Forum|alt.badge.img+18
  • Nutanix Employee
  • 82 replies
  • September 15, 2016
Can you please run below mentioned command and post the output.

ncc --show_email_config=1

-NP

Forum|alt.badge.img+9
  • Author
  • Adventurer
  • 3 replies
  • September 15, 2016
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,

DonnieBrasco
Nutanix Employee
Forum|alt.badge.img+18
  • Nutanix Employee
  • 82 replies
  • Answer
  • September 15, 2016
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