Details
Description
We updated the observium version and now the system cant send email with alerts.
When run a trace i get this error:
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.00026298s]
ERROR[Error in query: (Unknown column 'alert_contact_id' in 'field list') 1054]
Try send test notification for HOSTNAMEXXX to these email(s):
favella@boldt.com.ar
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
Attachments
Issue Links
- relates to
-
OBS-1947 test_alert.php doesn't use correct alert entry ID
-
- Closed
-
I believe I ran into this. Not sure when it started but I have it on 8010. Every test alert I am sending out seems to always go to the default and not my other examples. I'll try a fresh pull from svn and hope that helps.
SQL[SELECT * FROM `alert_tests` WHERE 1]
ROWS[9]
SQL RUNTIME[0.00023103s]
Cached 9 alert rules.
SQL[SELECT * FROM `alert_assoc`]
ROWS[11]
SQL RUNTIME[0.00007796s]
SQL[SELECT * FROM `alert_table` WHERE `alert_table_id` = '1']
ROWS[0]
SQL RUNTIME[0.00026011s]
SQL[SELECT * FROM `devices` WHERE `device_id` = '']
ROWS[0]
SQL RUNTIME[0.00010085s]
SQL[SELECT * FROM `` WHERE ``.`` = '']
ROWS[-1]
SQL RUNTIME[0.00009203s]
ERROR[Error in query: (Incorrect table name '') 1103]
SQL[SELECT * FROM `devices` WHERE `device_id` = '']
ROWS[0]
SQL RUNTIME[0.00010896s]