|
Sending email or SMS alerts
The Alerts & Logging: Alerts menu configures the console server to monitor nominated ports/hosts/UPSs/PDUs/EMDs etc for trigger conditions you specify. To configure the triggers to send an email or SMS alert:
- Enter the SMS or email address of recipient to send this alert to
- For multiple recipients simply comma separate the addresses
SMTP is used to send both the email and SMS alert messages so the Administrator must first configure a valid SMTP server:
- In the SMTP Server field (or SMTP SMS Server field) in the Alerts & Logging: SMTP&SMS menu enter the IP address of your outgoing mail server If this server uses a secure connection, specify its type
- If this SMTP server uses a secure connection select SSL or TLS
- Enter a Sender email address which will appear as the "from" address in all email notifications sent from this console server. This is particularly important with SMS alerts as some SMS gateway service providers will only forward email to SMS when the email has been received from nominated senders. So you may need to assign a specific authorized email address for the console server
- Enter a Username and Password if your SMTP server requires authentication
- Similarly you can specify the specific Subject Line that will be sent with the email. Generally the email subject will contain a truncated version of the alert notification message which is contained in full in the body of the email body. Take care however as some SMS gateway service providers require blank Subject Lines or require specific authentication headers to be included in the Subject Line
Setting the SMS address
Opengear console servers use email-to-SMS services to send SMS alert notifications to mobile devices like mobile phones (cell phones), pagers and PDAs. Sending SMS via email using SMTP (Simple Mail Transfer Protocol) is much faster than sending text pages via a modem using the TAP Protocol and almost all phone carriers provide an SMS gateway service that forwards email to mobile/cellular phones on their networks. Below are the email addresses for the some of the most popular USA cellular phone carriers:
- T-Mobile: phonenumber @tmomail.net
- Virgin Mobile: phonenumber@vmobl.com
- Sprint: phonenumber@messaging.sprintpcs.com
- Verizon: phonenumber@vtext.com
- Nextel: phonenumber@messaging.nextel.com
where phonenumber = your 10 digit phone number. There's also a wide selection of SMS gateway aggregators who provide email to SMS forwarding to phones on any carriers.
Custom email/SMS scripts
Lastly there is a script /etc/scripts/alert-email which gets run from within all the alert scripts (e.g. portmanager-user-alert or environmental-alert) and it is responsible for sending the email (and SMS email). However if you wish you can create your own custom or replacement alert script refer faq 332.
|