{"id":6917,"date":"2022-12-19T16:35:01","date_gmt":"2022-12-19T20:35:01","guid":{"rendered":"https:\/\/kevinjustin.com\/blog\/?p=6917"},"modified":"2022-12-19T16:40:17","modified_gmt":"2022-12-19T20:40:17","slug":"adding-parameters-to-datasource-probeaction-moduletypes","status":"publish","type":"post","link":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/","title":{"rendered":"Adding parameters to datasource\/probeaction moduletypes"},"content":{"rendered":"<figure id=\"attachment_6969\" aria-describedby=\"caption-attachment-6969\" style=\"width: 640px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6969\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg\" alt=\"\" width=\"640\" height=\"503\" srcset=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg 640w, https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi-300x236.jpg 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-6969\" class=\"wp-caption-text\">Adding parameters to datasource\/probeaction moduletypes<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>This post is adding parameters to datasource (DS) or probeaction (PA) moduletypes.\u00a0 Sorry, found this draft from last year that I never published.\u00a0 \ud83d\ude41 I&#8217;m in the &#8216;missing functionality&#8217; boat.\u00a0 Some would say I&#8217;m a dreamer, a good system admin, a car guy who has different ideas than the manufacturer, or something altogether different &#8212; you decide \ud83d\ude42\u00a0 Hope this blog post helps monitoring experts that author more functionality than what was delivered.\u00a0 Specifically adding parameters to datasource\/probeaction moduletype NOT delivered in the OotB functionality?!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Adding parameters to datasource\/probeaction moduletypes<\/strong><br \/>\nFirst &#8211; What is needed<br \/>\nSecond &#8211; Verify dependencies required for a workflow<br \/>\nThird &#8211; Build on example &#8216;datasource&#8217;<br \/>\nFourth &#8211; Configure Monitor\/Rule to use Datasource\/ProbeAction<\/p>\n<p>Let&#8217;s go through step by step through &#8216;adding parameters to datasource\/probeaction moduletypes&#8217; to customize a data source. The datasource requirements are to include\/verify the following parameters&#8221; TimeOut,TimeOutInMS,MatchCount,SampleCount (match\/sample count are intended for rules\/monitors)<\/p>\n<p>&nbsp;<\/p>\n<h4>Pre-reqs (what&#8217;s needed for a ModuleType to function)<\/h4>\n<p>Working Script &#8211; PowerShell\/BASH\/Perl\/SH\/KSH<br \/>\nScriptArgs required at runtime<br \/>\nOther Configuration, or Overrideable Parameters<br \/>\nUsing configured parameters properly<br \/>\nVerify ProbeActions (PA) inside DS have relevant parameters<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Easiest way to summarize adding a configuration parameter<\/strong><br \/>\nMust be added to Configuration, OverrideableParameters,ModuleImplementation,<br \/>\nWhen taking an Out of the box&#8217; OotB&#8217; moduletype to modify, where parameter(s) MUST be used in UnitMonitorType,Rule,Monitor<\/p>\n<p><strong>Quick background for MatchCount\/SampleCount:<\/strong><br \/>\nWhen adding parameters to datasource\/probeaction moduletypes, it&#8217;s good to know why this is part of the conversation to be added to monitoring design\/implementation.<\/p>\n<p>MatchCount comes in handy for repeated failures BEFORE alerting (count 5 events before alerting)<br \/>\nSampleCount comes in handy for counting number of failed workflows BEFORE alerting (run workflow 6 times failing before alerting)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example Unix.ShellCommand.Invoke.Script DataSource<\/strong><br \/>\nRequirement = Add MatchCount\/SampleCount (or TimeOut to the PA ProbeAction)<\/p>\n<p><a href=\"http:\/\/kevinjustin.com\/downloads\/UNIX_2016_monitors.xml\" target=\"_blank\" rel=\"noopener\">Download<\/a><\/p>\n<p>Unseal, and open Microsoft.Unix.ShellCommand.Library.xml in NotePad++, VStudio, (or your favorite XML editor)<\/p>\n<p>Screenshot of default Microsoft.Unix.ShellCommand.Invoke.DataSource<br \/>\nTimeOut and TimeOutinMS are baked in.\u00a0 We begin by adding MatchCount\/SampleCount<\/p>\n<figure id=\"attachment_6972\" aria-describedby=\"caption-attachment-6972\" style=\"width: 1237px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-MatchCount-SampleCount.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6972\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-MatchCount-SampleCount.jpg\" alt=\"Adding MatchCount\/SampleCount for Configuration, OverrideableParameters, and Module Implementation for DS\/PA\" width=\"1237\" height=\"646\" srcset=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-MatchCount-SampleCount.jpg 1237w, https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-MatchCount-SampleCount-300x157.jpg 300w, https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-MatchCount-SampleCount-1024x535.jpg 1024w, https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-MatchCount-SampleCount-768x401.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption id=\"caption-attachment-6972\" class=\"wp-caption-text\">Adding MatchCount\/SampleCount for Configuration, OverrideableParameters, and Module Implementation for DS\/PA<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>How to add MatchCount\/SampleCount syntax <\/strong><\/p>\n<p>Adding MatchCount\/SampleCount for Configuration, OverrideableParameters, and Module Implementation for DS\/PA<\/p>\n<p><span style=\"color: #ff0000;\">NOTE &#8211; sometimes you don&#8217;t find an example!<\/span><\/p>\n<p>This part gets complicated &#8211; how far down the rabbit hole do you need the parameters?<br \/>\nDoes the DS workflow only need the respective parameters?<br \/>\nDo you have to add to the corresponding PA&#8217;s called in the workflow?<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Starting simple, add to DS<\/strong><\/p>\n<p>Add MatchCount\/SampleCount to DS Configuration<br \/>\n&lt;xsd:element name=&#8221;MatchCount&#8221; type=&#8221;xsd:unsignedInt&#8221; maxOccurs=&#8221;1&#8243; minOccurs=&#8221;0&#8243; xmlns:xsd=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema&#8221; \/&gt;<br \/>\n&lt;xsd:element name=&#8221;SampleCount&#8221; type=&#8221;xsd:unsignedInt&#8221; maxOccurs=&#8221;1&#8243; minOccurs=&#8221;0&#8243; xmlns:xsd=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema&#8221; \/&gt;<\/p>\n<p>Add MatchCount\/SampleCount to OverrideableParameters (if you want capability to override)<br \/>\n&lt;OverrideableParameter ID=&#8221;MatchCount&#8221; Selector=&#8221;$Config\/MatchCount$&#8221; ParameterType=&#8221;int&#8221; \/&gt;<br \/>\n&lt;OverrideableParameter ID=&#8221;SampleCount&#8221; Selector=&#8221;$Config\/SampleCount$&#8221; ParameterType=&#8221;int&#8221; \/&gt;<\/p>\n<p>Add MatchCount\/SampleCount to DS MemberModule<br \/>\n&lt;MatchCount&gt;$Config\/MatchCount$&lt;\/MatchCount&gt;<br \/>\n&lt;SampleCount&gt;$Config\/SampleCount$&lt;\/SampleCount&gt;<\/p>\n<p>Add MatchCount\/SampleCount to PA Configuration<br \/>\n&lt;xsd:element name=&#8221;MatchCount&#8221; type=&#8221;xsd:unsignedInt&#8221; maxOccurs=&#8221;1&#8243; minOccurs=&#8221;0&#8243; xmlns:xsd=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema&#8221; \/&gt;<br \/>\n&lt;xsd:element name=&#8221;SampleCount&#8221; type=&#8221;xsd:unsignedInt&#8221; maxOccurs=&#8221;1&#8243; minOccurs=&#8221;0&#8243; xmlns:xsd=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema&#8221; \/&gt;<\/p>\n<p>Add MatchCount\/SampleCount to PA MemberModule<br \/>\n&lt;MatchCount&gt;$Config\/MatchCount$&lt;\/MatchCount&gt;<br \/>\n&lt;SampleCount&gt;$Config\/SampleCount$&lt;\/SampleCount&gt;<\/p>\n<p>Unix.ShellCommand.Invoke.Script<br \/>\nAlternate example for monitors, the SQL Windows Replication mgmt pack has a good UnitMonitor\/UnitMonitorType example &#8211; Microsoft.SQLServer.Replication.Windows.Monitoring.xml<\/p>\n<p>&nbsp;<\/p>\n<h4>References<\/h4>\n<p>Kevin Holman has a good example for changing frequency and MatchCount here<br \/>\n<a href=\"https:\/\/kevinholman.com\/2017\/08\/12\/creating-a-scom-service-monitor-that-allows-overrides-for-interval-frequency-and-samples\/\" target=\"_blank\" rel=\"noopener\">https:\/\/kevinholman.com\/2017\/08\/12\/creating-a-scom-service-monitor-that-allows-overrides-for-interval-frequency-and-samples\/<\/a><\/p>\n<p>Find example by searching unsealed management pack repository (use Tyson&#8217;s SCOMHelper PowerShell module to unseal mp\/mpb&#8217;s to facilitate a better unsealed mp search) <a href=\"https:\/\/monitoringguys.com\/2019\/11\/12\/scomhelper\/\" target=\"_blank\" rel=\"noopener\">https:\/\/monitoringguys.com\/2019\/11\/12\/scomhelper\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; This post is adding parameters to datasource (DS) or probeaction (PA) moduletypes.\u00a0 Sorry, found this draft from last year that I never published.\u00a0 \ud83d\ude41 I&#8217;m in the &#8216;missing functionality&#8217; boat.\u00a0 Some would say I&#8217;m a dreamer, a good system admin, a car guy who has different ideas than the manufacturer, or something altogether different &hellip; <a href=\"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Adding parameters to datasource\/probeaction moduletypes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,567,7,545,530,12],"tags":[52,590,591,342,589,461,495],"class_list":["post-6917","post","type-post","status-publish","format-standard","hentry","category-administration","category-authoring","category-mp-management-pack","category-powershell","category-scom","category-unix","tag-authoring","tag-datasource","tag-probeaction","tag-scom","tag-scom-authoring-xml-unix-datasource","tag-unix","tag-xml"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Adding parameters to datasource\/probeaction moduletypes<\/title>\n<meta name=\"description\" content=\"&#039;How-to&#039; guide for advanced authoring to add parameters to datasource\/probeaction moduletypes, like SampleCount\/MatchCount\/TimeoutSeconds\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding parameters to datasource\/probeaction moduletypes\" \/>\n<meta property=\"og:description\" content=\"&#039;How-to&#039; guide for advanced authoring to add parameters to datasource\/probeaction moduletypes, like SampleCount\/MatchCount\/TimeoutSeconds\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/\" \/>\n<meta property=\"og:site_name\" content=\"Kevin Justin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-19T20:35:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-19T20:40:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg\" \/>\n<meta name=\"author\" content=\"WordPress Administrator\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"WordPress Administrator\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/\"},\"author\":{\"name\":\"WordPress Administrator\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"headline\":\"Adding parameters to datasource\\\/probeaction moduletypes\",\"datePublished\":\"2022-12-19T20:35:01+00:00\",\"dateModified\":\"2022-12-19T20:40:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/\"},\"wordCount\":706,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/DataSource-RWDHemi.jpg\",\"keywords\":[\"Authoring\",\"Datasource\",\"ProbeAction\",\"SCOM\",\"SCOM Authoring XML UNIX Datasource\",\"unix\",\"xml\"],\"articleSection\":[\"Administration\",\"Authoring\",\"MP Management Pack\",\"PowerShell\",\"SCOM\",\"UNIX\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/\",\"name\":\"Adding parameters to datasource\\\/probeaction moduletypes\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/DataSource-RWDHemi.jpg\",\"datePublished\":\"2022-12-19T20:35:01+00:00\",\"dateModified\":\"2022-12-19T20:40:17+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"description\":\"'How-to' guide for advanced authoring to add parameters to datasource\\\/probeaction moduletypes, like SampleCount\\\/MatchCount\\\/TimeoutSeconds\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/DataSource-RWDHemi.jpg\",\"contentUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/DataSource-RWDHemi.jpg\",\"width\":640,\"height\":503,\"caption\":\"Adding parameters to datasource\\\/probeaction moduletypes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2022\\\/12\\\/19\\\/adding-parameters-to-datasource-probeaction-moduletypes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding parameters to datasource\\\/probeaction moduletypes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\",\"name\":\"Kevin Justin&#039;s Blog\",\"description\":\"Operational monitoring tools including System Center, Azure Monitor\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\",\"name\":\"WordPress Administrator\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"caption\":\"WordPress Administrator\"},\"sameAs\":[\"https:\\\/\\\/kevinjustin.com\"],\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/author\\\/wordpress_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding parameters to datasource\/probeaction moduletypes","description":"'How-to' guide for advanced authoring to add parameters to datasource\/probeaction moduletypes, like SampleCount\/MatchCount\/TimeoutSeconds","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:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/","og_locale":"en_US","og_type":"article","og_title":"Adding parameters to datasource\/probeaction moduletypes","og_description":"'How-to' guide for advanced authoring to add parameters to datasource\/probeaction moduletypes, like SampleCount\/MatchCount\/TimeoutSeconds","og_url":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/","og_site_name":"Kevin Justin&#039;s Blog","article_published_time":"2022-12-19T20:35:01+00:00","article_modified_time":"2022-12-19T20:40:17+00:00","og_image":[{"url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg","type":"","width":"","height":""}],"author":"WordPress Administrator","twitter_card":"summary_large_image","twitter_misc":{"Written by":"WordPress Administrator","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#article","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/"},"author":{"name":"WordPress Administrator","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"headline":"Adding parameters to datasource\/probeaction moduletypes","datePublished":"2022-12-19T20:35:01+00:00","dateModified":"2022-12-19T20:40:17+00:00","mainEntityOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/"},"wordCount":706,"commentCount":1,"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg","keywords":["Authoring","Datasource","ProbeAction","SCOM","SCOM Authoring XML UNIX Datasource","unix","xml"],"articleSection":["Administration","Authoring","MP Management Pack","PowerShell","SCOM","UNIX"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/","url":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/","name":"Adding parameters to datasource\/probeaction moduletypes","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#primaryimage"},"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg","datePublished":"2022-12-19T20:35:01+00:00","dateModified":"2022-12-19T20:40:17+00:00","author":{"@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"description":"'How-to' guide for advanced authoring to add parameters to datasource\/probeaction moduletypes, like SampleCount\/MatchCount\/TimeoutSeconds","breadcrumb":{"@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#primaryimage","url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg","contentUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2022\/12\/DataSource-RWDHemi.jpg","width":640,"height":503,"caption":"Adding parameters to datasource\/probeaction moduletypes"},{"@type":"BreadcrumbList","@id":"https:\/\/kevinjustin.com\/blog\/2022\/12\/19\/adding-parameters-to-datasource-probeaction-moduletypes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kevinjustin.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Adding parameters to datasource\/probeaction moduletypes"}]},{"@type":"WebSite","@id":"https:\/\/kevinjustin.com\/blog\/#website","url":"https:\/\/kevinjustin.com\/blog\/","name":"Kevin Justin&#039;s Blog","description":"Operational monitoring tools including System Center, Azure Monitor","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kevinjustin.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508","name":"WordPress Administrator","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","caption":"WordPress Administrator"},"sameAs":["https:\/\/kevinjustin.com"],"url":"https:\/\/kevinjustin.com\/blog\/author\/wordpress_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/6917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/comments?post=6917"}],"version-history":[{"count":4,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/6917\/revisions"}],"predecessor-version":[{"id":6973,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/6917\/revisions\/6973"}],"wp:attachment":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/media?parent=6917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/categories?post=6917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/tags?post=6917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}