On 08.10.2014 13:20, Robin Cook wrote:

Hello,

I am running the paid/SVN version of observium and I have tried a couple of times to setup email alerts and each time I end up breaking my config and having to restore it.

Does anyone have any sample configurations I can look at/copy from for simple alerts to a single email address via a network SMTP relay?

e.g. mail from observium@domain.com to alerts@domain.com?


Hrm,

 you looked configuration options on wiki?
http://www.observium.org/wiki/Configuration_Options#Alert_Settings

Minimal example for you:
$config['email']['enable']          = TRUE;
$config['email']['from']            = 'observium@domail.com'; //  Default: "Observium" <observium@`hostname -f`>
$config['email']['default']         = 'alerts@domain.com';
$config['email']['default_only']    = TRUE;

by default used php mail backend (no smtp required).

For use smtp add:
$config['email']['backend']         = 'smtp';

and specific smtp options (see on wiki).

 

Do I require a local postfix install for mail to be dropped into?

Many thanks,

Robin




This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


-- 
Mike Stupalov
http://observium.org