PDA

View Full Version : Setting up Grid to Email the Dashboard Alerts


brianrightservers
01-08-2010, 12:23 PM
Hello Everybody,

So im working on setting up the grid to email me the dashboard alerts. Were currently running 2.4.10, plan to upgrade to the 2.7 soon.

So using aldo I went in and set up all the parameters by using this page http://wiki.3tera.net/bin/view/AppLogic24/RefAld

Then on my email server which is using cpanel, I went into the configuration and setup the controller and aldo box to be able to send email for my domain.

Now how do I know it is working? Is there an aldo command to send a test email? If not, you should consider adding this in as a feature for a future version, seems like an easy thing to do. If not, how can I test to make sure the email is working. I also setup the email summary option to =1, but still no email.

Thanks for any suggestions.

brianrightservers
01-08-2010, 01:40 PM
And/Or creating a list of ways to generate email alerts, does starting/stopping applications generate alerts if I have the option set to Progress, as listed here:

asap_severity The minimum severity of messages that should trigger immediate e-mail alerts. Valid values are (lowest to highest severity): progress, info, alert. Default: alert (only the highest-priority events are sent as e-mails).

Or perhaps you could make a guide of how to enable relaying for this to work with the most common mta's such as sendmail or exim.

brianrightservers
01-08-2010, 02:34 PM
Description:
Create dashboard message.

Usage:
message create <id> [<prop>=<val>*] --fail-existing

Options:
<id> - Message ID - must be in the form 'NNN<text>' where <text>
is one or more alpha-numeric characters, '-' or '_'.
<prop>=<val> - Message parameters. The following parameters may be
specified:
* severity - message severity, may be 'info' or 'alert';
default is 'info'
* text - message text
* append - message text to be appended to text or appended
to existing text
--fail-existing - Fail request if there is already a message with the same
ID; otherwise, overwrite the message.

Examples:
message create 123BMC severity=alert text="Failed to collect metering data"

PeterNic
01-13-2010, 09:38 AM
Yessir, "message create" is how you can test the setup. Otherwise, for as long as nothing breaks, there should be no alerts.

I would probably use something more benign:

message create 123test severity=alert text="This is a test message"

We should include a note on this in the documentation, right next to the section that describes how to set it up.

Best regards,
-- Peter