I've had an alerting issue thrown my way that I'm not sure how to solve.
SQL server running jobs - let's call the server SQL1. Running a regular SQL job that I'll call Job1.
A downstream server named Server1 consumes the results of Job1.
I've got an application watching the Sql jobs that goes critical if Job1 fails.
I want an alert if my SQL Job monitor shows Job1 fails - that's the easy part.
Now the hard part. If Server1 goes offline then Job1 will always fail. I don't want the SQL Job alert to fire if Server1 is offline.
Wondering if we have a way to set up a trigger condition that fires if the SQL Job1 monitor goes Critical, BUT ONLY IF Server1 is UP. If Server1 is not up then the Sql job alert will not fire.
I've been looking at Advanced Alerting Conditions and Secondary Trigger Actions, however not sure if I understand how to set that up.
Thanks in advance for any inputs from the community.