They've worked for many years.

Why do you have the mail backend set for sendmail, but then set loads of SMTP options?

You've set rather a lot of options, that's probably why it's not working.

adam.

Sent from Mailbird

On 28/10/2016 22:28:00, Lee Byatt <lee.byatt@excellgroup.com> wrote:

Good evening guys,

 

Could I kindly check out the status of the Mail alerts on the SVN version please?
Are they supported and do they work as I have an alert cheker on my setup but they not getting to my inbox.

 

I have a config like this in the config.php

 

$config['email_backend'] = 'sendmail'; // Mail backend. Allowed: "mail" (PHP's built-in), "sendmail", "smtp".

$config['email_from'] = '"Observium Network Monitor"<observium@MYDOMAIN>'; // Mail from. Default: "OBSERVIUM Network Monito$

$config['email_sendmail_path'] = '/usr/sbin/sendmail'; // The location of the sendmail program.

$config['email_smtp_host'] = 'MYRELAY; // Outgoing SMTP server name.

$config['email_smtp_port'] = 25; // The port to connect.

$config['email_smtp_timeout'] = 10; // SMTP connection timeout in seconds.

$config['email_smtp_secure'] = NULL; // Enable encryption. Use 'tls' or 'ssl'

$config['email_smtp_auth'] = FALSE; // Whether or not to use SMTP authentication.

$config['email_smtp_username'] = NULL; // SMTP username.

$config['email_smtp_password'] = NULL; // Password for SMTP authentication.

// Alerting Settings

$config['alerts']['email']['default'] = 'me; // Default alert recipient

$config['alerts']['email']['default_only'] = TRUE; // Only use default recipient

$config['alerts']['email']['enable'] = TRUE; // Enable email alerts

$config['alerts']['bgp']['whitelist'] = NULL; // Populate as an array() with ASNs to alert on.

$config['alerts']['port']['ifdown'] = TRUE; // Generate alerts for ports that go down

$config['alerts']['port']['ifdown_types'] = array('core', 'transit', 'peering'); // Generate alerts for ports that go down

$config['alerts']['interval'] = 86400; // How frequently to re-send a notification for a continuing alert condition // In seconds. Default is 1 day.

 

I have this setup running in parallel with Nagios and would like to turn this off very soon.

 

Thanks
Lee

 



Voice Solutions Cloud / Data Network Solutions Network Solutions Business Centre Solutions
Cloud /
Data
Network Mobile Business
Centres

Contact Us | Excellgroup.com | Twitter | LinkedIn


 
This email is subject to Excell’s Email Terms & Conditions