Does anyone know how to send a test alert email using CLI?
I can easily send a test alert email from GUI by just clicking [Send Test Email] button. However, I could not find the way in service command/Unisphere CLI...
/sys/support/connecthome test - has a test option but if you have ESRS enabled you will get this message - Cannot enable connect home when ESRS is enabled - if you try to enable connecthome
You might need to ask for a feature request to get it added to the cli
Remembering to mark the question Answered helps others with similar problems and awarding points helps motivate people to take the time answer you questions. Forgetting this may affect responsiveness.
DELL_ChrisHolloway
2 Intern
•
125 Posts
2488
0
Posted February 1st, 2018 09:00
I can't see a way of doing this from UEMCLI, but it is possible using REST:
POST /api/instances/alertConfig/ /action/testEmailAlert
Instance ID in my case was 0, but you can find that using GET /api/types/alertConfig/instances.