Details
-
Fix
-
Status: Dismissed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.12
Description
Current Behavior
When a job/job chain is being monitored by any System Monitor and job/jobchain name contains any special character like "( ), @", then the System Monitor does not generate notifications if the job gets failed.
How to reproduce
- Create a standalone job for example name is "job(one)"
- Create a SystemMonitorNotification_MonitorSystem.xml file in a way that it monitors this standalone job and generates a notification if the job gets failed.
- Run the job and if the job fails then the SystemMonitor does not generate notifications.
Desired Behavior
SystemMonitor should generate notification even if the job/job chain names contain special characters like "( ), @" in it.
Maintainers Note
Monitoring interface uses Java regular expressions to evaluate the job or job chains names. So, if the job/job chain names contain RegExp characters they must be escaped by a backslash character.
For eg:
- If the folder test contains a job with a name job(one), then in the System Monitor Notification file, it should be used as:
<Job name="test/job\(one\)" notifications="1" />