MSSQL - Check Job Agent Failures

Version 1
    Click to view larger image
    Checks to see if there were any jobs that failed in the last 5 minutes and returns the count