MetricsHub
							MetricsHub Community Connectors 1.0.14
							
						- 
									
									
										Home
									
									
									
- Connector Design Guide Detection 12
WBEM (Detection)
The goal of this part is to see how to define WBEM criteria.
connector:
  # ...
  detection: # <object>
    # ...
    criteria: # <object-array>
    - type: wbem
      query: # <string>
      namespace: # <string>
      expectedResult: # <string>
Input Properties
| Input Property | Description | 
|---|---|
| query | WBEM query to be executed | 
| namespace | WBEM namespace providing the context for the WBEM query. Use automaticso that the namespace automatically determined | 
| expectedResult | Regular expression that is expected to match the result of the WBEM Query | 
Example
connector:
  detection:
    criteria:
    - type: wbem
      query: SELECT Name,Dedicated FROM EMC_StorageSystem
      namespace: root/emc
      expectedResult: [;|]3|[0-9|]*;$
Search Results for {{siteSearch | truncate:'50'}}
							{{resultArray.length}}
							
						
						
						
						
						
					
						No results.
					
				