Extend Synology DSM update parser with additional detection patterns
Extended the parser to recognize more email variants for Synology DSM automatic update cancelled notifications while maintaining backward compatibility with existing patterns. Changes: - Added "Automatische DSM-update" and "DSM-update op" to detection patterns - Extended hostname extraction regex to match "DSM-update op HOSTNAME" and "DSM update on HOSTNAME" - All existing patterns remain functional (backward compatible) - Updated changelog Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0827fddaa5
commit
a05dbab574
@ -18,10 +18,12 @@ DSM_UPDATE_CANCELLED_PATTERNS = [
|
||||
"Automatische update van DSM is geannuleerd",
|
||||
"Automatic DSM update was cancelled",
|
||||
"Automatic update of DSM was cancelled",
|
||||
"Automatische DSM-update",
|
||||
"DSM-update op",
|
||||
]
|
||||
|
||||
_DSM_UPDATE_CANCELLED_HOST_RE = re.compile(
|
||||
r"\b(?:geannuleerd\s+op|cancelled\s+on)\s+(?P<host>[A-Za-z0-9._-]+)\b",
|
||||
r"\b(?:geannuleerd\s+op|cancelled\s+on|DSM-update\s+op|DSM\s+update\s+on)\s+(?P<host>[A-Za-z0-9._-]+)\b",
|
||||
re.I,
|
||||
)
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@ This file documents all changes made to this project via Claude Code.
|
||||
- Added "Preview orphaned jobs" button to show detailed list of jobs to be deleted with run/email counts before confirming deletion (verification step for safety)
|
||||
- Added "Generate test emails" feature in Settings → Maintenance with three separate buttons to create fixed test email sets (success/warning/error) in inbox for testing parsers and maintenance operations (each set contains exactly 3 Veeam Backup Job emails with the same job name "Test-Backup-Job" and different dates/objects/statuses for reproducible testing and proper status flow testing)
|
||||
- Added parser registry entry for Synology DSM automatic update cancelled notifications (backup software: Synology, backup type: Updates, informational only, no schedule learning)
|
||||
- Extended Synology DSM update parser with additional detection patterns ("Automatische DSM-update", "DSM-update op") and hostname extraction regex to recognize more email variants while maintaining backward compatibility with existing patterns
|
||||
|
||||
### Changed
|
||||
- Removed customer name from Autotask ticket title to keep titles concise (format changed from "[Backupchecks] Customer - Job Name - Status" to "[Backupchecks] Job Name - Status")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user