I recently updated to Observium CE 26.1.14545. Since the update, I am no longer receiving email alerts. I selected an alert from the dashboard (4354) and ran ./test_alert.php -a 4354. This is the response I get in the shell:
Oops! Something went wrong! You may want to report this to the Observium developers.
Call to undefined function get_entity_group_names() in /opt/observium/includes/notifications.inc.php:97
Stack trace:
#0: (unknown function) called at [/opt/observium/includes/notifications.inc.php:97] 92: $device = device_by_id_cache($entry['device_id']); 93: $entity = get_entity_by_id_cache($entry['entity_type'], $entry['entity_id']); 94: $alert = $alert_rules[$entry['alert_test_id']]; 95: 96: // Get device group memberships for alert routing 97: $device_groups = get_entity_group_names('device', $device['device_id']); 98: 99: // Get entity group memberships for alert routing 100: $entity_groups = get_entity_group_names($entry['entity_type'], $entry['entity_id']); 101: 102: /// DEVEL
#1: alert_generate_tags called at [/opt/observium/includes/notifications.inc.php:26] 21: */ 22: function alert_notifier($entry, $type = "alert", $log_id = NULL) { 23: 24: $device = device_by_id_cache($entry['device_id']); 25: 26: $message_tags = alert_generate_tags($entry, $type); 27: 28: //logfile('debug.log', var_export($message, TRUE)); 29: 30: $alert_id = $entry['alert_test_id']; 31:
#2: alert_notifier called at [/opt/observium/test_alert.php:56] 51: 52: $entry = dbFetchRow($sql, [$options['a']]); 53: print_debug_vars($entry, 1); 54: 55: // Generate alerts and insert them into the queue 56: $ids = alert_notifier($entry); 57: } elseif ($options['c']) { 58: // Test by contact id 59: $ids = []; 60: 61: // Fetch notification example from json file
Any assistance is appreciated. Thanks!
There was or is going to be a recent change for Microsoft 365 SMTP mail. It will no longer be allowed for simple authentication email. Or something like that.
On Tue, Apr 7, 2026 at 2:08 PM ajgreenawalt--- via observium < observium@lists.observium.org> wrote:
I recently updated to Observium CE 26.1.14545. Since the update, I am no longer receiving email alerts. I selected an alert from the dashboard (4354) and ran ./test_alert.php -a 4354. This is the response I get in the shell:
Oops! Something went wrong! You may want to report this to the Observium developers.
Call to undefined function get_entity_group_names() in /opt/observium/includes/notifications.inc.php:97
Stack trace:
#0: (unknown function) called at [/opt/observium/includes/notifications.inc.php:97] 92: $device = device_by_id_cache($entry['device_id']); 93: $entity = get_entity_by_id_cache($entry['entity_type'], $entry['entity_id']); 94: $alert = $alert_rules[$entry['alert_test_id']]; 95: 96: // Get device group memberships for alert routing 97: $device_groups = get_entity_group_names('device', $device['device_id']); 98: 99: // Get entity group memberships for alert routing 100: $entity_groups = get_entity_group_names($entry['entity_type'], $entry['entity_id']); 101: 102: /// DEVEL
#1: alert_generate_tags called at [/opt/observium/includes/notifications.inc.php:26] 21: */ 22: function alert_notifier($entry, $type = "alert", $log_id = NULL) { 23: 24: $device = device_by_id_cache($entry['device_id']); 25: 26: $message_tags = alert_generate_tags($entry, $type); 27: 28: //logfile('debug.log', var_export($message, TRUE)); 29: 30: $alert_id = $entry['alert_test_id']; 31:
#2: alert_notifier called at [/opt/observium/test_alert.php:56] 51: 52: $entry = dbFetchRow($sql, [$options['a']]); 53: print_debug_vars($entry, 1); 54: 55: // Generate alerts and insert them into the queue 56: $ids = alert_notifier($entry); 57: } elseif ($options['c']) { 58: // Test by contact id 59: $ids = []; 60: 61: // Fetch notification example from json file
Any assistance is appreciated. Thanks! _______________________________________________ observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org
I'm not using M365, I'm just attempting to direct SMTP to my local firewall as a SMTP relay. My firewall is not seeing the emails at all. The failure appears to be within my Observium installation, but I can't seem to figure out how to resolve it.
I have this same problem. There is probablly problem in alert module, becouse I in my config contact list are e-mail and Webhook JSON, and both are not working after upgrade.
participants (3)
-
adam.wiacek@klimat.gov.pl -
ajgreenawalt@moniteau.org -
Tim Gibney