Details
-
Bug
-
Resolution: Not A Bug
-
Major
-
None
-
None
-
None
Description
1. Link fr more documentation upon execution leads to 404:
http://www.observium.org/docs/#Email_backend_settings
2. an error appears and no email is not being sent, no matter if I use sendmail or mail() Full output of the run with -d follows:
##########################################################
root@monocle:/opt/observium# ./test_mail.php -h mysql1 -d
DEBUG!
o Apache 2.2.22
o PHP 5.4.45-0+deb7u1
o Python 2.7.3
o MySQL 5.5.44-0+deb7u1 (extension: mysqli 5.5.44)
o SNMP NET-SNMP 5.4.3
o RRDtool 1.4.7
-
-
-
-
- MySQL mode #####
-
-
-
o MySQL
-
-
-
-
- Charset info #####
-
-
-
o PHP UTF-8
o MySQL utf8
-
-
-
-
- Timezones info #####
-
-
-
o Date Wednesday, 18-Nov-15 13:34:25 EET
o PHP +02:00
o MySQL +02:00
See mail backend options here: http://www.observium.org/wiki/Configuration_Options#Email_backend_settings
My Hostname: monocle.infra.pscoe.vmware.com
E-mails ENABLED globally ($config['email']['enable'])
E-mails use PHP-builtin MAIL backend ($config['email']['backend'])
E-mails use these default recipient(s) ($config['email']['default']):
alerts@obfuscat3d.com
E-mails send from ($config['email']['from']):
"Observium" <observium@monocle.obfuscat3d.com>
E-mails send to recipients based on default recipient from config and/or device sysContact.
SQL[SELECT * FROM `devices` WHERE `hostname` LIKE 'mysql1']
SQL RUNTIME[0.00020218s]
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
SQL RUNTIME[0.00013185s]
SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '35' AND `attrib_type` = 'override_sysContac
t_bool']
SQL RUNTIME[0.00013208s]
SQL[SELECT `alert_test_id` FROM `alert_table` WHERE `device_id` = '35']
SQL RUNTIME[0.00012589s]
SQL[SELECT `contact_descr`, `contact_endpoint` FROM `alert_contacts` WHERE `contact_disabled` = 0 AND `contact_method` = 'email' AND `contact
_id` IN (SELECT `alert_contact_id` FROM `alert_contacts_assoc` WHERE `alert_checker_id` = '1');]
SQL RUNTIME[0.00041699s]
ERROR[Error in query: (Unknown column 'alert_contact_id' in 'field list') 1054]
Try send test notification for mysql1 to these email(s):
alerts@obfuscat3d.com
PHP Fatal error: Call to undefined function alert_notify() in /opt/observium/test_mail.php on line 218
Fatal error: Call to undefined function alert_notify() in /opt/observium/test_mail.php on line 218