{"id":14989,"date":"2020-11-02T12:27:41","date_gmt":"2020-11-02T11:27:41","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/"},"modified":"2020-11-02T12:27:41","modified_gmt":"2020-11-02T11:27:41","slug":"control-m-em-check-and-update-agent-status-using-cli","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/","title":{"rendered":"Control-M-EM check and update agent status using CLI"},"content":{"rendered":"<p>Introduction<br \/>\nHi everybody, sometime access to CCM may be limited or unavailable,so how can it be possible to manage Control-M agent status without GUI?What about using Control-M CLI utility?Here is the solution<br \/>\nConnexion on Control-m server<br \/>\nCheck status by using with agent_list utility<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">CTMSRVCENTOS% agent_list\n\nTime Stamp :\n-------------\n11\/02\/2020 09:25:52\n\nAgent serveurctmv919 is Disabled\nAgent ctmsrvcentos is Unavailable\nAgent 192.168.56.12 is Unavailable\nAgent 192.168.56.10 is Available<\/pre>\n<p>Update agent status with ctm_agstat utility<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">CTMSRVCENTOS% ctm_agstat\n\nTime Stamp :\n-------------\n11\/02\/2020 09:26:39\n\nNothing requested\nUsage: ctm_agstat { -LIST | -UPDATE {AVAILABLE | DISABLED} }\n[ -DEBUG ]\n[ -QUIET ]\n\nCTMSRVCENTOS% ctm_agstat -UPDATE serveurctmv919 AVAILABLE\n\nTime Stamp :\n-------------\n11\/02\/2020 09:27:01\n\nAgent serveurctmv919 is now Available\nCTMSRVCENTOS% agent_list\n\nTime Stamp :\n-------------\n11\/02\/2020 09:27:08\n\nAgent serveurctmv919 is Available\nAgent ctmsrvcentos is Unavailable\nAgent 192.168.56.12 is Unavailable\nAgent 192.168.56.10 is Available\nCTMSRVCENTOS%<\/pre>\n<p>Example:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-44614\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\" alt=\"\" width=\"1013\" height=\"797\" \/><\/a><br \/>\nconclusion<br \/>\nHere is a quick and efficient way to get agent listing and status and update them don&#8217;t hesitate to try it, it can be useful.<br \/>\nFeel free to check my other topics and also other dbi bloggers for more info and help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Hi everybody, sometime access to CCM may be limited or unavailable,so how can it be possible to manage Control-M agent status without GUI?What about using Control-M CLI utility?Here is the solution Connexion on Control-m server Check status by using with agent_list utility CTMSRVCENTOS% agent_list Time Stamp : &#8212;&#8212;&#8212;&#8212;- 11\/02\/2020 09:25:52 Agent serveurctmv919 is Disabled [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":14990,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[],"type_dbi":[],"class_list":["post-14989","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Control-M-EM check and update agent status using CLI - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Control-M-EM check and update agent status using CLI\" \/>\n<meta property=\"og:description\" content=\"Introduction Hi everybody, sometime access to CCM may be limited or unavailable,so how can it be possible to manage Control-M agent status without GUI?What about using Control-M CLI utility?Here is the solution Connexion on Control-m server Check status by using with agent_list utility CTMSRVCENTOS% agent_list Time Stamp : ------------- 11\/02\/2020 09:25:52 Agent serveurctmv919 is Disabled [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-02T11:27:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\" \/>\n\t<meta property=\"og:image:width\" content=\"803\" \/>\n\t<meta property=\"og:image:height\" content=\"631\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Control-M-EM check and update agent status using CLI\",\"datePublished\":\"2020-11-02T11:27:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\"},\"wordCount\":107,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\",\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\",\"name\":\"Control-M-EM check and update agent status using CLI - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\",\"datePublished\":\"2020-11-02T11:27:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png\",\"width\":803,\"height\":631},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Control-M-EM check and update agent status using CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Control-M-EM check and update agent status using CLI - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/","og_locale":"en_US","og_type":"article","og_title":"Control-M-EM check and update agent status using CLI","og_description":"Introduction Hi everybody, sometime access to CCM may be limited or unavailable,so how can it be possible to manage Control-M agent status without GUI?What about using Control-M CLI utility?Here is the solution Connexion on Control-m server Check status by using with agent_list utility CTMSRVCENTOS% agent_list Time Stamp : ------------- 11\/02\/2020 09:25:52 Agent serveurctmv919 is Disabled [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/","og_site_name":"dbi Blog","article_published_time":"2020-11-02T11:27:41+00:00","og_image":[{"width":803,"height":631,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png","type":"image\/png"}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Control-M-EM check and update agent status using CLI","datePublished":"2020-11-02T11:27:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/"},"wordCount":107,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png","articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/","url":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/","name":"Control-M-EM check and update agent status using CLI - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png","datePublished":"2020-11-02T11:27:41+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/agstatus.png","width":803,"height":631},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-check-and-update-agent-status-using-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Control-M-EM check and update agent status using CLI"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=14989"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14989\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/14990"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=14989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=14989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=14989"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=14989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}