![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
The $config['alerts']['alerters'] stuff isn't used.
This is all I use:
$config['alerts']['email']['default'] = "adama@memetic.org"; $config['alerts']['email']['from'] = "Observium Dev adama@memetic.org"; $config['alerts']['email']['default_only'] = TRUE; $config['alerts']['email']['enable'] = FALSE;
The setting enable to false disables the /old/ alerts, it doesn't affect the new alerts. It's confusing indeed, but the alerting stuff is still quite unfinished :)
adam.
On 2014-03-18 05:00, tech8.otelafrica wrote:
Hey Guys
Changed the config file and that looks fine (please see attached screenshot) I created some default alerts and they are triggering however it doesn't seem to be triggering the mail still.(please see attached screenshot) It doesnt look like it is trying to send mail.
On Thu, Feb 27, 2014 at 8:20 PM, Moore, Cameron cmoore@hsutx.edu wrote:
In lieu of documentation, here are some example valid "email_from" values:
$config['email_from'] = 'email@example.com'; $config['email_from'] = 'email@example.com'; $config['email_from'] = 'My Email email@example.com'; $config['email_from'] = '"My Email" email@example.com'; $config['email_from'] = "'My Email' email@example.com";
You must ALWAYS supply a properly formatted email address. The following are INVALID values:
$config['email_from'] = 'example.com [1]'; $config['email_from'] = 'My Team <example.com [1]>'; $config['email_from'] = 'My Team'; -- Cameron Moore
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Ryan Prihoda Sent: Thursday, February 27, 2014 9:07 AM To: Observium Network Observation System Subject: Re: [Observium] Mail Alerts
It needs to be someone@somedomain.com
On 02/27/2014 01:50 AM, Adam Armstrong wrote: Your from address is *still* not valid.
adam.
On 2014-02-26 04:07, tech8.otelafrica wrote: Hi Guys
Struggling to get mails to send from our server.When having a look in var/log I dont see anything attempting to send out in the logs. Under config.php I have the following configured:
$config['poller-wrapper']['alerter'] = TRUE; $config['alerts']['email']['default'] = "alerts@otelafrica.com"; $config['alerts']['email']['default_only'] = TRUE; $config['email_from'] = "Observium dev <observium.otel.co.za [2] [1]>"; $config['alerts']['email']['enable'] = FALSE;
I have included a snapshot as well,please let me know if I am doing anything wrong.
Regards Anton
Links:
[1] http://observium.otel.co.za [2]
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3] _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3]
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3] _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3]
Links:
[1] http://example.com [2] http://observium.otel.co.za [3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium