Bug Description
Only positive patterns work. Is it possible to implement negated regex?
Steps to Reproduce
When attempting to delete an 'Unused Disk' from a VM that still has a snapshot containing this Disk, following error is produced: TASK ERROR: unable to delete 'local-zfs-zpool1:vm-1234567-disk-0' - volume is still in use (snapshot?)
With an Alert configured like:
- Category=All
- Event Level=Error
- Pattern=unable
an Alert is triggered as expected:
2026-04-23T12:55:03+02:00 INF Event alert created event_id=UPID:PVE-2-1:0001DA59:0ADE57F5:69E9FA86:qmconfig:1234567:root@pam: rule_id=f1d9806c-c0da-4341-9f57-b0688be169e0 rule_name="ProxCenter Warning Found"
With an Alert configured like:
- Category=All
- Event Level=Error
- Pattern=
^(?!.*(failed|error|timeout)).*
no Alert is triggered, event though it should, since this regular expression matches 'unable to delete'.
Log about invalid regex pattern:
2026-04-23T12:55:03+02:00 WRN Invalid regex pattern error="error parsing regexp: invalid or unsupported Perl syntax: (?!" rule_id=2b49d1df-a2b7-467e-ab20-e09bf4968370
Expected Behavior
Negated regex pattern should trigger events.
Actual Behavior
Negated regex pattern doesn't trigger events.
ProxCenter Version
1.3.5
Proxmox VE Version
9.1.6
Browser
No response
Logs / Screenshots
No response
Bug Description
Only positive patterns work. Is it possible to implement negated regex?
Steps to Reproduce
When attempting to delete an 'Unused Disk' from a VM that still has a snapshot containing this Disk, following error is produced:
TASK ERROR: unable to delete 'local-zfs-zpool1:vm-1234567-disk-0' - volume is still in use (snapshot?)With an Alert configured like:
an Alert is triggered as expected:
2026-04-23T12:55:03+02:00 INF Event alert created event_id=UPID:PVE-2-1:0001DA59:0ADE57F5:69E9FA86:qmconfig:1234567:root@pam: rule_id=f1d9806c-c0da-4341-9f57-b0688be169e0 rule_name="ProxCenter Warning Found"With an Alert configured like:
^(?!.*(failed|error|timeout)).*no Alert is triggered, event though it should, since this regular expression matches 'unable to delete'.
Log about invalid regex pattern:
2026-04-23T12:55:03+02:00 WRN Invalid regex pattern error="error parsing regexp: invalid or unsupported Perl syntax:(?!" rule_id=2b49d1df-a2b7-467e-ab20-e09bf4968370Expected Behavior
Negated regex pattern should trigger events.
Actual Behavior
Negated regex pattern doesn't trigger events.
ProxCenter Version
1.3.5
Proxmox VE Version
9.1.6
Browser
No response
Logs / Screenshots
No response