Sends a test email to validate your configuration.
Syntax
email_alerts --test-email
Result
Success: Test email sent.
Sends a test email to validate your configuration.
email_alerts --test-email
Success: Test email sent.
Displays the listing of email_alerts options for using the QoreStor CLI.
email_alerts --help
Usage: email_alerts --clear-config | --enable | --disable | --status | --configure | --test-email | --help email_alerts <command> <command> can be one of: --clear-config removes the stored alert email configuration --enable enables the QoreStor Alert Email service --disable disables the QoreStor Alert Email service --status checks that QoreStor Alert Email service is running --configure interactive prompts to configure email relay, sender name and email address, recipients, CC recipients, and BCC recipients --test-email send a test email
For command-specific help, please type email_alerts --help <command> For example: email_alerts --help show
Configure/enable/disable QoreStor Daily Stats Report Service. Allows reports with statistics from the QoreStor server sent over email.
email_stats --clear-config | --enable | --disable | --status | --configure | --test-email --clear-config removes the stored stats email configuration --enable enables the QoreStor Stats Email service --disable disables the QoreStor Stats Email service --status checks that QoreStor Stats Email service is running --configure interactive prompts to configure email relay, sender name and email address, recipients, CC recipients, and BCC recipients --test-email send a test email
Configure email stats report using option “--configure”.
email_stats --configure
Please enter the SMTP Relay FQDN or IP address: <enter relay host>
Please enter the sender's email address: <enter email id>
Please enter the sender's name: <can be QS Admin>
Please enter the SMTP Password (if a password is not required, leave this field blank):
Please enter the list of recipient email addresses: <email id>
Please enter the list of email addresses to be CC'ed:
Please enter the list of email addresses to be BCC'ed:
Please enter the time when the report should be sent (in HH:MM format): <enter time>
Applied configuration:
SMTP Relay: <…>
Sender Address: <…>
Sender Name: <…>
Recipient(s): <…>
CC:
BCC:
Send Report at: <..>
To enable email reporting execute the following :
email_stats --enable
Service is already enabled.
Find status of email_stats service:
email_stats --status
Service is running.
Test the configuration:
email_stats --test-email
SUCCESS; Test email sent.
Disable email_stats service:
email_stats --disable
Service disabled successfully.
To remove stored email_stats configuration:
email_stats --clear-config
This topic introduces the set of OpenStorage Technology-related QoreStor CLI commands that enable you to perform the following tasks:
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center