Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Professional Edition
-
None
-
Debian 32bit
Description
Email Alert Not working when server down
1. test_mail.php working good
root@observium:/opt/observium# ./test_mail.php -h 192.168.1.3
Observium 0.15.1.6221
Test E-mail Configuration
See mail backend options here: http://www.observium.org/wiki/Configuration_Options#Email_backend_settings
My Hostname: observium.litmuse.com
E-mails ENABLED globally ($config['email']['enable'])
E-mails use PHP-builtin MAIL backend ($config['email']['backend'])
E-mails send from ($config['email']['from']):
alter@localhost
E-mails send to recipients based on default recipient from config and/or device sysContact.
Try send test notification for 192.168.1.3 to these email(s):
sebae@localhost
Notification for 192.168.1.3 SENT.
root@observium:/opt/observium#
2. system alter not working /config.php
Professional Edition(Brand new)
// Enable alerter (not available in CE)
$config['poller-wrapper']['alerter'] = TRUE;
$config['email']['enable'] = TRUE;
$config['email']['from'] = 'alter@localhost';
$config['email']['default'] = NULL;
$config['email']['default_only'] = FALSE;
$config['email']['backend'] = 'mail';
$config['alerts']['alerter']['default']['descr'] = "Default Email Alert";
$config['alerts']['alerter']['default']['type'] = "email";
$config['alerts']['alerter']['default']['contact'] = "sebae@localhost";
$config['alerts']['alerter']['default']['enable'] = TRUE;
- Attach my setting screen shot
Good Afternoon Guys,
I am using the community edition:
Version: 0.16.10.8128
As a user I want to get alerts via email.
I have setup the alerts. I can see the alerts logs.
config.php file below:
// Enable alerter
// $config['poller-wrapper']['alerter'] = TRUE;
//$config['web_show_disabled'] = FALSE; // Show or not disabled devices on major pages.
// Set up a default alerter (email to a single address)
$config['alerts']['alerter']['default']['descr'] = "Default Email Alert";
$config['alerts']['alerter']['default']['type'] = "email";
$config['alerts']['alerter']['default']['contact'] = "matlyn@domain.com";
$config['alerts']['alerter']['default']['enable'] = TRUE;
$config['email']['default'] = "mlynch@herzlia.com";
$config['alerts']['email']['from'] = "Observium <from@domain.com>";
$config['email']['default_only'] = TRUE;
//Email Settings
$config['email']['enable'] = TRUE;
$config['email']['from'] = 'from@domain.com';
$config['email']['default'] = 'matlyn@domain.com';
$config['email']['backend'] = 'smtp';
$config['email']['sendmail_path'] = '/usr/sbin/sendmail';
$config['email']['smtp_host'] = 'smtp.domain.com';
$config['email']['smtp_port'] = 587;
$config['email']['smtp_timeout'] = 10;
$config['email']['smtp_auth'] = TRUE;
$config['email']['smtp_username'] = 'NULL';
$config['email']['smtp_password'] = 'NULL';
// End config.php
$config['email']['backend'] = "sendmail";
$config['email']['sendmail_path'] = "/usr/bin/sendmail -t -i";
Is it correct?
I just cannot seem to receive the alerts via email.