{"id":419,"date":"2017-10-17T12:49:56","date_gmt":"2017-10-17T18:49:56","guid":{"rendered":"http:\/\/s1095387061.online-home.ca\/?p=419"},"modified":"2017-11-12T12:55:13","modified_gmt":"2017-11-12T19:55:13","slug":"mssqltips-tip-43","status":"publish","type":"post","link":"https:\/\/databaserefresh.com\/blog\/mssqltips-tip-43\/","title":{"rendered":"MSSQLTips: Tip #43 &#8211; SQL Server Agent Jobs Monitoring Script"},"content":{"rendered":"<p>Problems with SQL Server Agent Jobs can lead to missing backups, missing notifications about a failed job and sometimes missing mission critical tasks that are run as scheduled jobs.<\/p>\n<p>Some of the common SQL Server Agent Job problems are described in other MSSQLTips\u00a0<a href=\"https:\/\/www.mssqltips.com\/sql-server-tip-category\/27\/sql-server-agent\/\" target=\"_blank\" rel=\"noopener\">tips<\/a>. In this tip we have provided a single script that will check the jobs for a number of issues including:<\/p>\n<ul>\n<li>Disabled SQL Server Agent Jobs<\/li>\n<li>Failed SQL Server Agent Jobs or Job Steps<\/li>\n<li>SQL Server Agent Jobs without a Description<\/li>\n<li>SQL Server Agent Jobs without Schedules<\/li>\n<li>Disabled SQL Server Agent Job Schedules<\/li>\n<li>SQL Server Agent Jobs without Categories<\/li>\n<li>SQL Server Agent Jobs Owned by a DBA or Other Privileged User<\/li>\n<li>SQL Server Agent Jobs with no Owner or Owner Login is Denied &#8220;CONNECT TO SQL&#8221;<\/li>\n<li>No SQL Server Agent Notifications on Job Failure or Completion<\/li>\n<li>SQL Server Agent Operators Issues<\/li>\n<li>SQL Server Agent Missing Job History<\/li>\n<li>Potential SQL Server Agent Job Step Issue or Step Won\u2019t Execute<\/li>\n<\/ul>\n<p>Please read the latest MSSQLTips post: &#8220;<a href=\"https:\/\/www.mssqltips.com\/sqlservertip\/4870\/sql-server-agent-jobs-monitoring-script\/\">SQL Server Agent Jobs Monitoring Script<\/a>&#8220;.<\/p>\n<p>Check out all of my tips here: <a title=\"http:\/\/www.mssqltips.com\/sqlserverauthor\/94\/svetlana-golovko\/\" href=\"http:\/\/www.mssqltips.com\/sqlserverauthor\/94\/svetlana-golovko\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.mssqltips.com\/sqlserverauthor\/94\/svetlana-golovko\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problems with SQL Server Agent Jobs can lead to missing backups, missing notifications about a failed job and sometimes missing mission critical tasks that are run as scheduled jobs. Some of the common SQL Server Agent Job problems are described &hellip; <a href=\"https:\/\/databaserefresh.com\/blog\/mssqltips-tip-43\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[60,5,12,7,59,41,3,121,122],"tags":[62,42,46,141,140,142,139,29,86],"class_list":["post-419","post","type-post","status-publish","format-standard","hentry","category-audit-sql_server","category-db_dev","category-dba_checks","category-sql_maint","category-monitoring","category-scripts","category-sql_server","category-troubleshooting","category-troubleshooting-sql_server","tag-monitoring-2","tag-mssqltips","tag-scripts-2","tag-sql-agent-jobs","tag-sql-server-agent","tag-sql-server-checks","tag-sqlserver","tag-tips","tag-troubleshooting"],"_links":{"self":[{"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/posts\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":1,"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/posts\/419\/revisions"}],"predecessor-version":[{"id":420,"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/posts\/419\/revisions\/420"}],"wp:attachment":[{"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/media?parent=419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/categories?post=419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/databaserefresh.com\/blog\/wp-json\/wp\/v2\/tags?post=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}