How to Update and Test the SMTP Configuration in Lattus |
There currently is not a method to update and test the system's SMTP configuration using the CMC GUI. You must use qshell to update the SMTP settings and then test the configuration using the OSMI menu. The procedures below describe how to update and test the settings.
Use the following procedures to update and test the SMTP configuration in Lattus:
# qshell
# In []: api=i.config.cloudApiConnection.find('main')
# In []: cloudguid=api.cloud.list()['result'][0]['cloudguid']
# In []: api.cloud.getObject(cloudguid).smtp.server
# Out[]: '10.60.4.162'
# In [] api.cloud.getObject(cloudguid).smtp.login
# In [] api.cloud.getObject(cloudguid).smtp.password
# In []: api.cloud.setSMTPConfiguration(cloudguid,'10.60.4.163','','')
# Out[]: {'jobguid': '753e527b-c977-43fb-9d2c-f0a95f57395b', 'result': None}
Notes:
The 3rd and 4th parameters are the credentials (login, password) for the SMTP server, if required.
All quotes are single quotes. Nothing in between if login and password are empty.
A fully qualified name can be used in place of an IP address.
Google SMTP servers require TLS port to be added.
In [1]: api.cloud.setSMTPConfiguration(cloudguid,'smtp.gmail.com:587','helpdesk@i3.com','Supp0rt1ng')
# exit()
# cat /opt/qbase3/cfg/qconfig/eventcfg.cfg
You can test the updated SMTP settings using OSMI.
# /opt/qbase3/apps/osmi/osmi
The OSMI menu appears, as shown below:
Object Store Management Interface
1) Environment
2) Policies and Namespaces
3) Machines and services
4) Users and permissions
5) Events and logging
0) Exit
Please make a selection >>
The Events and logging menu appears, as shown below:
Events and logging
1) Test SMTP configuration
2) Test SNMP configuration
3) Test Phone Home configuration
0) Return to Main Menu
Please make a selection >>
E-mail to: (default: broadcaststoragesupport@qvc.com): your.name@quantum.com
E-mail from: (default: osmi@cpunode1):
You should receive an email from the node if the SMTP is configured correctly. The email should look like the following example:
This page was generated by the BrainKeeper Enterprise Wiki, © 2018 |