I am looking for a solution which can trigger a script outside from Commvault when ever a backup job is failing. The script needs only give over the failing JOBID.
Plan is to automate a quick analyze of the failure and trigger the right team to fix the issue without manual invention.
thanks in advance for your suggestions.
Best answer by Blaine Williams
You can use the alerts and notifications on failed jobs to trigger a command line to run scripts if you require.
Command Line notification https://documentation.commvault.com/commvault/v11/article?p=5401.htm
However if you just want to notify the teams when there is a failure with details just use CV to do it. You can then configure separate team responsibilities between alerts and have it notify them.
Creating an Alert : https://documentation.commvault.com/commvault/v11/article?p=5203.htm
There is also a predefined alert already created you can copy and modify.
Backup job failed
Job Management / Data Protection
This alert notifies the user when a backup job fails to complete, fails to start or is stopped by the system