Updated email subject for failed updates to include hostname (#8258)

This commit is contained in:
Neil Lathwood
2018-02-16 10:08:26 +00:00
committed by GitHub
parent 2a4dd70b45
commit c14efbf904

View File

@@ -252,7 +252,7 @@ if ($options['f'] === 'notify') {
if (isset($config['alert']['default_mail'])) {
send_mail(
$config['alert']['default_mail'],
'[LibreNMS] Auto update has failed',
'[LibreNMS] Auto update has failed for ' . Config::get('distributed_poller_name'),
"We just attempted to update your install but failed. The information below should help you fix this.\r\n\r\n" . $options['o']
);
}