{"DataList":{"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool HealthStatusWarning":{"list_name":"IcingaCheckStoragePool HealthStatusWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool HealthStatusCritical":{"list_name":"IcingaCheckStoragePool HealthStatusCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool Verbosity":{"list_name":"IcingaCheckStoragePool Verbosity","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"0","entry_name":"0","format":"string"},{"allowed_roles":null,"entry_value":"1","entry_name":"1","format":"string"},{"allowed_roles":null,"entry_value":"2","entry_name":"2","format":"string"},{"allowed_roles":null,"entry_value":"3","entry_name":"3","format":"string"}],"owner":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckStoragePool":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null},{"datafield_id":18,"is_required":"n","var_filter":null},{"datafield_id":19,"is_required":"n","var_filter":null},{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckStoragePool","arguments":{"-RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$","order":"17"},"-IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$","order":"8"},"-Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$","order":"18"},"-IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$","order":"13"},"-HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$","order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \"Error: $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \"icinga-powershell-*\" )`r`nModule-Path:`r`n$$($$Env:PSModulePath)\"; exit 3; }; Exit-IcingaExecutePlugin -Command \u0027Invoke-IcingaCheckStoragePool\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$","order":"100"},"-FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$","order":"5"},"-IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$","set_if_format":"string","order":"99"},"-IncludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_IncludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$","order":"9"},"-TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$","order":"7"},"-CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$","order":"10"},"-SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$","order":"12"},"-HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$","order":"15"},"-ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$","order":"11"},"-RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$","order":"16"},"-TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckStoragePool_Switchparameter_IncludePrimordial":false,"IcingaCheckStoragePool_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"datalist":"IcingaCheckStoragePool HealthStatusCritical","behavior":"strict","data_type":"string"},"description":"Critical threshold for Health of StoragePool is whether or not the storage pool can maintain the required redundancy levels.","caption":"HealthStatusCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"16","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"3":{"settings":{"visibility":"visible"},"description":"With this parameter you can filter out which StoragePools you want to check, provided you have several StoragePools on your system.","caption":"IncludeStoragePool","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"3","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool FreeSpaces in GB. This value is a decreasing metric which will require\nyou to add a \u0027:\u0027 behind the threshold, like \u002720GB:\u0027 to check if free space is lower compared to your threshold","caption":"FreeSpaceWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"21":{"settings":{"datalist":"IcingaCheckStoragePool Verbosity","behavior":"strict","data_type":"string"},"description":"Changes the behavior of the plugin output which check states are printed:\n0 (default): Only service checks/packages with state not OK will be printed\n1: Only services with not OK will be printed including OK checks of affected check packages including Package config\n2: Everything will be printed regardless of the check state\n3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"21","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"18":{"settings":{"datalist":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","behavior":"strict","data_type":"string"},"description":"Critical threshold RetireMissingPhysicalDisks specifies whether the storage subsystem will automatically retire physical disks that are missing from this\nstorage pool and replace them with hot spares or other physical disks that are available in the storage pool.","caption":"RetireMissingPhysicalDisksCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"18","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Critical threshold for StoragePool ClearOnDeallocate is, if physical disks should be zeroed (cleared of all data) when\nunmapped or removed from the storage pool.","caption":"ClearOnDeallocateCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"17":{"settings":{"datalist":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","behavior":"strict","data_type":"string"},"description":"Warning threshold RetireMissingPhysicalDisks specifies whether the storage subsystem will automatically retire physical disks that are missing from this\nstorage pool and replace them with hot spares or other physical disks that are available in the storage pool.","caption":"RetireMissingPhysicalDisksWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"17","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical threshold for StoragePool IsPowerProtected is, whether the disks in this pool are able to tolerate power loss without data loss.\nFor example, they automatically flush volatile buffers to non-volatile media after external power is disconnected.","caption":"IsPowerProtectedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"15":{"settings":{"datalist":"IcingaCheckStoragePool HealthStatusWarning","behavior":"strict","data_type":"string"},"description":"Warning threshold for Health of StoragePool is whether or not the storage pool can maintain the required redundancy levels.","caption":"HealthStatusWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"15","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"20":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"20","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool FreeSpaces in GB. This value is a decreasing metric which will require\nyou to add a \u0027:\u0027 behind the threshold, like \u002720GB:\u0027 to check if free space is lower compared to your threshold","caption":"FreeSpaceCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"4":{"settings":{"visibility":"visible"},"description":"With this parameter you can filter out which StoragePools you do not want to check, provided you have several StoragePools on your system.","caption":"ExcludeStoragePool","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"4","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"19":{"settings":{"visibility":"visible"},"description":"A primordial pool, also known as the \u0027available storage\u0027 pool is where storage capacity is drawn and returned in the\ncreation and deletion of concrete storage pools. Primordial pools cannot be created or deleted. You can set this to\ntrue if you also want to check Primordial StoragePools. Default to false.","caption":"IncludePrimordial","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"13":{"settings":{"visibility":"visible"},"description":"Critical threshold StoragePool SupportsDeduplication is, whether the storage pool supports data duplication or not.","caption":"SupportsDeduplicationCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null}}}
|