Having issues getting the alert to mail. I am not using SMTP, I have sendmail installed locally to the OS. If I use the PHP mail(); function in a test script and execute it in the broswer, it sends mail just fine. Here is the email params in my 'config.php' file:
$config['email']['enable'] = TRUE; $config['email']['backend'] = 'mail'; $config['email']['sendmail_path'] = '/usr/sbin/sendmail'; $config['alerts']['interval'] = 40000;
$config['email']['default'] = "me@company.com"; $config['email']['from'] = "Observium observium@company.com"; $config['email']['default_only'] = TRUE;
Any thoughts mates?
Thanks,
Ryan Huff, CCDP, CCNP Cisco Certified Network and Design Professional
Remove the first three settings you pasted and it'll probably work.
adam. On 2019-02-12 01:40:43, Ryan Huff via observium observium@observium.org wrote: Having issues getting the alert to mail. I am not using SMTP, I have sendmail installed locally to the OS. If I use the PHP mail(); function in a test script and execute it in the broswer, it sends mail just fine. Here is the email params in my 'config.php' file:
$config['email']['enable'] = TRUE;
$config['email']['backend'] = 'mail';
$config['email']['sendmail_path'] = '/usr/sbin/sendmail';
$config['alerts']['interval'] = 40000;
$config['email']['default'] = "me@company.com";
$config['email']['from'] = "Observium observium@company.com";
$config['email']['default_only'] = TRUE;
Any thoughts mates?
Thanks,
Ryan Huff, CCDP, CCNP
Cisco Certified Network and Design Professional
No go ghostrider...
I’ll have a look at the syslog and send mail logs tomorrow and try to find the hang up. I just restarted a device an no email.
Maybe it’s not even sending to the sendmail processor. Who knows..
Sent from my iPhone
On Feb 11, 2019, at 20:56, Adam Armstrong via observium <observium@observium.orgmailto:observium@observium.org> wrote:
Remove the first three settings you pasted and it'll probably work.
adam.
On 2019-02-12 01:40:43, Ryan Huff via observium <observium@observium.orgmailto:observium@observium.org> wrote:
Having issues getting the alert to mail. I am not using SMTP, I have sendmail installed locally to the OS. If I use the PHP mail(); function in a test script and execute it in the broswer, it sends mail just fine. Here is the email params in my 'config.php' file:
$config['email']['enable'] = TRUE; $config['email']['backend'] = 'mail'; $config['email']['sendmail_path'] = '/usr/sbin/sendmail'; $config['alerts']['interval'] = 40000;
$config['email']['default'] = "me@company.commailto:me@company.com"; $config['email']['from'] = "Observium <observium@company.commailto:observium@company.com>"; $config['email']['default_only'] = TRUE;
Any thoughts mates?
Thanks,
Ryan Huff, CCDP, CCNP Cisco Certified Network and Design Professional _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem...
participants (2)
-
Adam Armstrong
-
Ryan Huff