{"id":436,"date":"2020-04-03T15:50:25","date_gmt":"2020-04-03T13:50:25","guid":{"rendered":"http:\/\/scriptbuilder.fr\/?p=436"},"modified":"2020-04-04T14:05:39","modified_gmt":"2020-04-04T12:05:39","slug":"desactiver-la-surveillance-dun-service-par-scom","status":"publish","type":"post","link":"https:\/\/scriptbuilder.fr\/index.php\/2020\/04\/03\/desactiver-la-surveillance-dun-service-par-scom\/","title":{"rendered":"D\u00e9sactiver la surveillance SCOM d&rsquo;un service"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\"><p>D\u00e9finir avec pr\u00e9cision ce qu\u2019il faut faire, Identifier clairement le but du script<\/p><\/blockquote>\n\n\n\n<p><strong>Objectif <\/strong>: arr\u00eater le service SCOM, modifier le fichier xml de d\u00e9finition des \u00e9l\u00e9ments \u00e0 surveiller et red\u00e9marrer le service SCOM pour charger la nouvelle configuration<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>Mettre en place un <strong>algorithme<\/strong> clair et bien r\u00e9fl\u00e9chi<\/p><\/blockquote>\n\n\n\n<ol><li>Arr\u00eater le service SCOM \u00ab\u00a0HealthService\u00a0\u00bb<\/li><li>Modifier le fichier \u00ab\u00a0E:\\SCOM\\Conf\\SCOM16.xml\u00a0\u00bb en rempla\u00e7ant une chaine de caract\u00e8re par une autre<\/li><li>D\u00e9marrer le service SCOM \u00ab\u00a0HealthService\u00a0\u00bb<\/li><\/ol>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>Cr\u00e9er le script \u00ab\u00a0Cr\u00e9er le script\u00a0\u00bb<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"443\" height=\"35\" src=\"http:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-SciptName-1.png\" alt=\"\" class=\"wp-image-439\" srcset=\"https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-SciptName-1.png 443w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-SciptName-1-416x33.png 416w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-SciptName-1-300x24.png 300w\" sizes=\"(max-width: 443px) 100vw, 443px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>Impl\u00e9menter l\u2019algorithme<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"116\" src=\"http:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1-1024x116.png\" alt=\"\" class=\"wp-image-440\" srcset=\"https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1-1024x116.png 1024w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1-600x68.png 600w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1-300x34.png 300w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1-768x87.png 768w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1-769x87.png 769w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-Implementation-1.png 1308w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Ajout des 3 \u00e9tapes<\/figcaption><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>Saisir les param\u00e8tres<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1007\" height=\"191\" src=\"http:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StopService-1.png\" alt=\"\" class=\"wp-image-441\" srcset=\"https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StopService-1.png 1007w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StopService-1-600x114.png 600w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StopService-1-300x57.png 300w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StopService-1-768x146.png 768w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StopService-1-769x146.png 769w\" sizes=\"(max-width: 1007px) 100vw, 1007px\" \/><figcaption><strong><em>\u00c9tape 1<\/em><\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"189\" src=\"http:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-ReplaceString-1.png\" alt=\"\" class=\"wp-image-442\" srcset=\"https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-ReplaceString-1.png 1006w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-ReplaceString-1-600x113.png 600w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-ReplaceString-1-300x56.png 300w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-ReplaceString-1-768x144.png 768w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-ReplaceString-1-769x144.png 769w\" sizes=\"(max-width: 1006px) 100vw, 1006px\" \/><figcaption><em>\u00c9tape 2<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"242\" src=\"http:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StartService-1.png\" alt=\"\" class=\"wp-image-443\" srcset=\"https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StartService-1.png 1004w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StartService-1-600x145.png 600w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StartService-1-300x72.png 300w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StartService-1-768x185.png 768w, https:\/\/scriptbuilder.fr\/wp-content\/uploads\/2020\/04\/StopScom-StartService-1-769x185.png 769w\" sizes=\"(max-width: 1004px) 100vw, 1004px\" \/><figcaption><em>\u00c9tape 3<\/em><\/figcaption><\/figure>\n\n\n\n<p>Cliquer sur \u00ab\u00a0Construire\u00a0\u00bb pour cr\u00e9er le script<\/p>\n\n\n\n<p>Cliquer sur \u00ab Ex\u00e9cuter\u00bb pour cr\u00e9er et ex\u00e9cuter le script<\/p>\n","protected":false},"excerpt":{"rendered":"<p>D\u00e9finir avec pr\u00e9cision ce qu\u2019il faut faire, Identifier clairement le but du script Objectif : arr\u00eater le service SCOM, modifier le fichier xml de d\u00e9finition&hellip;<\/p>\n","protected":false},"author":1,"featured_media":444,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,1],"tags":[],"_links":{"self":[{"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/posts\/436"}],"collection":[{"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/comments?post=436"}],"version-history":[{"count":3,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/posts\/436\/revisions"}],"predecessor-version":[{"id":571,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/posts\/436\/revisions\/571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/media\/444"}],"wp:attachment":[{"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/media?parent=436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/categories?post=436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scriptbuilder.fr\/index.php\/wp-json\/wp\/v2\/tags?post=436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}