From 53adbc4c934636011388acb59f7ea0f3d9fbe5b3 Mon Sep 17 00:00:00 2001 From: Fabian Thomys Date: Thu, 11 Sep 2025 14:01:25 +0200 Subject: [PATCH] Add Support for -OverrideNotOk to Invoke-IcingaCheckService --- .../Invoke-IcingaCheckBiosSerial.json | 2 +- config/director/Invoke-IcingaCheckCPU.json | 2 +- .../Invoke-IcingaCheckCertificate.json | 2 +- .../director/Invoke-IcingaCheckCheckSum.json | 2 +- .../director/Invoke-IcingaCheckDirectory.json | 2 +- .../Invoke-IcingaCheckDiskHealth.json | 2 +- .../director/Invoke-IcingaCheckEventlog.json | 2 +- .../director/Invoke-IcingaCheckFirewall.json | 2 +- .../Invoke-IcingaCheckHTTPStatus.json | 2 +- .../Invoke-IcingaCheckHttpJsonResponse.json | 2 +- config/director/Invoke-IcingaCheckICMP.json | 2 +- config/director/Invoke-IcingaCheckMPIO.json | 2 +- config/director/Invoke-IcingaCheckMemory.json | 2 +- config/director/Invoke-IcingaCheckNLA.json | 2 +- .../Invoke-IcingaCheckNetworkInterface.json | 2 +- .../Invoke-IcingaCheckPartitionSpace.json | 2 +- .../Invoke-IcingaCheckPerfCounter.json | 1 + .../Invoke-IcingaCheckPerfcounter.json | 1 - .../director/Invoke-IcingaCheckProcess.json | 2 +- .../Invoke-IcingaCheckProcessCount.json | 2 +- .../Invoke-IcingaCheckScheduledTask.json | 2 +- .../director/Invoke-IcingaCheckService.json | 2 +- .../Invoke-IcingaCheckStoragePool.json | 2 +- config/director/Invoke-IcingaCheckTCP.json | 2 +- .../director/Invoke-IcingaCheckTimeSync.json | 2 +- .../director/Invoke-IcingaCheckUNCPath.json | 2 +- .../director/Invoke-IcingaCheckUpdates.json | 2 +- config/director/Invoke-IcingaCheckUptime.json | 2 +- .../Invoke-IcingaCheckUsedPartitionSpace.json | 2 +- config/director/Invoke-IcingaCheckUsers.json | 2 +- config/director/Plugins_Bundle.json | 2 +- ...onf => Invoke-IcingaCheckPerfCounter.conf} | 296 +++++++++--------- config/icinga/Invoke-IcingaCheckService.conf | 25 +- config/icinga/Plugins_Bundle.conf | 35 ++- doc/10-Icinga-Plugins.md | 38 +-- doc/31-Changelog.md | 4 + doc/plugins/13-Invoke-IcingaCheckService.md | 1 + icinga-powershell-plugins.psd1 | 60 ++-- plugins/Invoke-IcingaCheckService.psm1 | 44 +-- .../New-IcingaWindowsServiceCheckObject.psm1 | 27 +- 40 files changed, 331 insertions(+), 259 deletions(-) create mode 100644 config/director/Invoke-IcingaCheckPerfCounter.json delete mode 100644 config/director/Invoke-IcingaCheckPerfcounter.json rename config/icinga/{Invoke-IcingaCheckPerfcounter.conf => Invoke-IcingaCheckPerfCounter.conf} (97%) diff --git a/config/director/Invoke-IcingaCheckBiosSerial.json b/config/director/Invoke-IcingaCheckBiosSerial.json index cb7262fe..41569f99 100644 --- a/config/director/Invoke-IcingaCheckBiosSerial.json +++ b/config/director/Invoke-IcingaCheckBiosSerial.json @@ -1 +1 @@ -{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":4,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$"}},"ifw_api_command":"Invoke-IcingaCheckBiosSerial"}}},"Datafield":{"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null}}} +{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":4,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$"}},"ifw_api_command":"Invoke-IcingaCheckBiosSerial"}}},"Datafield":{"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCPU.json b/config/director/Invoke-IcingaCheckCPU.json index 965aa6be..936cd5f9 100644 --- a/config/director/Invoke-IcingaCheckCPU.json +++ b/config/director/Invoke-IcingaCheckCPU.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckCPU Verbosity":{"list_name":"IcingaCheckCPU 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckCPU":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCPU","arguments":{"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"6"},"-SocketFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckCPU_Array_SocketFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Core":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_Core$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_Core$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$","set_if_format":"string","order":"99"},"-DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$","set_if_format":"string","order":"99"},"-OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_OverallOnly":false,"ifw_api_arguments":{"DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$"},"ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$"},"SocketFilter":{"value":"$IcingaCheckCPU_Array_SocketFilter$"},"NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckCPU_Object_Critical$"},"Core":{"value":"$IcingaCheckCPU_String_Core$"},"OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$"},"Warning":{"value":"$IcingaCheckCPU_Object_Warning$"},"Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$"},"OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$"},"Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$"}},"IcingaCheckCPU_Switchparameter_NoPerfData":false,"IcingaCheckCPU_Switchparameter_DisableProcessList":false,"IcingaCheckCPU_Switchparameter_OverallTotalAsSum":false,"ifw_api_command":"Invoke-IcingaCheckCPU","IcingaCheckCPU_Switchparameter_Limit100Percent":false}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a single core to check for. For the average load across all cores use `_Total`","caption":"Core","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCPU_String_Core","format":null},"9":{"settings":{"visibility":"visible"},"description":"If this flag is set, the Warning and Critical thresholds will only apply to the `Overall Load` metric instead of all\nreturned cores. Requires that the plugin either fetches all cores with `*` or `Total` for the -Core argument","caption":"OverallOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckCPU_Switchparameter_OverallOnly","format":null},"10":{"settings":{"visibility":"visible"},"description":"Changes the output of the overall total load to report the sum of all sockets combined instead of the default\naverage of all sockets","caption":"OverallTotalAsSum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckCPU_Switchparameter_OverallTotalAsSum","format":null},"12":{"settings":{"visibility":"visible"},"description":"If this flag is set, the plugin will limit the CPU usage for each thread to 100%. This happens on systems with Intel TurboBoost or AMD PBO (Precision Boost Overdrive) enabled.\nRead more about this behavior on the Microsoft docs: https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/cpu-usage-exceeds-100","caption":"Limit100Percent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckCPU_Switchparameter_Limit100Percent","format":null},"11":{"settings":{"visibility":"visible"},"description":"Disables the reporting of the top 10 CPU consuming process list","caption":"DisableProcessList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckCPU_Switchparameter_DisableProcessList","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"14":{"settings":{"datalist":"IcingaCheckCPU 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":"14","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckCPU_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckCPU_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Allows to specify one or mutlitple sockets by using their socket id. Not matching socket id\u0027s will not be evaluated\nby the plugin.","caption":"SocketFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckCPU_Array_SocketFilter","format":null}}} +{"DataList":{"IcingaCheckCPU Verbosity":{"list_name":"IcingaCheckCPU 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckCPU":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCPU","arguments":{"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"6"},"-SocketFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckCPU_Array_SocketFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Core":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_Core$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_Core$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$","set_if_format":"string","order":"99"},"-DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$","set_if_format":"string","order":"99"},"-OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_OverallOnly":false,"ifw_api_arguments":{"DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$"},"ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$"},"SocketFilter":{"value":"$IcingaCheckCPU_Array_SocketFilter$"},"NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckCPU_Object_Critical$"},"Core":{"value":"$IcingaCheckCPU_String_Core$"},"OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$"},"Warning":{"value":"$IcingaCheckCPU_Object_Warning$"},"Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$"},"OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$"},"Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$"}},"IcingaCheckCPU_Switchparameter_NoPerfData":false,"IcingaCheckCPU_Switchparameter_DisableProcessList":false,"IcingaCheckCPU_Switchparameter_OverallTotalAsSum":false,"ifw_api_command":"Invoke-IcingaCheckCPU","IcingaCheckCPU_Switchparameter_Limit100Percent":false}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a single core to check for. For the average load across all cores use `_Total`","caption":"Core","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCPU_String_Core","format":null},"9":{"settings":{"visibility":"visible"},"description":"If this flag is set, the Warning and Critical thresholds will only apply to the `Overall Load` metric instead of all\nreturned cores. Requires that the plugin either fetches all cores with `*` or `Total` for the -Core argument","caption":"OverallOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckCPU_Switchparameter_OverallOnly","format":null},"10":{"settings":{"visibility":"visible"},"description":"Changes the output of the overall total load to report the sum of all sockets combined instead of the default\naverage of all sockets","caption":"OverallTotalAsSum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckCPU_Switchparameter_OverallTotalAsSum","format":null},"12":{"settings":{"visibility":"visible"},"description":"If this flag is set, the plugin will limit the CPU usage for each thread to 100%. This happens on systems with Intel TurboBoost or AMD PBO (Precision Boost Overdrive) enabled.\nRead more about this behavior on the Microsoft docs: https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/cpu-usage-exceeds-100","caption":"Limit100Percent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckCPU_Switchparameter_Limit100Percent","format":null},"11":{"settings":{"visibility":"visible"},"description":"Disables the reporting of the top 10 CPU consuming process list","caption":"DisableProcessList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckCPU_Switchparameter_DisableProcessList","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"14":{"settings":{"datalist":"IcingaCheckCPU 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":"14","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckCPU_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckCPU_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Allows to specify one or mutlitple sockets by using their socket id. Not matching socket id\u0027s will not be evaluated\nby the plugin.","caption":"SocketFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckCPU_Array_SocketFilter","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCertificate.json b/config/director/Invoke-IcingaCheckCertificate.json index 41259f46..4d13a72b 100644 --- a/config/director/Invoke-IcingaCheckCertificate.json +++ b/config/director/Invoke-IcingaCheckCertificate.json @@ -1 +1 @@ -{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"None","entry_name":"None","format":"string"},{"allowed_roles":null,"entry_value":"*","entry_name":"*","format":"string"},{"allowed_roles":null,"entry_value":"LocalMachine","entry_name":"LocalMachine","format":"string"},{"allowed_roles":null,"entry_value":"CurrentUser","entry_name":"CurrentUser","format":"string"}],"owner":"cstein"},"IcingaCheckCertificate Verbosity":{"list_name":"IcingaCheckCertificate 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":"cstein"}},"Command":{"Invoke-IcingaCheckCertificate":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCertificate","arguments":{"-CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$","order":"9"},"-CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$","order":"4"},"-Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$","order":"12"},"-CertSubject":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertSubject$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CertStore":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$","set_if_format":"string","order":"99"},"-ExcludePattern":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_ExcludePattern$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false,"IcingaCheckCertificate_Switchparameter_Recurse":false,"ifw_api_arguments":{"CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$"},"CertPaths":{"value":"$IcingaCheckCertificate_Array_CertPaths$"},"CertName":{"value":"$IcingaCheckCertificate_Array_CertName$"},"CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$"},"Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$"},"ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$"},"CertThumbprint":{"value":"$IcingaCheckCertificate_Array_CertThumbprint$"},"CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$"},"CertSubject":{"value":"$IcingaCheckCertificate_Array_CertSubject$"},"IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$"},"Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$"},"CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$"},"WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$"},"ExcludePattern":{"value":"$IcingaCheckCertificate_Array_ExcludePattern$"},"Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$"}},"ifw_api_command":"Invoke-IcingaCheckCertificate","IcingaCheckCertificate_Switchparameter_Trusted":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Includes sub-directories and entries while looking for certificates on a given path","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"16","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"WarningEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to switch on trusted behavior. Whether to check, If the certificate is trusted by the system root.\nWill return Critical in case of untrusted.\n\nNote: it is currently required that the root and intermediate CA is known and trusted by the local system.","caption":"Trusted","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"18":{"settings":{"datalist":"IcingaCheckCertificate 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":"18","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name, Issuer and Thumbprint.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Thumbprints, which are used to determine what certificate to check, within the CertStore.","caption":"CertThumbprint","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"CriticalEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"17":{"settings":{"visibility":"visible"},"description":"Will return `OK` instead of `UNKNOWN`, in case no certificates for the given filter and path were found","caption":"IgnoreEmpty","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckCertificate_Switchparameter_IgnoreEmpty","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Subjects, which are used to determine what certificate to check, within the CertStore.","caption":"CertSubject","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"9":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027None\u0027, \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027.\nUse \u0027None\u0027 if you do not want to check the certificate store (Default)","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"9","varname":"IcingaCheckCertificate_String_CertStore","format":null},"14":{"settings":{"visibility":"visible"},"description":"Used to specify an array of paths on your system, where certificate files are. Use with CertName.","caption":"CertPaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"14","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify an array of certificate names of certificate files to check. Use with CertPaths.","caption":"CertName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckCertificate_Array_CertName","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a date. The start date of the certificate has to be past the date specified, otherwise the check results in critical. Use carefully.\nUse format like: \u0027yyyy-MM-dd\u0027","caption":"CriticalStart","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null}}} +{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"None","entry_name":"None","format":"string"},{"allowed_roles":null,"entry_value":"*","entry_name":"*","format":"string"},{"allowed_roles":null,"entry_value":"LocalMachine","entry_name":"LocalMachine","format":"string"},{"allowed_roles":null,"entry_value":"CurrentUser","entry_name":"CurrentUser","format":"string"}],"owner":"administrator"},"IcingaCheckCertificate Verbosity":{"list_name":"IcingaCheckCertificate 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":"administrator"}},"Command":{"Invoke-IcingaCheckCertificate":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCertificate","arguments":{"-CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$","order":"9"},"-CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$","order":"4"},"-Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$","order":"12"},"-CertSubject":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertSubject$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CertStore":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$","set_if_format":"string","order":"99"},"-ExcludePattern":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_ExcludePattern$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false,"IcingaCheckCertificate_Switchparameter_Recurse":false,"ifw_api_arguments":{"CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$"},"CertPaths":{"value":"$IcingaCheckCertificate_Array_CertPaths$"},"CertName":{"value":"$IcingaCheckCertificate_Array_CertName$"},"CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$"},"Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$"},"ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$"},"CertThumbprint":{"value":"$IcingaCheckCertificate_Array_CertThumbprint$"},"CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$"},"CertSubject":{"value":"$IcingaCheckCertificate_Array_CertSubject$"},"IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$"},"Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$"},"CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$"},"WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$"},"ExcludePattern":{"value":"$IcingaCheckCertificate_Array_ExcludePattern$"},"Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$"}},"ifw_api_command":"Invoke-IcingaCheckCertificate","IcingaCheckCertificate_Switchparameter_Trusted":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Includes sub-directories and entries while looking for certificates on a given path","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"16","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"WarningEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to switch on trusted behavior. Whether to check, If the certificate is trusted by the system root.\nWill return Critical in case of untrusted.\n\nNote: it is currently required that the root and intermediate CA is known and trusted by the local system.","caption":"Trusted","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"18":{"settings":{"datalist":"IcingaCheckCertificate 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":"18","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name, Issuer and Thumbprint.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Thumbprints, which are used to determine what certificate to check, within the CertStore.","caption":"CertThumbprint","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"CriticalEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"17":{"settings":{"visibility":"visible"},"description":"Will return `OK` instead of `UNKNOWN`, in case no certificates for the given filter and path were found","caption":"IgnoreEmpty","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckCertificate_Switchparameter_IgnoreEmpty","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Subjects, which are used to determine what certificate to check, within the CertStore.","caption":"CertSubject","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"9":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027None\u0027, \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027.\nUse \u0027None\u0027 if you do not want to check the certificate store (Default)","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"9","varname":"IcingaCheckCertificate_String_CertStore","format":null},"14":{"settings":{"visibility":"visible"},"description":"Used to specify an array of paths on your system, where certificate files are. Use with CertName.","caption":"CertPaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"14","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify an array of certificate names of certificate files to check. Use with CertPaths.","caption":"CertName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckCertificate_Array_CertName","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a date. The start date of the certificate has to be past the date specified, otherwise the check results in critical. Use carefully.\nUse format like: \u0027yyyy-MM-dd\u0027","caption":"CriticalStart","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCheckSum.json b/config/director/Invoke-IcingaCheckCheckSum.json index 56fdc72c..9e62fe83 100644 --- a/config/director/Invoke-IcingaCheckCheckSum.json +++ b/config/director/Invoke-IcingaCheckCheckSum.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckCheckSum Verbosity":{"list_name":"IcingaCheckCheckSum 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckCheckSum Algorithm":{"list_name":"IcingaCheckCheckSum Algorithm","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"SHA1","entry_name":"SHA1","format":"string"},{"allowed_roles":null,"entry_value":"SHA256","entry_name":"SHA256","format":"string"},{"allowed_roles":null,"entry_value":"SHA384","entry_name":"SHA384","format":"string"},{"allowed_roles":null,"entry_value":"SHA512","entry_name":"SHA512","format":"string"},{"allowed_roles":null,"entry_value":"MD5","entry_name":"MD5","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckCheckSum":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCheckSum","arguments":{"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Algorithm":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Hash":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Path":{"value":"$IcingaCheckCheckSum_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$"},"Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$"},"Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$"},"NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$"},"Hash":{"value":"$IcingaCheckCheckSum_String_Hash$"}},"ifw_api_command":"Invoke-IcingaCheckCheckSum"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCheckSum_String_Hash","format":null},"9":{"settings":{"datalist":"IcingaCheckCheckSum 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":"9","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"6":{"settings":{"datalist":"IcingaCheckCheckSum Algorithm","behavior":"strict","data_type":"string"},"description":"Used to specify a string, which contains the algorithm to be used.\n\nAllowed algorithms: \u0027SHA1\u0027, \u0027SHA256\u0027, \u0027SHA384\u0027, \u0027SHA512\u0027, \u0027MD5\u0027","caption":"Algorithm","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"5":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckCheckSum_String_Path","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null}}} +{"DataList":{"IcingaCheckCheckSum Verbosity":{"list_name":"IcingaCheckCheckSum 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckCheckSum Algorithm":{"list_name":"IcingaCheckCheckSum Algorithm","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"SHA1","entry_name":"SHA1","format":"string"},{"allowed_roles":null,"entry_value":"SHA256","entry_name":"SHA256","format":"string"},{"allowed_roles":null,"entry_value":"SHA384","entry_name":"SHA384","format":"string"},{"allowed_roles":null,"entry_value":"SHA512","entry_name":"SHA512","format":"string"},{"allowed_roles":null,"entry_value":"MD5","entry_name":"MD5","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckCheckSum":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCheckSum","arguments":{"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Algorithm":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Hash":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Path":{"value":"$IcingaCheckCheckSum_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$"},"Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$"},"Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$"},"NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$"},"Hash":{"value":"$IcingaCheckCheckSum_String_Hash$"}},"ifw_api_command":"Invoke-IcingaCheckCheckSum"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCheckSum_String_Hash","format":null},"9":{"settings":{"datalist":"IcingaCheckCheckSum 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":"9","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"6":{"settings":{"datalist":"IcingaCheckCheckSum Algorithm","behavior":"strict","data_type":"string"},"description":"Used to specify a string, which contains the algorithm to be used.\n\nAllowed algorithms: \u0027SHA1\u0027, \u0027SHA256\u0027, \u0027SHA384\u0027, \u0027SHA512\u0027, \u0027MD5\u0027","caption":"Algorithm","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"5":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckCheckSum_String_Path","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Invoke-IcingaCheckDirectory.json b/config/director/Invoke-IcingaCheckDirectory.json index 9f660c05..df322a2d 100644 --- a/config/director/Invoke-IcingaCheckDirectory.json +++ b/config/director/Invoke-IcingaCheckDirectory.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckDirectory Verbosity":{"list_name":"IcingaCheckDirectory 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckDirectory":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$","order":"7"},"-CreationOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"18"},"-FileSizeGreaterThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"20"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"22"},"-ChangeOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"16"},"-ChangeYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"15"},"-FileSizeSmallerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CreationTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"17"},"-CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$","set_if_format":"string","order":"99"},"-CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$","order":"11"},"-WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$","order":"8"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"19"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$","order":"6"},"-WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$","order":"12"},"-WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$","order":"10"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"},"-CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$","order":"9"},"-CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$","order":"13"},"-ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$","set_if_format":"string","order":"99"},"-ChangeTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"14"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_CountFolderAsFile":false,"ifw_api_arguments":{"CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$"},"WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$"},"CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$"},"WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$"},"CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$"},"WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$"},"NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$"},"ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$"},"CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$"},"ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$"},"CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$"},"CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$"},"FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$"},"WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$"},"ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$"},"FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$"},"Warning":{"value":"$IcingaCheckDirectory_Object_Warning$"},"Critical":{"value":"$IcingaCheckDirectory_Object_Critical$"},"ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$"},"ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$"},"FileNames":{"value":"$IcingaCheckDirectory_Array_FileNames$"},"CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$"},"Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$"},"Path":{"value":"$IcingaCheckDirectory_String_Path$"},"CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$"},"Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$"}},"IcingaCheckDirectory_Switchparameter_ShowFileList":false,"ifw_api_command":"Invoke-IcingaCheckDirectory","IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}}},"Datafield":{"11":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckDirectory_Object_CriticalTotalSize","format":null},"7":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"20":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been changed 20 days ago are considered within the check.","caption":"ChangeTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"12":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckDirectory_Object_WarningSmallestFile","format":null},"10":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckDirectory_Object_WarningTotalSize","format":null},"17":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckDirectory_Object_CriticalAverageFile","format":null},"13":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckDirectory_Object_CriticalSmallestFile","format":null},"27":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"5MB\", which translates to the filze size 5 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 5 MB or less are considered within the check.","caption":"FileSizeSmallerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"18":{"settings":{"visibility":"visible"},"description":"Will add the count of folders on top of the file count, allowing to include it within the threshold check.","caption":"CountFolderAsFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckDirectory_Switchparameter_CountFolderAsFile","format":null},"29":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"29","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"23":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been created 20 days ago are considered within the check.","caption":"CreationTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"19":{"settings":{"visibility":"visible"},"description":"Allows to add the file list to the plugin output. Beware that this will cause your database to grow and\nperformance might be slower on huge directories!","caption":"ShowFileList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckDirectory_Switchparameter_ShowFileList","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a path.\ne.g. \u0027C:\\Users\\Icinga\\Downloads\u0027","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckDirectory_String_Path","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"26":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20MB\", which translates to the filze size 20 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 20 MB or larger are considered within the check.","caption":"FileSizeGreaterThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"14":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckDirectory_Object_WarningLargestFile","format":null},"22":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date older then 20 days are considered within the check.","caption":"ChangeOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"28":{"settings":{"datalist":"IcingaCheckDirectory 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":"28","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"25":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date younger then 20 days are considered within the check.","caption":"CreationYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"9":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckDirectory_Object_Warning","format":null},"15":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckDirectory_Object_CriticalLargestFile","format":null},"21":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date younger then 20 days are considered within the check.","caption":"ChangeYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"24":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date older then 20 days are considered within the check.","caption":"CreationOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"16":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckDirectory_Object_WarningAverageFile","format":null},"8":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckDirectory_Object_Critical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify an array of filenames or expressions to match against results to filter for specific files.\n\ne.g \u0027*.txt\u0027, \u0027*.sql\u0027, finds all files ending with .txt and .sql","caption":"FileNames","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckDirectory_Array_FileNames","format":null}}} +{"DataList":{"IcingaCheckDirectory Verbosity":{"list_name":"IcingaCheckDirectory 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckDirectory":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$","order":"7"},"-CreationOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"18"},"-FileSizeGreaterThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"20"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"22"},"-ChangeOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"16"},"-ChangeYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"15"},"-FileSizeSmallerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CreationTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"17"},"-CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$","set_if_format":"string","order":"99"},"-CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$","order":"11"},"-WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$","order":"8"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"19"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$","order":"6"},"-WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$","order":"12"},"-WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$","order":"10"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"},"-CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$","order":"9"},"-CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$","order":"13"},"-ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$","set_if_format":"string","order":"99"},"-ChangeTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"14"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_CountFolderAsFile":false,"ifw_api_arguments":{"CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$"},"WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$"},"CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$"},"WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$"},"CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$"},"WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$"},"NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$"},"ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$"},"CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$"},"ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$"},"CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$"},"CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$"},"FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$"},"WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$"},"ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$"},"FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$"},"Warning":{"value":"$IcingaCheckDirectory_Object_Warning$"},"Critical":{"value":"$IcingaCheckDirectory_Object_Critical$"},"ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$"},"ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$"},"FileNames":{"value":"$IcingaCheckDirectory_Array_FileNames$"},"CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$"},"Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$"},"Path":{"value":"$IcingaCheckDirectory_String_Path$"},"CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$"},"Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$"}},"IcingaCheckDirectory_Switchparameter_ShowFileList":false,"ifw_api_command":"Invoke-IcingaCheckDirectory","IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}}},"Datafield":{"11":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckDirectory_Object_CriticalTotalSize","format":null},"7":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"20":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been changed 20 days ago are considered within the check.","caption":"ChangeTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"12":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckDirectory_Object_WarningSmallestFile","format":null},"10":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckDirectory_Object_WarningTotalSize","format":null},"17":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckDirectory_Object_CriticalAverageFile","format":null},"13":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckDirectory_Object_CriticalSmallestFile","format":null},"27":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"5MB\", which translates to the filze size 5 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 5 MB or less are considered within the check.","caption":"FileSizeSmallerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"18":{"settings":{"visibility":"visible"},"description":"Will add the count of folders on top of the file count, allowing to include it within the threshold check.","caption":"CountFolderAsFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckDirectory_Switchparameter_CountFolderAsFile","format":null},"29":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"29","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"23":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been created 20 days ago are considered within the check.","caption":"CreationTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"19":{"settings":{"visibility":"visible"},"description":"Allows to add the file list to the plugin output. Beware that this will cause your database to grow and\nperformance might be slower on huge directories!","caption":"ShowFileList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckDirectory_Switchparameter_ShowFileList","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a path.\ne.g. \u0027C:\\Users\\Icinga\\Downloads\u0027","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckDirectory_String_Path","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"26":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20MB\", which translates to the filze size 20 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 20 MB or larger are considered within the check.","caption":"FileSizeGreaterThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"14":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckDirectory_Object_WarningLargestFile","format":null},"22":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date older then 20 days are considered within the check.","caption":"ChangeOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"28":{"settings":{"datalist":"IcingaCheckDirectory 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":"28","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"25":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date younger then 20 days are considered within the check.","caption":"CreationYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"9":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckDirectory_Object_Warning","format":null},"15":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckDirectory_Object_CriticalLargestFile","format":null},"21":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date younger then 20 days are considered within the check.","caption":"ChangeYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"24":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date older then 20 days are considered within the check.","caption":"CreationOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"16":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckDirectory_Object_WarningAverageFile","format":null},"8":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckDirectory_Object_Critical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify an array of filenames or expressions to match against results to filter for specific files.\n\ne.g \u0027*.txt\u0027, \u0027*.sql\u0027, finds all files ending with .txt and .sql","caption":"FileNames","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckDirectory_Array_FileNames","format":null}}} diff --git a/config/director/Invoke-IcingaCheckDiskHealth.json b/config/director/Invoke-IcingaCheckDiskHealth.json index 2f28c449..ac663f3c 100644 --- a/config/director/Invoke-IcingaCheckDiskHealth.json +++ b/config/director/Invoke-IcingaCheckDiskHealth.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckDiskHealth Verbosity":{"list_name":"IcingaCheckDiskHealth 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckDiskHealth":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null},{"datafield_id":30,"is_required":"n","var_filter":null},{"datafield_id":31,"is_required":"n","var_filter":null},{"datafield_id":32,"is_required":"n","var_filter":null},{"datafield_id":33,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"16"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"15"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"12"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"23"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"11"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"14"},"-ExcludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"22"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"19"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"20"},"-IncludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"24"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"26"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"8"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"9"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"17"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"25"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"10"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"13"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"21"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$"},"NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$"},"DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$"},"CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$"},"Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$"},"DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$"},"ExcludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$"},"IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$"},"DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$"},"DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$"},"ExcludeDisk":{"value":"$IcingaCheckDiskHealth_Array_ExcludeDisk$"},"IncludeDisk":{"value":"$IcingaCheckDiskHealth_Array_IncludeDisk$"},"DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$"},"IncludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$"},"DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$"},"DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$"},"DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$"},"ExcludePartition":{"value":"$IcingaCheckDiskHealth_Array_ExcludePartition$"},"IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$"},"DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$"},"DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$"},"DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$"},"DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$"},"DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$"},"DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$"},"ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$"},"DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$"},"DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$"},"IncludePartition":{"value":"$IcingaCheckDiskHealth_Array_IncludePartition$"},"DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$"}},"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"ifw_api_command":"Invoke-IcingaCheckDiskHealth","IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"11":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"7":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to include for checks. Example C:, D:","caption":"IncludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"20":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to exclude from checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"ExcludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckDiskHealth_Array_ExcludeFriendlyName","format":null},"17":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"13":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"27":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"30":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Read Only` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreReadOnlyDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"30","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"18":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"29":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Offline` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreOfflineDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"29","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"23":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"19":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to include for checks. Example 0, 1","caption":"IncludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"26":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"22":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"28":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"25":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"9":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to include for checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"IncludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckDiskHealth_Array_IncludeFriendlyName","format":null},"33":{"settings":{"datalist":"IcingaCheckDiskHealth 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":"33","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"15":{"settings":{"visibility":"visible"},"description":"Warning threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"21":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"24":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"16":{"settings":{"visibility":"visible"},"description":"Critical threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"32":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"32","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"8":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to exclude from checks. Example C:, D:","caption":"ExcludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to exclude from checks. Example 0, 1","caption":"ExcludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"31":{"settings":{"visibility":"visible"},"description":"Set this to include only disks that have drive letters like C:, D:, ..., assigned to them. Can be combined with include/exclude filters","caption":"CheckLogicalOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"31","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null}}} +{"DataList":{"IcingaCheckDiskHealth Verbosity":{"list_name":"IcingaCheckDiskHealth 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckDiskHealth":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null},{"datafield_id":30,"is_required":"n","var_filter":null},{"datafield_id":31,"is_required":"n","var_filter":null},{"datafield_id":32,"is_required":"n","var_filter":null},{"datafield_id":33,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"16"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"15"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"12"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"23"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"11"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"14"},"-ExcludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"22"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"19"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"20"},"-IncludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"24"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"26"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"8"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"9"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"17"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"25"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"10"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"13"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"21"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$"},"NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$"},"DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$"},"CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$"},"Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$"},"DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$"},"ExcludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$"},"IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$"},"DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$"},"DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$"},"ExcludeDisk":{"value":"$IcingaCheckDiskHealth_Array_ExcludeDisk$"},"IncludeDisk":{"value":"$IcingaCheckDiskHealth_Array_IncludeDisk$"},"DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$"},"IncludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$"},"DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$"},"DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$"},"DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$"},"ExcludePartition":{"value":"$IcingaCheckDiskHealth_Array_ExcludePartition$"},"IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$"},"DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$"},"DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$"},"DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$"},"DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$"},"DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$"},"DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$"},"ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$"},"DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$"},"DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$"},"IncludePartition":{"value":"$IcingaCheckDiskHealth_Array_IncludePartition$"},"DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$"}},"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"ifw_api_command":"Invoke-IcingaCheckDiskHealth","IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"11":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"7":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to include for checks. Example C:, D:","caption":"IncludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"20":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to exclude from checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"ExcludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckDiskHealth_Array_ExcludeFriendlyName","format":null},"17":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"13":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"27":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"30":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Read Only` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreReadOnlyDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"30","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"18":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"29":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Offline` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreOfflineDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"29","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"23":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"19":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to include for checks. Example 0, 1","caption":"IncludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"26":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"22":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"28":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"25":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"9":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to include for checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"IncludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckDiskHealth_Array_IncludeFriendlyName","format":null},"33":{"settings":{"datalist":"IcingaCheckDiskHealth 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":"33","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"15":{"settings":{"visibility":"visible"},"description":"Warning threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"21":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"24":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"16":{"settings":{"visibility":"visible"},"description":"Critical threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"32":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"32","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"8":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to exclude from checks. Example C:, D:","caption":"ExcludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to exclude from checks. Example 0, 1","caption":"ExcludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"31":{"settings":{"visibility":"visible"},"description":"Set this to include only disks that have drive letters like C:, D:, ..., assigned to them. Can be combined with include/exclude filters","caption":"CheckLogicalOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"31","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null}}} diff --git a/config/director/Invoke-IcingaCheckEventlog.json b/config/director/Invoke-IcingaCheckEventlog.json index 38c3e8b8..a5b2f70f 100644 --- a/config/director/Invoke-IcingaCheckEventlog.json +++ b/config/director/Invoke-IcingaCheckEventlog.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckEventlog IncludeEntryType":{"list_name":"IcingaCheckEventlog IncludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckEventlog Verbosity":{"list_name":"IcingaCheckEventlog 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":"cstein"},"IcingaCheckEventlog ExcludeEntryType":{"list_name":"IcingaCheckEventlog ExcludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckEventlog":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"17"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-LogName":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-AcknowledgeId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_AcknowledgeId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"16"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"19"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"20"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-ProblemId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ProblemId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"15"},"-DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckEventlog_Object_Warning$","order":"2"},"-IncludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false,"ifw_api_arguments":{"IncludeEventId":{"value":"$IcingaCheckEventlog_Array_IncludeEventId$"},"DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$"},"ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$"},"AcknowledgeId":{"value":"$IcingaCheckEventlog_Array_AcknowledgeId$"},"ExcludeEventId":{"value":"$IcingaCheckEventlog_Array_ExcludeEventId$"},"Before":{"value":"$IcingaCheckEventlog_Object_Before$"},"IncludeEntryType":{"value":"$IcingaCheckEventlog_Array_IncludeEntryType$"},"LogName":{"value":"$IcingaCheckEventlog_String_LogName$"},"ProblemId":{"value":"$IcingaCheckEventlog_Array_ProblemId$"},"ExcludeEntryType":{"value":"$IcingaCheckEventlog_Array_ExcludeEntryType$"},"IncludeSource":{"value":"$IcingaCheckEventlog_Array_IncludeSource$"},"Warning":{"value":"$IcingaCheckEventlog_Object_Warning$"},"MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$"},"Critical":{"value":"$IcingaCheckEventlog_Object_Critical$"},"ExcludeUsername":{"value":"$IcingaCheckEventlog_Array_ExcludeUsername$"},"After":{"value":"$IcingaCheckEventlog_Object_After$"},"IncludeUsername":{"value":"$IcingaCheckEventlog_Array_IncludeUsername$"},"NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$"},"ExcludeSource":{"value":"$IcingaCheckEventlog_Array_ExcludeSource$"},"IncludeMessage":{"value":"$IcingaCheckEventlog_Array_IncludeMessage$"},"ExcludeMessage":{"value":"$IcingaCheckEventlog_Array_ExcludeMessage$"},"Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckEventlog","IcingaCheckEventlog_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be included.","caption":"IncludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"16","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckEventlog_String_LogName","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckEventlog_Object_Warning","format":null},"21":{"settings":{"visibility":"visible"},"description":"Defines the end point on which timeframe the plugin will stop to read event log information.\nUsing 2h as argument as example, will ignore all events of the past 2 hours from the time the plugin was executed. This should be\nused in combination with the \"-After\" argument. As example, you could provide \"-After 6h\" to start reading all eventlogs from the past\n6 hours, and use \"-Before 2h\" to skip the last 2 hours. In this scenario, would receive 4 hours of eventlogs, while the last 2 hours\nhave been ignored.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will stop reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will stop reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will ignore eventlogs of the past 4 hours\n\"1d\": Will ignore eventlogs of the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 6h Before 2h v\n|-------------|------------------|------|\n8:00 10:00 14:00 16:00\n| Not fetched | Fetched | Not fetched```","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckEventlog_Object_Before","format":null},"18":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as problems. These event IDs will be compared to the provided AcknowledgeIds.\nIf no event ID for an AcknowledgeId is found after the corresponding problem event ID has occurred, it will be marked as a problem.\nIf you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds. If you have multiple ProblemIds but only one AcknowledgeId,\nyou need to add the AcknowledgeId multiple times to the AcknowledgeIds array.","caption":"ProblemId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"18","varname":"IcingaCheckEventlog_Array_ProblemId","format":null},"12":{"settings":{"datalist":"IcingaCheckEventlog IncludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be included. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"IncludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"12","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be included.","caption":"IncludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Allows to limit the amount of log entries fetched by Get-WinEvent, to increase performance and reduce system load impact\nShould match the average amount of log files written for the intended time range filtered","caption":"MaxEntries","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"22","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be included.","caption":"IncludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"17":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be excluded.","caption":"ExcludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"17","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be excluded.","caption":"ExcludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be excluded.","caption":"ExcludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"24":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"24","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"14":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be included.","caption":"IncludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"14","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"20":{"settings":{"visibility":"visible"},"description":"Defines the starting point on which timeframe the plugin will start to read event log information.\nUsing 4h as argument as example, will provide all entries from the time the plugin was executed to the past 4 hours.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will start reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will start reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will read the past 4 hours\n\"1d\": Will read the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 4h v\n|--------------------|-----------------|\n10:00 12:00 16:00\n| Not fetched | Fetched |```","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckEventlog_Object_After","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be excluded.","caption":"ExcludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"25":{"settings":{"datalist":"IcingaCheckEventlog 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":"25","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"23":{"settings":{"visibility":"visible"},"description":"Switch to disable the time cache on a check. If this parameter is set the time cache is disabled.\nAfter the check has been run once, the next check instance will filter through the eventlog from the point the last check ended.\nThis is due to the time cache, when disabled the whole eventlog is checked instead.","caption":"DisableTimeCache","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"23","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckEventlog_Object_Critical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as acknowledged. These event IDs will be compared to the provided ProblemIds.\nIf no event ID for a ProblemId is found it will be marked as a problem. If you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds.\nIf you have multiple ProblemIds but only one AcknowledgeId, you need to add the AcknowledgeId multiple times to this array.","caption":"AcknowledgeId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"19","varname":"IcingaCheckEventlog_Array_AcknowledgeId","format":null},"13":{"settings":{"datalist":"IcingaCheckEventlog ExcludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be excluded. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"ExcludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"13","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null}}} +{"DataList":{"IcingaCheckEventlog IncludeEntryType":{"list_name":"IcingaCheckEventlog IncludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckEventlog Verbosity":{"list_name":"IcingaCheckEventlog 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":"administrator"},"IcingaCheckEventlog ExcludeEntryType":{"list_name":"IcingaCheckEventlog ExcludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckEventlog":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"17"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-LogName":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-AcknowledgeId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_AcknowledgeId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"16"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"19"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"20"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-ProblemId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ProblemId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"15"},"-DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckEventlog_Object_Warning$","order":"2"},"-IncludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false,"ifw_api_arguments":{"IncludeEventId":{"value":"$IcingaCheckEventlog_Array_IncludeEventId$"},"DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$"},"ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$"},"AcknowledgeId":{"value":"$IcingaCheckEventlog_Array_AcknowledgeId$"},"ExcludeEventId":{"value":"$IcingaCheckEventlog_Array_ExcludeEventId$"},"Before":{"value":"$IcingaCheckEventlog_Object_Before$"},"IncludeEntryType":{"value":"$IcingaCheckEventlog_Array_IncludeEntryType$"},"LogName":{"value":"$IcingaCheckEventlog_String_LogName$"},"ProblemId":{"value":"$IcingaCheckEventlog_Array_ProblemId$"},"ExcludeEntryType":{"value":"$IcingaCheckEventlog_Array_ExcludeEntryType$"},"IncludeSource":{"value":"$IcingaCheckEventlog_Array_IncludeSource$"},"Warning":{"value":"$IcingaCheckEventlog_Object_Warning$"},"MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$"},"Critical":{"value":"$IcingaCheckEventlog_Object_Critical$"},"ExcludeUsername":{"value":"$IcingaCheckEventlog_Array_ExcludeUsername$"},"After":{"value":"$IcingaCheckEventlog_Object_After$"},"IncludeUsername":{"value":"$IcingaCheckEventlog_Array_IncludeUsername$"},"NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$"},"ExcludeSource":{"value":"$IcingaCheckEventlog_Array_ExcludeSource$"},"IncludeMessage":{"value":"$IcingaCheckEventlog_Array_IncludeMessage$"},"ExcludeMessage":{"value":"$IcingaCheckEventlog_Array_ExcludeMessage$"},"Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckEventlog","IcingaCheckEventlog_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be included.","caption":"IncludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"16","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckEventlog_String_LogName","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckEventlog_Object_Warning","format":null},"21":{"settings":{"visibility":"visible"},"description":"Defines the end point on which timeframe the plugin will stop to read event log information.\nUsing 2h as argument as example, will ignore all events of the past 2 hours from the time the plugin was executed. This should be\nused in combination with the \"-After\" argument. As example, you could provide \"-After 6h\" to start reading all eventlogs from the past\n6 hours, and use \"-Before 2h\" to skip the last 2 hours. In this scenario, would receive 4 hours of eventlogs, while the last 2 hours\nhave been ignored.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will stop reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will stop reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will ignore eventlogs of the past 4 hours\n\"1d\": Will ignore eventlogs of the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 6h Before 2h v\n|-------------|------------------|------|\n8:00 10:00 14:00 16:00\n| Not fetched | Fetched | Not fetched```","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckEventlog_Object_Before","format":null},"18":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as problems. These event IDs will be compared to the provided AcknowledgeIds.\nIf no event ID for an AcknowledgeId is found after the corresponding problem event ID has occurred, it will be marked as a problem.\nIf you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds. If you have multiple ProblemIds but only one AcknowledgeId,\nyou need to add the AcknowledgeId multiple times to the AcknowledgeIds array.","caption":"ProblemId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"18","varname":"IcingaCheckEventlog_Array_ProblemId","format":null},"12":{"settings":{"datalist":"IcingaCheckEventlog IncludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be included. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"IncludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"12","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be included.","caption":"IncludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Allows to limit the amount of log entries fetched by Get-WinEvent, to increase performance and reduce system load impact\nShould match the average amount of log files written for the intended time range filtered","caption":"MaxEntries","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"22","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be included.","caption":"IncludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"17":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be excluded.","caption":"ExcludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"17","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be excluded.","caption":"ExcludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be excluded.","caption":"ExcludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"24":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"24","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"14":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be included.","caption":"IncludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"14","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"20":{"settings":{"visibility":"visible"},"description":"Defines the starting point on which timeframe the plugin will start to read event log information.\nUsing 4h as argument as example, will provide all entries from the time the plugin was executed to the past 4 hours.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will start reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will start reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will read the past 4 hours\n\"1d\": Will read the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 4h v\n|--------------------|-----------------|\n10:00 12:00 16:00\n| Not fetched | Fetched |```","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckEventlog_Object_After","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be excluded.","caption":"ExcludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"25":{"settings":{"datalist":"IcingaCheckEventlog 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":"25","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"23":{"settings":{"visibility":"visible"},"description":"Switch to disable the time cache on a check. If this parameter is set the time cache is disabled.\nAfter the check has been run once, the next check instance will filter through the eventlog from the point the last check ended.\nThis is due to the time cache, when disabled the whole eventlog is checked instead.","caption":"DisableTimeCache","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"23","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckEventlog_Object_Critical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as acknowledged. These event IDs will be compared to the provided ProblemIds.\nIf no event ID for a ProblemId is found it will be marked as a problem. If you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds.\nIf you have multiple ProblemIds but only one AcknowledgeId, you need to add the AcknowledgeId multiple times to this array.","caption":"AcknowledgeId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"19","varname":"IcingaCheckEventlog_Array_AcknowledgeId","format":null},"13":{"settings":{"datalist":"IcingaCheckEventlog ExcludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be excluded. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"ExcludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"13","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null}}} diff --git a/config/director/Invoke-IcingaCheckFirewall.json b/config/director/Invoke-IcingaCheckFirewall.json index f8abfd6c..1ee287b1 100644 --- a/config/director/Invoke-IcingaCheckFirewall.json +++ b/config/director/Invoke-IcingaCheckFirewall.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckFirewall Verbosity":{"list_name":"IcingaCheckFirewall 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckFirewall":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckFirewall","arguments":{"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckFirewall_Array_Profile$"},"Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$"},"Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$"}},"ifw_api_command":"Invoke-IcingaCheckFirewall","IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify whether the firewall profiles should be enabled or disabled.\n\n-Enabled $TRUE translates to enabled, while not being specified translates to disabled.","caption":"Enabled","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of profiles to check. Available profiles are \u0027Domain\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckFirewall_Array_Profile","format":null},"8":{"settings":{"datalist":"IcingaCheckFirewall 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":"8","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null}}} +{"DataList":{"IcingaCheckFirewall Verbosity":{"list_name":"IcingaCheckFirewall 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckFirewall":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckFirewall","arguments":{"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckFirewall_Array_Profile$"},"Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$"},"Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$"}},"ifw_api_command":"Invoke-IcingaCheckFirewall","IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify whether the firewall profiles should be enabled or disabled.\n\n-Enabled $TRUE translates to enabled, while not being specified translates to disabled.","caption":"Enabled","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of profiles to check. Available profiles are \u0027Domain\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckFirewall_Array_Profile","format":null},"8":{"settings":{"datalist":"IcingaCheckFirewall 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":"8","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckHTTPStatus.json b/config/director/Invoke-IcingaCheckHTTPStatus.json index 389a0201..5466411f 100644 --- a/config/director/Invoke-IcingaCheckHTTPStatus.json +++ b/config/director/Invoke-IcingaCheckHTTPStatus.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckHTTPStatus Verbosity":{"list_name":"IcingaCheckHTTPStatus 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckHTTPStatus":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$","order":"16"},"-Content":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Content$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-ProxyUsername":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_Password$\u0027)","order":"9"},"-Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$","order":"2"},"-ProxyServer":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Url":{"value":"$IcingaCheckHTTPStatus_Array_Url$"},"Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$"},"Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHTTPStatus_String_Username$"},"Password":{"value":"$IcingaCheckHTTPStatus_Securestring_Password$"},"Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$"},"ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$"},"VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$"},"Content":{"value":"$IcingaCheckHTTPStatus_Array_Content$"},"AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$"},"IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$"},"ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$"},"Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$"},"Headers":{"value":"$IcingaCheckHTTPStatus_Array_Headers$"},"Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$"},"StatusCode":{"value":"$IcingaCheckHTTPStatus_Array_StatusCode$"},"NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$"},"ProxyServer":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$"},"ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$"},"Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$"},"ProxyPassword":{"value":"$IcingaCheckHTTPStatus_Securestring_ProxyPassword$"}},"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent":false,"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit":false,"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL":false,"ifw_api_command":"Invoke-IcingaCheckHTTPStatus","IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Used to specify an array of regex-match-strings to match against the content of the webrequest response.","caption":"Content","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"16","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify the URL of the host to check http as string. Use \u0027http://\u0027 or \u0027https://\u0027 to actively chose a protocol. Likewise \u0027:80\u0027 or any other port number to specify a port, etc.","caption":"Url","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time warning threshold in seconds, everything past that threshold is considered a WARNING.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"21":{"settings":{"visibility":"visible"},"description":"By default the plugin will return UNKNOWN in case a connection to a webserver is not possible. By using this\nflag, the result will be modified from UNKNOWN to CRITICAL","caption":"ConnectionErrAsCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"21","varname":"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit","format":null},"18":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"18","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"12":{"settings":{"visibility":"hidden"},"description":"Used to specify a password as securestring to authenticate with. Authentication is only possible with \u0027https://\u0027.Use with: -Username","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify the timeout in seconds of the webrequest as integer. The default is 10 for 10 seconds.","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"10","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Use this flag to ignore SSL errors in case your endpoints are not trusted by the client or you are using self-signed certificates.","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckHTTPStatus_String_VHost","format":null},"17":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"17","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify a username as string to authenticate with. Authentication is only possible with \u0027https://\u0027. Use with: -Password","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify headers as Array. Like: -Headers \u0027Accept:application/json\u0027","caption":"Headers","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"24":{"settings":{"datalist":"IcingaCheckHTTPStatus 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":"24","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"14":{"settings":{"visibility":"hidden"},"description":"Used to specify a proxy password as securestring to authenticate with. Use with: -ProxyUsername \u0026 -ProxyServer","caption":"ProxyPassword","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"20":{"settings":{"visibility":"visible"},"description":"Adds the returned content of a website to the plugin output for debugging purpose","caption":"AddOutputContent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"20","varname":"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckHTTPStatus_String_ProxyServer","format":null},"23":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"23","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time critical threshold in seconds, everything past that threshold is considered a CRITICAL.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy username as string to authenticate with. Use with: -ProxyPassword \u0026 -ProxyServer","caption":"ProxyUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null}}} +{"DataList":{"IcingaCheckHTTPStatus Verbosity":{"list_name":"IcingaCheckHTTPStatus 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckHTTPStatus":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$","order":"16"},"-Content":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Content$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-ProxyUsername":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_Password$\u0027)","order":"9"},"-Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$","order":"2"},"-ProxyServer":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Url":{"value":"$IcingaCheckHTTPStatus_Array_Url$"},"Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$"},"Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHTTPStatus_String_Username$"},"Password":{"value":"$IcingaCheckHTTPStatus_Securestring_Password$"},"Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$"},"ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$"},"VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$"},"Content":{"value":"$IcingaCheckHTTPStatus_Array_Content$"},"AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$"},"IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$"},"ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$"},"Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$"},"Headers":{"value":"$IcingaCheckHTTPStatus_Array_Headers$"},"Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$"},"StatusCode":{"value":"$IcingaCheckHTTPStatus_Array_StatusCode$"},"NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$"},"ProxyServer":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$"},"ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$"},"Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$"},"ProxyPassword":{"value":"$IcingaCheckHTTPStatus_Securestring_ProxyPassword$"}},"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent":false,"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit":false,"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL":false,"ifw_api_command":"Invoke-IcingaCheckHTTPStatus","IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Used to specify an array of regex-match-strings to match against the content of the webrequest response.","caption":"Content","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"16","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify the URL of the host to check http as string. Use \u0027http://\u0027 or \u0027https://\u0027 to actively chose a protocol. Likewise \u0027:80\u0027 or any other port number to specify a port, etc.","caption":"Url","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time warning threshold in seconds, everything past that threshold is considered a WARNING.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"21":{"settings":{"visibility":"visible"},"description":"By default the plugin will return UNKNOWN in case a connection to a webserver is not possible. By using this\nflag, the result will be modified from UNKNOWN to CRITICAL","caption":"ConnectionErrAsCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"21","varname":"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit","format":null},"18":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"18","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"12":{"settings":{"visibility":"hidden"},"description":"Used to specify a password as securestring to authenticate with. Authentication is only possible with \u0027https://\u0027.Use with: -Username","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify the timeout in seconds of the webrequest as integer. The default is 10 for 10 seconds.","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"10","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Use this flag to ignore SSL errors in case your endpoints are not trusted by the client or you are using self-signed certificates.","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckHTTPStatus_String_VHost","format":null},"17":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"17","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify a username as string to authenticate with. Authentication is only possible with \u0027https://\u0027. Use with: -Password","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify headers as Array. Like: -Headers \u0027Accept:application/json\u0027","caption":"Headers","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"24":{"settings":{"datalist":"IcingaCheckHTTPStatus 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":"24","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"14":{"settings":{"visibility":"hidden"},"description":"Used to specify a proxy password as securestring to authenticate with. Use with: -ProxyUsername \u0026 -ProxyServer","caption":"ProxyPassword","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"20":{"settings":{"visibility":"visible"},"description":"Adds the returned content of a website to the plugin output for debugging purpose","caption":"AddOutputContent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"20","varname":"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckHTTPStatus_String_ProxyServer","format":null},"23":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"23","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time critical threshold in seconds, everything past that threshold is considered a CRITICAL.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy username as string to authenticate with. Use with: -ProxyPassword \u0026 -ProxyServer","caption":"ProxyUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null}}} diff --git a/config/director/Invoke-IcingaCheckHttpJsonResponse.json b/config/director/Invoke-IcingaCheckHttpJsonResponse.json index c714a1b9..2b821764 100644 --- a/config/director/Invoke-IcingaCheckHttpJsonResponse.json +++ b/config/director/Invoke-IcingaCheckHttpJsonResponse.json @@ -1 +1 @@ -{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckHttpJsonResponse Verbosity":{"list_name":"IcingaCheckHttpJsonResponse 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":"cstein"},"IcingaCheckHttpJsonResponse StatusOnRequestError":{"list_name":"IcingaCheckHttpJsonResponse StatusOnRequestError","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"OK","entry_name":"OK","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckHttpJsonResponse":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckHttpJsonResponse","arguments":{"-ServerPath":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$","order":"13"},"-StatusOnRequestError":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHttpJsonResponse_Securestring_Password$\u0027)","order":"6"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-ValuePaths":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValuePaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ValueTypes":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValueTypes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ServerUri":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Critical":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Critical$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$","order":"7"},"-Warning":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Warning$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-QueryParameter":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults":false,"ifw_api_arguments":{"QueryParameter":{"value":"$IcingaCheckHttpJsonResponse_String_QueryParameter$"},"Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHttpJsonResponse_String_Username$"},"Password":{"value":"$IcingaCheckHttpJsonResponse_Securestring_Password$"},"ValueTypes":{"value":"$IcingaCheckHttpJsonResponse_Array_ValueTypes$"},"ThresholdInterval":{"value":"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$"},"IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$"},"ServerPath":{"value":"$IcingaCheckHttpJsonResponse_String_ServerPath$"},"NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$"},"Warning":{"value":"$IcingaCheckHttpJsonResponse_Array_Warning$"},"Critical":{"value":"$IcingaCheckHttpJsonResponse_Array_Critical$"},"ValuePaths":{"value":"$IcingaCheckHttpJsonResponse_Array_ValuePaths$"},"StatusOnRequestError":{"value":"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$"},"NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$"},"Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$"},"ServerUri":{"value":"$IcingaCheckHttpJsonResponse_String_ServerUri$"}},"ifw_api_command":"Invoke-IcingaCheckHttpJsonResponse","IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL":false,"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"datalist":"IcingaCheckHttpJsonResponse StatusOnRequestError","behavior":"strict","data_type":"string"},"description":"Status to set when the webservice cannot be reached or an error (e.g. 500) is returned - default is Unknown\nSee https://icinga.com/docs/icinga-for-windows/latest/plugins/doc/10-Icinga-Plugins/ for description of threshold values","caption":"StatusOnRequestError","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"16","varname":"IcingaCheckHttpJsonResponse_String_StatusOnRequestError","format":null},"7":{"settings":{"visibility":"visible"},"description":"Query parameter for the request without ?, example \"command=example\"","caption":"QueryParameter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckHttpJsonResponse_String_QueryParameter","format":null},"5":{"settings":{"visibility":"visible"},"description":"Base URI of the server, example \"https://example.comm\"","caption":"ServerUri","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckHttpJsonResponse_String_ServerUri","format":null},"18":{"settings":{"datalist":"IcingaCheckHttpJsonResponse 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":"18","varname":"IcingaCheckHttpJsonResponse_Int32_Verbosity","format":null},"12":{"settings":{"visibility":"visible"},"description":"Value types of each parameter. Supported Types: Numeric, Boolean, DateTime, String Example: \"myAlias01:Numeric\",\"myAlias02:DateTime\"","caption":"ValueTypes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckHttpJsonResponse_Array_ValueTypes","format":null},"10":{"settings":{"visibility":"visible"},"description":"Timeout in seconds before the http request is aborted. Defaults to 30","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"10","varname":"IcingaCheckHttpJsonResponse_Int32_Timeout","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Credentials to use for basic auth","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckHttpJsonResponse_String_Username","format":null},"17":{"settings":{"visibility":"visible"},"description":"Negate the conditions set for string parameters. When this is set to true, WarnIfLike/CritIfLike is used instead of WarnIfNotLike/CritIfNotLike for Strings","caption":"NegateStringResults","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults","format":null},"11":{"settings":{"visibility":"visible"},"description":"paths to look for values in the JSON object that is checked, including an alias for each parameter. Example: \"myAlias01:value01\",\"myAlias02:nested.object.value02\", \"myAlias03:\u0027object\u0027.\u0027my.Par.With.Dots\u0027\"","caption":"ValuePaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckHttpJsonResponse_Array_ValuePaths","format":null},"9":{"settings":{"visibility":"hidden"},"description":"Credentials to use for basic auth","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckHttpJsonResponse_Securestring_Password","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"14","varname":"IcingaCheckHttpJsonResponse_Array_Critical","format":null},"15":{"settings":{"visibility":"visible"},"description":"Disables SSL verification and allows the connection to endpoints with self-signed certificates as example","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"15","varname":"IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL","format":null},"6":{"settings":{"visibility":"visible"},"description":"Path for the request, example \"/v1/my_endpoint\"","caption":"ServerPath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckHttpJsonResponse_String_ServerPath","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckHttpJsonResponse_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData","format":null},"13":{"settings":{"visibility":"visible"},"description":"Warning thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"13","varname":"IcingaCheckHttpJsonResponse_Array_Warning","format":null}}} +{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckHttpJsonResponse Verbosity":{"list_name":"IcingaCheckHttpJsonResponse 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":"administrator"},"IcingaCheckHttpJsonResponse StatusOnRequestError":{"list_name":"IcingaCheckHttpJsonResponse StatusOnRequestError","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"OK","entry_name":"OK","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckHttpJsonResponse":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckHttpJsonResponse","arguments":{"-ServerPath":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$","order":"13"},"-StatusOnRequestError":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHttpJsonResponse_Securestring_Password$\u0027)","order":"6"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-ValuePaths":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValuePaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ValueTypes":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValueTypes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ServerUri":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Critical":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Critical$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$","order":"7"},"-Warning":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Warning$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-QueryParameter":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults":false,"ifw_api_arguments":{"QueryParameter":{"value":"$IcingaCheckHttpJsonResponse_String_QueryParameter$"},"Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHttpJsonResponse_String_Username$"},"Password":{"value":"$IcingaCheckHttpJsonResponse_Securestring_Password$"},"ValueTypes":{"value":"$IcingaCheckHttpJsonResponse_Array_ValueTypes$"},"ThresholdInterval":{"value":"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$"},"IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$"},"ServerPath":{"value":"$IcingaCheckHttpJsonResponse_String_ServerPath$"},"NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$"},"Warning":{"value":"$IcingaCheckHttpJsonResponse_Array_Warning$"},"Critical":{"value":"$IcingaCheckHttpJsonResponse_Array_Critical$"},"ValuePaths":{"value":"$IcingaCheckHttpJsonResponse_Array_ValuePaths$"},"StatusOnRequestError":{"value":"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$"},"NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$"},"Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$"},"ServerUri":{"value":"$IcingaCheckHttpJsonResponse_String_ServerUri$"}},"ifw_api_command":"Invoke-IcingaCheckHttpJsonResponse","IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL":false,"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"datalist":"IcingaCheckHttpJsonResponse StatusOnRequestError","behavior":"strict","data_type":"string"},"description":"Status to set when the webservice cannot be reached or an error (e.g. 500) is returned - default is Unknown\nSee https://icinga.com/docs/icinga-for-windows/latest/plugins/doc/10-Icinga-Plugins/ for description of threshold values","caption":"StatusOnRequestError","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"16","varname":"IcingaCheckHttpJsonResponse_String_StatusOnRequestError","format":null},"7":{"settings":{"visibility":"visible"},"description":"Query parameter for the request without ?, example \"command=example\"","caption":"QueryParameter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckHttpJsonResponse_String_QueryParameter","format":null},"5":{"settings":{"visibility":"visible"},"description":"Base URI of the server, example \"https://example.comm\"","caption":"ServerUri","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckHttpJsonResponse_String_ServerUri","format":null},"18":{"settings":{"datalist":"IcingaCheckHttpJsonResponse 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":"18","varname":"IcingaCheckHttpJsonResponse_Int32_Verbosity","format":null},"12":{"settings":{"visibility":"visible"},"description":"Value types of each parameter. Supported Types: Numeric, Boolean, DateTime, String Example: \"myAlias01:Numeric\",\"myAlias02:DateTime\"","caption":"ValueTypes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckHttpJsonResponse_Array_ValueTypes","format":null},"10":{"settings":{"visibility":"visible"},"description":"Timeout in seconds before the http request is aborted. Defaults to 30","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"10","varname":"IcingaCheckHttpJsonResponse_Int32_Timeout","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Credentials to use for basic auth","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckHttpJsonResponse_String_Username","format":null},"17":{"settings":{"visibility":"visible"},"description":"Negate the conditions set for string parameters. When this is set to true, WarnIfLike/CritIfLike is used instead of WarnIfNotLike/CritIfNotLike for Strings","caption":"NegateStringResults","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults","format":null},"11":{"settings":{"visibility":"visible"},"description":"paths to look for values in the JSON object that is checked, including an alias for each parameter. Example: \"myAlias01:value01\",\"myAlias02:nested.object.value02\", \"myAlias03:\u0027object\u0027.\u0027my.Par.With.Dots\u0027\"","caption":"ValuePaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckHttpJsonResponse_Array_ValuePaths","format":null},"9":{"settings":{"visibility":"hidden"},"description":"Credentials to use for basic auth","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckHttpJsonResponse_Securestring_Password","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"14","varname":"IcingaCheckHttpJsonResponse_Array_Critical","format":null},"15":{"settings":{"visibility":"visible"},"description":"Disables SSL verification and allows the connection to endpoints with self-signed certificates as example","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"15","varname":"IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL","format":null},"6":{"settings":{"visibility":"visible"},"description":"Path for the request, example \"/v1/my_endpoint\"","caption":"ServerPath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckHttpJsonResponse_String_ServerPath","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckHttpJsonResponse_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData","format":null},"13":{"settings":{"visibility":"visible"},"description":"Warning thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"13","varname":"IcingaCheckHttpJsonResponse_Array_Warning","format":null}}} diff --git a/config/director/Invoke-IcingaCheckICMP.json b/config/director/Invoke-IcingaCheckICMP.json index 02e5ef33..612459aa 100644 --- a/config/director/Invoke-IcingaCheckICMP.json +++ b/config/director/Invoke-IcingaCheckICMP.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckICMP Verbosity":{"list_name":"IcingaCheckICMP 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckICMP":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$"},"Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$"},"Hostname":{"value":"$IcingaCheckICMP_String_Hostname$"},"CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$"},"WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$"},"NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckICMP_Object_Critical$"},"IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$"},"Warning":{"value":"$IcingaCheckICMP_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$"},"PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$"},"IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$"}},"ifw_api_command":"Invoke-IcingaCheckICMP","IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for possible packet loss in %","caption":"WarningPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"5":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for the response time in ms","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckICMP_Object_Warning","format":null},"12":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv4 addresses for ICMP calls by using a hostname","caption":"IPv4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"10":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"10","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for possible packet loss in %","caption":"CriticalPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"11":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"11","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"9":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckICMP_String_Hostname","format":null},"14":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"14","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"15":{"settings":{"datalist":"IcingaCheckICMP 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":"15","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"6":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for the response time in ms","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckICMP_Object_Critical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv6 addresses for ICMP calls by using a hostname","caption":"IPv6","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null}}} +{"DataList":{"IcingaCheckICMP Verbosity":{"list_name":"IcingaCheckICMP 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckICMP":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$"},"Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$"},"Hostname":{"value":"$IcingaCheckICMP_String_Hostname$"},"CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$"},"WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$"},"NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckICMP_Object_Critical$"},"IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$"},"Warning":{"value":"$IcingaCheckICMP_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$"},"PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$"},"IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$"}},"ifw_api_command":"Invoke-IcingaCheckICMP","IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for possible packet loss in %","caption":"WarningPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"5":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for the response time in ms","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckICMP_Object_Warning","format":null},"12":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv4 addresses for ICMP calls by using a hostname","caption":"IPv4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"10":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"10","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for possible packet loss in %","caption":"CriticalPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"11":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"11","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"9":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckICMP_String_Hostname","format":null},"14":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"14","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"15":{"settings":{"datalist":"IcingaCheckICMP 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":"15","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"6":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for the response time in ms","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckICMP_Object_Critical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv6 addresses for ICMP calls by using a hostname","caption":"IPv6","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null}}} diff --git a/config/director/Invoke-IcingaCheckMPIO.json b/config/director/Invoke-IcingaCheckMPIO.json index 41f71d14..8e4b3fe1 100644 --- a/config/director/Invoke-IcingaCheckMPIO.json +++ b/config/director/Invoke-IcingaCheckMPIO.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckMPIO Verbosity":{"list_name":"IcingaCheckMPIO 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckMPIO","arguments":{"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"value":"$IcingaCheckMPIO_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMPIO_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMPIO_Object_Critical$"},"Warning":{"value":"$IcingaCheckMPIO_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMPIO"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the number of path defined.\nUse for example 6: for alerting for less than 6 MPIO paths available","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckMPIO_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the number of path defined.\nUse for example 8: for alerting for less than 8 MPIO paths available","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckMPIO_Object_Warning","format":null},"8":{"settings":{"datalist":"IcingaCheckMPIO 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":"8","varname":"IcingaCheckMPIO_Object_Verbosity","format":null}}} +{"DataList":{"IcingaCheckMPIO Verbosity":{"list_name":"IcingaCheckMPIO 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckMPIO","arguments":{"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"value":"$IcingaCheckMPIO_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMPIO_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMPIO_Object_Critical$"},"Warning":{"value":"$IcingaCheckMPIO_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMPIO"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the number of path defined.\nUse for example 6: for alerting for less than 6 MPIO paths available","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckMPIO_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the number of path defined.\nUse for example 8: for alerting for less than 8 MPIO paths available","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckMPIO_Object_Warning","format":null},"8":{"settings":{"datalist":"IcingaCheckMPIO 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":"8","varname":"IcingaCheckMPIO_Object_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckMemory.json b/config/director/Invoke-IcingaCheckMemory.json index b294b7c7..b99d10d8 100644 --- a/config/director/Invoke-IcingaCheckMemory.json +++ b/config/director/Invoke-IcingaCheckMemory.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckMemory Verbosity":{"list_name":"IcingaCheckMemory 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckMemory":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckMemory","arguments":{"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-Warning":{"value":"$IcingaCheckMemory_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckMemory_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$","order":"4"},"-IncludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_IncludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMemory_Object_Critical$"},"ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$"},"PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$"},"PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$"},"IncludePageFile":{"value":"$IcingaCheckMemory_Array_IncludePageFile$"},"Warning":{"value":"$IcingaCheckMemory_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$"},"ExcludePageFile":{"value":"$IcingaCheckMemory_Array_ExcludePageFile$"},"Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMemory"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\n It is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"9":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"10":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckMemory_Array_ExcludePageFile","format":null},"12":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"11":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"11","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckMemory_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckMemory_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckMemory_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null}}} +{"DataList":{"IcingaCheckMemory Verbosity":{"list_name":"IcingaCheckMemory 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckMemory":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckMemory","arguments":{"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-Warning":{"value":"$IcingaCheckMemory_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckMemory_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$","order":"4"},"-IncludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_IncludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMemory_Object_Critical$"},"ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$"},"PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$"},"PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$"},"IncludePageFile":{"value":"$IcingaCheckMemory_Array_IncludePageFile$"},"Warning":{"value":"$IcingaCheckMemory_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$"},"ExcludePageFile":{"value":"$IcingaCheckMemory_Array_ExcludePageFile$"},"Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMemory"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\n It is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"9":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"10":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckMemory_Array_ExcludePageFile","format":null},"12":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"11":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"11","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckMemory_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckMemory_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckMemory_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null}}} diff --git a/config/director/Invoke-IcingaCheckNLA.json b/config/director/Invoke-IcingaCheckNLA.json index cb3bc3c5..3e7aaf73 100644 --- a/config/director/Invoke-IcingaCheckNLA.json +++ b/config/director/Invoke-IcingaCheckNLA.json @@ -1 +1 @@ -{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckNLA Verbosity":{"list_name":"IcingaCheckNLA 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":"cstein"},"IcingaCheckNLA Profile":{"list_name":"IcingaCheckNLA Profile","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"DomainAuthenticated","entry_name":"DomainAuthenticated","format":"string"},{"allowed_roles":null,"entry_value":"Public","entry_name":"Public","format":"string"},{"allowed_roles":null,"entry_value":"Private","entry_name":"Private","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckNLA":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckNLA","arguments":{"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"},"-Profile":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_Profile$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_Profile$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckNLA_String_Profile$"},"NICs":{"value":"$IcingaCheckNLA_Array_NICs$"},"ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$"},"Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckNLA"}}},"Datafield":{"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"datalist":"IcingaCheckNLA 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":"6","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"5":{"settings":{"datalist":"IcingaCheckNLA Profile","behavior":"strict","data_type":"string"},"description":"Used to specify the profile to check. Available profiles are \u0027DomainAuthenticated\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"5","varname":"IcingaCheckNLA_String_Profile","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify the NICs where to check the filewall profile. When not presented every nic which is active will be checked","caption":"NICs","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckNLA_Array_NICs","format":null}}} +{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckNLA Verbosity":{"list_name":"IcingaCheckNLA 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":"administrator"},"IcingaCheckNLA Profile":{"list_name":"IcingaCheckNLA Profile","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"DomainAuthenticated","entry_name":"DomainAuthenticated","format":"string"},{"allowed_roles":null,"entry_value":"Public","entry_name":"Public","format":"string"},{"allowed_roles":null,"entry_value":"Private","entry_name":"Private","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckNLA":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckNLA","arguments":{"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"},"-Profile":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_Profile$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_Profile$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckNLA_String_Profile$"},"NICs":{"value":"$IcingaCheckNLA_Array_NICs$"},"ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$"},"Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckNLA"}}},"Datafield":{"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"datalist":"IcingaCheckNLA 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":"6","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"5":{"settings":{"datalist":"IcingaCheckNLA Profile","behavior":"strict","data_type":"string"},"description":"Used to specify the profile to check. Available profiles are \u0027DomainAuthenticated\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"5","varname":"IcingaCheckNLA_String_Profile","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify the NICs where to check the filewall profile. When not presented every nic which is active will be checked","caption":"NICs","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckNLA_Array_NICs","format":null}}} diff --git a/config/director/Invoke-IcingaCheckNetworkInterface.json b/config/director/Invoke-IcingaCheckNetworkInterface.json index 1a33c4bd..82b78538 100644 --- a/config/director/Invoke-IcingaCheckNetworkInterface.json +++ b/config/director/Invoke-IcingaCheckNetworkInterface.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckNetworkInterface IfConnectionStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface Verbosity":{"list_name":"IcingaCheckNetworkInterface 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":"cstein"},"IcingaCheckNetworkInterface IfConnectionStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfOperationalStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfAdminStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfAdminStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"}],"owner":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfTeamStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfOperationalStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfTeamStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null},{"datafield_id":30,"is_required":"n","var_filter":null},{"datafield_id":31,"is_required":"n","var_filter":null},{"datafield_id":32,"is_required":"n","var_filter":null},{"datafield_id":33,"is_required":"n","var_filter":null},{"datafield_id":34,"is_required":"n","var_filter":null},{"datafield_id":35,"is_required":"n","var_filter":null},{"datafield_id":36,"is_required":"n","var_filter":null},{"datafield_id":37,"is_required":"n","var_filter":null},{"datafield_id":38,"is_required":"n","var_filter":null},{"datafield_id":39,"is_required":"n","var_filter":null},{"datafield_id":40,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$","order":"25"},"-DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$","order":"22"},"-PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$","order":"13"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$","order":"23"},"-PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$","order":"11"},"-DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$","order":"21"},"-IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$","order":"29"},"-PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$","order":"16"},"-PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$","order":"17"},"-IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$","order":"26"},"-IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$","set_if_format":"string","order":"99"},"-DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$","order":"19"},"-PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$","order":"12"},"-DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$","order":"18"},"-IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$","order":"27"},"-LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$","order":"24"},"-IncludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$","order":"20"},"-PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$","order":"10"},"-PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$","order":"14"},"-IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$","order":"34"},"-IncludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$","order":"6"},"-PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$","order":"15"},"-Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$","order":"35"},"-IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$","order":"32"},"-IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$","order":"28"},"-IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$","order":"33"},"-IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$","order":"31"},"-ExcludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$","order":"9"},"-IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$","order":"30"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden":false,"IcingaCheckNetworkInterface_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$"},"IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$"},"IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$"},"Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$"},"DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$"},"NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$"},"PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$"},"IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$"},"IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$"},"IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$"},"ExcludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$"},"DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$"},"IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$"},"PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$"},"PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$"},"IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$"},"DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$"},"PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$"},"ExcludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$"},"PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$"},"PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$"},"DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$"},"PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$"},"LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$"},"DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$"},"PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$"},"LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$"},"IncludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$"},"DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$"},"PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$"},"IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$"},"IncludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$"},"PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$"},"IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$"},"IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$"},"ThresholdInterval":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$"},"PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$"}},"ifw_api_command":"Invoke-IcingaCheckNetworkInterface"}}},"Datafield":{"11":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"7":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to exclude for checks. Example OutboundGroup, ClusterInterface","caption":"ExcludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"20":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"12":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"10":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"17":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"13":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PackteReceivedErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"27":{"settings":{"visibility":"visible"},"description":"Warning threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"30":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"30","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"18":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"36":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"36","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"29":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"29","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"23":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"19":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"38":{"settings":{"visibility":"visible"},"description":"Set this argument if you want to include hidden network Adapter for checks. It is a network which is available but is not\nbroadcasting its ID.","caption":"IncludeHidden","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"38","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"5":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to include for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"40":{"settings":{"datalist":"IcingaCheckNetworkInterface 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":"40","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"26":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"39":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"39","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteReceivedErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"37":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"37","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"22":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"28":{"settings":{"visibility":"visible"},"description":"Critical threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"25":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"9":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"33":{"settings":{"datalist":"IcingaCheckNetworkInterface IfAdminStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the network Interface administrative status.","caption":"IfAdminStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"33","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"15":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"34":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the current network interface operational status.","caption":"IfOperationalStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"34","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"21":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"24":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"16":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"35":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the current network interface operational status.","caption":"IfOperationalStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"35","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"32":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"32","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"8":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to include for checks. Example OutboundGroup, ClusterInterface","caption":"IncludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to exclude for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"31":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"31","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null}}} +{"DataList":{"IcingaCheckNetworkInterface IfConnectionStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface Verbosity":{"list_name":"IcingaCheckNetworkInterface 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":"administrator"},"IcingaCheckNetworkInterface IfConnectionStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfOperationalStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfAdminStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfAdminStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"}],"owner":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfTeamStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfOperationalStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfTeamStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null},{"datafield_id":30,"is_required":"n","var_filter":null},{"datafield_id":31,"is_required":"n","var_filter":null},{"datafield_id":32,"is_required":"n","var_filter":null},{"datafield_id":33,"is_required":"n","var_filter":null},{"datafield_id":34,"is_required":"n","var_filter":null},{"datafield_id":35,"is_required":"n","var_filter":null},{"datafield_id":36,"is_required":"n","var_filter":null},{"datafield_id":37,"is_required":"n","var_filter":null},{"datafield_id":38,"is_required":"n","var_filter":null},{"datafield_id":39,"is_required":"n","var_filter":null},{"datafield_id":40,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$","order":"25"},"-DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$","order":"22"},"-PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$","order":"13"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$","order":"23"},"-PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$","order":"11"},"-DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$","order":"21"},"-IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$","order":"29"},"-PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$","order":"16"},"-PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$","order":"17"},"-IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$","order":"26"},"-IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$","set_if_format":"string","order":"99"},"-DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$","order":"19"},"-PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$","order":"12"},"-DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$","order":"18"},"-IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$","order":"27"},"-LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$","order":"24"},"-IncludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$","order":"20"},"-PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$","order":"10"},"-PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$","order":"14"},"-IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$","order":"34"},"-IncludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$","order":"6"},"-PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$","order":"15"},"-Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$","order":"35"},"-IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$","order":"32"},"-IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$","order":"28"},"-IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$","order":"33"},"-IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$","order":"31"},"-ExcludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$","order":"9"},"-IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$","order":"30"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden":false,"IcingaCheckNetworkInterface_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$"},"IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$"},"IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$"},"Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$"},"DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$"},"NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$"},"PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$"},"IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$"},"IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$"},"IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$"},"ExcludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$"},"DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$"},"IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$"},"PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$"},"PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$"},"IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$"},"DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$"},"PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$"},"ExcludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$"},"PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$"},"PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$"},"DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$"},"PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$"},"LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$"},"DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$"},"PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$"},"LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$"},"IncludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$"},"DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$"},"PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$"},"IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$"},"IncludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$"},"PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$"},"IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$"},"IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$"},"ThresholdInterval":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$"},"PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$"}},"ifw_api_command":"Invoke-IcingaCheckNetworkInterface"}}},"Datafield":{"11":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"7":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to exclude for checks. Example OutboundGroup, ClusterInterface","caption":"ExcludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"20":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"12":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"10":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"17":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"13":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PackteReceivedErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"27":{"settings":{"visibility":"visible"},"description":"Warning threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"30":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"30","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"18":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"36":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"36","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"29":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"29","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"23":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"19":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"38":{"settings":{"visibility":"visible"},"description":"Set this argument if you want to include hidden network Adapter for checks. It is a network which is available but is not\nbroadcasting its ID.","caption":"IncludeHidden","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"38","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"5":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to include for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"40":{"settings":{"datalist":"IcingaCheckNetworkInterface 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":"40","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"26":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"39":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"39","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteReceivedErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"37":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"37","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"22":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"28":{"settings":{"visibility":"visible"},"description":"Critical threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"25":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"9":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"33":{"settings":{"datalist":"IcingaCheckNetworkInterface IfAdminStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the network Interface administrative status.","caption":"IfAdminStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"33","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"15":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"34":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the current network interface operational status.","caption":"IfOperationalStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"34","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"21":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"24":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"16":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"35":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the current network interface operational status.","caption":"IfOperationalStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"35","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"32":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"32","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"8":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to include for checks. Example OutboundGroup, ClusterInterface","caption":"IncludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"6":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to exclude for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"31":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"31","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null}}} diff --git a/config/director/Invoke-IcingaCheckPartitionSpace.json b/config/director/Invoke-IcingaCheckPartitionSpace.json index 777c8f78..557e8c28 100644 --- a/config/director/Invoke-IcingaCheckPartitionSpace.json +++ b/config/director/Invoke-IcingaCheckPartitionSpace.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckPartitionSpace Verbosity":{"list_name":"IcingaCheckPartitionSpace 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckPartitionSpace":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-RequiredPartition":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_RequiredPartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$"},"RequiredPartition":{"value":"$IcingaCheckPartitionSpace_Array_RequiredPartition$"},"ThresholdInterval":{"value":"$IcingaCheckPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckPartitionSpace_Array_Include$"}},"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckPartitionSpace_Switchparameter_NoPerfData":false,"ifw_api_command":"Invoke-IcingaCheckPartitionSpace"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckPartitionSpace_Array_Include","format":null},"9":{"settings":{"visibility":"visible"},"description":"Allows to define a list of partitions which should be included in the check.\ne.g. \u0027C:\u0027,\u0027D:\u0027\n\nIn case they are missing, the plugin will report CRITICAL","caption":"RequiredPartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckPartitionSpace_Array_RequiredPartition","format":null},"10":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"12":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown","format":null},"11":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckPartitionSpace_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"14":{"settings":{"datalist":"IcingaCheckPartitionSpace 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":"14","varname":"IcingaCheckPartitionSpace_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckPartitionSpace_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckPartitionSpace_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckPartitionSpace_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckPartitionSpace_Array_Exclude","format":null}}} +{"DataList":{"IcingaCheckPartitionSpace Verbosity":{"list_name":"IcingaCheckPartitionSpace 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckPartitionSpace":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-RequiredPartition":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_RequiredPartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$"},"RequiredPartition":{"value":"$IcingaCheckPartitionSpace_Array_RequiredPartition$"},"ThresholdInterval":{"value":"$IcingaCheckPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckPartitionSpace_Array_Include$"}},"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckPartitionSpace_Switchparameter_NoPerfData":false,"ifw_api_command":"Invoke-IcingaCheckPartitionSpace"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckPartitionSpace_Array_Include","format":null},"9":{"settings":{"visibility":"visible"},"description":"Allows to define a list of partitions which should be included in the check.\ne.g. \u0027C:\u0027,\u0027D:\u0027\n\nIn case they are missing, the plugin will report CRITICAL","caption":"RequiredPartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckPartitionSpace_Array_RequiredPartition","format":null},"10":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"12":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown","format":null},"11":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckPartitionSpace_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"14":{"settings":{"datalist":"IcingaCheckPartitionSpace 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":"14","varname":"IcingaCheckPartitionSpace_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckPartitionSpace_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckPartitionSpace_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckPartitionSpace_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckPartitionSpace_Array_Exclude","format":null}}} diff --git a/config/director/Invoke-IcingaCheckPerfCounter.json b/config/director/Invoke-IcingaCheckPerfCounter.json new file mode 100644 index 00000000..b549320a --- /dev/null +++ b/config/director/Invoke-IcingaCheckPerfCounter.json @@ -0,0 +1 @@ +{"DataList":{"IcingaCheckPerfCounter Verbosity":{"list_name":"IcingaCheckPerfCounter 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckPerfCounter":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_IncludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ExcludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_ExcludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false,"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_arguments":{"PerfCounter":{"value":"$IcingaCheckPerfCounter_Array_PerfCounter$"},"ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$"},"ExcludeCounter":{"value":"$IcingaCheckPerfCounter_Array_ExcludeCounter$"},"Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$"},"Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$"},"IncludeCounter":{"value":"$IcingaCheckPerfCounter_Array_IncludeCounter$"},"Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckPerfCounter"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"9":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, excluding the provided counters. Allows\nwildcard \"*\" usage","caption":"ExcludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckPerfCounter_Array_ExcludeCounter","format":null},"10":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element was found and\nprevent the plugin from exiting UNKNOWN and returns OK instead","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"12":{"settings":{"datalist":"IcingaCheckPerfCounter 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":"12","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null},"11":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckPerfCounter_Array_PerfCounter","format":null},"8":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, only including the provided counters. Allows\nwildcard \"*\" usage","caption":"IncludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckPerfCounter_Array_IncludeCounter","format":null}}} diff --git a/config/director/Invoke-IcingaCheckPerfcounter.json b/config/director/Invoke-IcingaCheckPerfcounter.json deleted file mode 100644 index 00e00358..00000000 --- a/config/director/Invoke-IcingaCheckPerfcounter.json +++ /dev/null @@ -1 +0,0 @@ -{"DataList":{"IcingaCheckPerfCounter Verbosity":{"list_name":"IcingaCheckPerfCounter 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckPerfCounter":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_IncludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ExcludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_ExcludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false,"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_arguments":{"PerfCounter":{"value":"$IcingaCheckPerfCounter_Array_PerfCounter$"},"ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$"},"ExcludeCounter":{"value":"$IcingaCheckPerfCounter_Array_ExcludeCounter$"},"Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$"},"Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$"},"IncludeCounter":{"value":"$IcingaCheckPerfCounter_Array_IncludeCounter$"},"Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckPerfCounter"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"9":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, excluding the provided counters. Allows\nwildcard \"*\" usage","caption":"ExcludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckPerfCounter_Array_ExcludeCounter","format":null},"10":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element was found and\nprevent the plugin from exiting UNKNOWN and returns OK instead","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"12":{"settings":{"datalist":"IcingaCheckPerfCounter 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":"12","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null},"11":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckPerfCounter_Array_PerfCounter","format":null},"8":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, only including the provided counters. Allows\nwildcard \"*\" usage","caption":"IncludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckPerfCounter_Array_IncludeCounter","format":null}}} diff --git a/config/director/Invoke-IcingaCheckProcess.json b/config/director/Invoke-IcingaCheckProcess.json index 8f8676bd..da7886ad 100644 --- a/config/director/Invoke-IcingaCheckProcess.json +++ b/config/director/Invoke-IcingaCheckProcess.json @@ -1 +1 @@ -{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckProcess OverrideNotFound":{"list_name":"IcingaCheckProcess OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"cstein"},"IcingaCheckProcess Verbosity":{"list_name":"IcingaCheckProcess 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":"cstein"}},"Command":{"Invoke-IcingaCheckProcess":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcess","arguments":{"-TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$","order":"17"},"-NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$","order":"23"},"-TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$","order":"16"},"-MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$","order":"4"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"20"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$","order":"14"},"-TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$","order":"12"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$","order":"3"},"-CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$","order":"6"},"-TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$","order":"10"},"-ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$","order":"8"},"-TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$","order":"18"},"-CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$","order":"7"},"-ExcludeProcess":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_ExcludeProcess$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"22"},"-TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$","order":"15"},"-MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$","order":"5"},"-PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$","order":"2"},"-TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$","order":"19"},"-TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$","order":"11"},"-TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$","order":"13"},"-ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$","order":"9"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckProcess_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$"},"ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$"},"NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$"},"CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$"},"TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$"},"ThresholdInterval":{"value":"$IcingaCheckProcess_String_ThresholdInterval$"},"ExcludeProcess":{"value":"$IcingaCheckProcess_Array_ExcludeProcess$"},"TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$"},"PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$"},"ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$"},"TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$"},"PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$"},"Process":{"value":"$IcingaCheckProcess_Array_Process$"},"TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$"},"CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$"},"TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$"},"TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$"},"TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$"},"OverrideNotFound":{"value":"$IcingaCheckProcess_String_OverrideNotFound$"},"MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$"},"Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$"},"TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$"},"MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$"},"TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$"}},"ifw_api_command":"Invoke-IcingaCheckProcess"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckProcess_Object_TotalMemoryCritical","format":null},"7":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckProcess_Object_MemoryWarning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckProcess_Object_PageFileWarning","format":null},"21":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckProcess_Object_TotalProcessCountWarning","format":null},"18":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckProcess_Object_TotalCPUCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckProcess_Object_ThreadCountCritical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckProcess_Object_CPUCritical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckProcess_Object_TotalProcessCountCritical","format":null},"8":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckProcess_Object_MemoryCritical","format":null},"17":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckProcess_Object_TotalCPUWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckProcess_Object_ThreadCountWarning","format":null},"27":{"settings":{"datalist":"IcingaCheckProcess 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":"27","varname":"IcingaCheckProcess_Int32_Verbosity","format":null},"9":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckProcess_Object_CPUWarning","format":null},"24":{"settings":{"datalist":"IcingaCheckProcess OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a process was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the process state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"24","varname":"IcingaCheckProcess_String_OverrideNotFound","format":null},"14":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckProcess_Object_TotalPageFileCritical","format":null},"20":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckProcess_Object_TotalThreadCountCritical","format":null},"15":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckProcess_Object_TotalMemoryWarning","format":null},"25":{"settings":{"visibility":"visible"},"description":"Define a list of process names which are excluded from the final result. Only the process name is required without \u0027.exe\u0027 at the end.","caption":"ExcludeProcess","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"25","varname":"IcingaCheckProcess_Array_ExcludeProcess","format":null},"23":{"settings":{"visibility":"visible"},"description":"Allows to filter for a list of processes with a given name. Use the process name without file ending, like \u0027.exe\u0027.","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"23","varname":"IcingaCheckProcess_Array_Process","format":null},"6":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckProcess_Object_PageFileCritical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckProcess_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckProcess_Object_TotalThreadCountWarning","format":null},"13":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckProcess_Object_TotalPageFileWarning","format":null},"26":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"26","varname":"IcingaCheckProcess_Switchparameter_NoPerfData","format":null}}} +{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckProcess OverrideNotFound":{"list_name":"IcingaCheckProcess OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"IcingaCheckProcess Verbosity":{"list_name":"IcingaCheckProcess 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":"administrator"}},"Command":{"Invoke-IcingaCheckProcess":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null},{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcess","arguments":{"-TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$","order":"17"},"-NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$","order":"23"},"-TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$","order":"16"},"-MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$","order":"4"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"20"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$","order":"14"},"-TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$","order":"12"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$","order":"3"},"-CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$","order":"6"},"-TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$","order":"10"},"-ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$","order":"8"},"-TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$","order":"18"},"-CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$","order":"7"},"-ExcludeProcess":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_ExcludeProcess$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"22"},"-TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$","order":"15"},"-MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$","order":"5"},"-PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$","order":"2"},"-TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$","order":"19"},"-TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$","order":"11"},"-TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$","order":"13"},"-ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$","order":"9"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckProcess_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$"},"ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$"},"NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$"},"CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$"},"TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$"},"ThresholdInterval":{"value":"$IcingaCheckProcess_String_ThresholdInterval$"},"ExcludeProcess":{"value":"$IcingaCheckProcess_Array_ExcludeProcess$"},"TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$"},"PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$"},"ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$"},"TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$"},"PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$"},"Process":{"value":"$IcingaCheckProcess_Array_Process$"},"TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$"},"CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$"},"TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$"},"TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$"},"TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$"},"OverrideNotFound":{"value":"$IcingaCheckProcess_String_OverrideNotFound$"},"MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$"},"Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$"},"TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$"},"MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$"},"TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$"}},"ifw_api_command":"Invoke-IcingaCheckProcess"}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckProcess_Object_TotalMemoryCritical","format":null},"7":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckProcess_Object_MemoryWarning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckProcess_Object_PageFileWarning","format":null},"21":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckProcess_Object_TotalProcessCountWarning","format":null},"18":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckProcess_Object_TotalCPUCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckProcess_Object_ThreadCountCritical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckProcess_Object_CPUCritical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckProcess_Object_TotalProcessCountCritical","format":null},"8":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckProcess_Object_MemoryCritical","format":null},"17":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckProcess_Object_TotalCPUWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckProcess_Object_ThreadCountWarning","format":null},"27":{"settings":{"datalist":"IcingaCheckProcess 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":"27","varname":"IcingaCheckProcess_Int32_Verbosity","format":null},"9":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckProcess_Object_CPUWarning","format":null},"24":{"settings":{"datalist":"IcingaCheckProcess OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a process was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the process state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"24","varname":"IcingaCheckProcess_String_OverrideNotFound","format":null},"14":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckProcess_Object_TotalPageFileCritical","format":null},"20":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckProcess_Object_TotalThreadCountCritical","format":null},"15":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckProcess_Object_TotalMemoryWarning","format":null},"25":{"settings":{"visibility":"visible"},"description":"Define a list of process names which are excluded from the final result. Only the process name is required without \u0027.exe\u0027 at the end.","caption":"ExcludeProcess","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"25","varname":"IcingaCheckProcess_Array_ExcludeProcess","format":null},"23":{"settings":{"visibility":"visible"},"description":"Allows to filter for a list of processes with a given name. Use the process name without file ending, like \u0027.exe\u0027.","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"23","varname":"IcingaCheckProcess_Array_Process","format":null},"6":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckProcess_Object_PageFileCritical","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckProcess_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckProcess_Object_TotalThreadCountWarning","format":null},"13":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckProcess_Object_TotalPageFileWarning","format":null},"26":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"26","varname":"IcingaCheckProcess_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Invoke-IcingaCheckProcessCount.json b/config/director/Invoke-IcingaCheckProcessCount.json index cc6d3b2b..2f93a82a 100644 --- a/config/director/Invoke-IcingaCheckProcessCount.json +++ b/config/director/Invoke-IcingaCheckProcessCount.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckProcessCount Verbosity":{"list_name":"IcingaCheckProcessCount 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckProcessCount":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckProcessCount","arguments":{"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Process":{"value":"$IcingaCheckProcessCount_Array_Process$"},"ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$"},"Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckProcessCount","IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify an array of processes to count and match against. e.g. conhost,wininit","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckProcessCount_Array_Process","format":null},"9":{"settings":{"datalist":"IcingaCheckProcessCount 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":"9","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null}}} +{"DataList":{"IcingaCheckProcessCount Verbosity":{"list_name":"IcingaCheckProcessCount 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckProcessCount":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckProcessCount","arguments":{"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Process":{"value":"$IcingaCheckProcessCount_Array_Process$"},"ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$"},"Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckProcessCount","IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify an array of processes to count and match against. e.g. conhost,wininit","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckProcessCount_Array_Process","format":null},"9":{"settings":{"datalist":"IcingaCheckProcessCount 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":"9","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Invoke-IcingaCheckScheduledTask.json b/config/director/Invoke-IcingaCheckScheduledTask.json index 55ced8c3..8068f5d9 100644 --- a/config/director/Invoke-IcingaCheckScheduledTask.json +++ b/config/director/Invoke-IcingaCheckScheduledTask.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckScheduledTask Verbosity":{"list_name":"IcingaCheckScheduledTask 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":"cstein"},"IcingaCheckScheduledTask State":{"list_name":"IcingaCheckScheduledTask State","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Queued","entry_name":"Queued","format":"string"},{"allowed_roles":null,"entry_value":"Ready","entry_name":"Ready","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"}],"owner":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckScheduledTask":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"9"},"-CriticalNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"5"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-IgnoreExitCodes":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"6"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"11"},"-WarningLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"7"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false,"ifw_api_arguments":{"CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$"},"ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$"},"TaskName":{"value":"$IcingaCheckScheduledTask_Array_TaskName$"},"WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$"},"WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$"},"CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$"},"CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$"},"IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$"},"IgnoreExitCodes":{"value":"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$"},"WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$"},"State":{"value":"$IcingaCheckScheduledTask_Array_State$"},"NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckScheduledTask","IcingaCheckScheduledTask_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"datalist":"IcingaCheckScheduledTask 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":"16","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"7":{"settings":{"visibility":"visible"},"description":"A list of exit codes which will be considered as [OK]. By default every task which did not exit with 0 will be handled as critical.","caption":"IgnoreExitCodes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckScheduledTask_Array_IgnoreExitCodes","format":null},"5":{"settings":{"visibility":"visible"},"description":"A list of tasks to check for. If your tasks contain spaces, wrap them around a \u0027 to ensure they are\nproperly handled as string","caption":"TaskName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"12":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"10":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Defines a warning threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"WarningMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"11":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","format":null},"9":{"settings":{"visibility":"visible"},"description":"Defines a critical threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"CriticalMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"14":{"settings":{"visibility":"visible"},"description":"By default every task which did not exit with 0 will be handled as critical. If you set this flag,\nthe exit code of the task is ignored during check execution","caption":"IgnoreLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"14","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"15":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"15","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"6":{"settings":{"datalist":"IcingaCheckScheduledTask State","behavior":"strict","data_type":"array"},"description":"The state a task should currently have for the plugin to return [OK]","caption":"State","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckScheduledTask_Array_State","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null}}} +{"DataList":{"IcingaCheckScheduledTask Verbosity":{"list_name":"IcingaCheckScheduledTask 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":"administrator"},"IcingaCheckScheduledTask State":{"list_name":"IcingaCheckScheduledTask State","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Queued","entry_name":"Queued","format":"string"},{"allowed_roles":null,"entry_value":"Ready","entry_name":"Ready","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"}],"owner":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckScheduledTask":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"9"},"-CriticalNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"5"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-IgnoreExitCodes":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"6"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"11"},"-WarningLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"7"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false,"ifw_api_arguments":{"CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$"},"ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$"},"TaskName":{"value":"$IcingaCheckScheduledTask_Array_TaskName$"},"WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$"},"WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$"},"CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$"},"CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$"},"IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$"},"IgnoreExitCodes":{"value":"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$"},"WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$"},"State":{"value":"$IcingaCheckScheduledTask_Array_State$"},"NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckScheduledTask","IcingaCheckScheduledTask_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"datalist":"IcingaCheckScheduledTask 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":"16","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"7":{"settings":{"visibility":"visible"},"description":"A list of exit codes which will be considered as [OK]. By default every task which did not exit with 0 will be handled as critical.","caption":"IgnoreExitCodes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckScheduledTask_Array_IgnoreExitCodes","format":null},"5":{"settings":{"visibility":"visible"},"description":"A list of tasks to check for. If your tasks contain spaces, wrap them around a \u0027 to ensure they are\nproperly handled as string","caption":"TaskName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"12":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"10":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Defines a warning threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"WarningMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"11":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","format":null},"9":{"settings":{"visibility":"visible"},"description":"Defines a critical threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"CriticalMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"14":{"settings":{"visibility":"visible"},"description":"By default every task which did not exit with 0 will be handled as critical. If you set this flag,\nthe exit code of the task is ignored during check execution","caption":"IgnoreLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"14","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"15":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"15","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"6":{"settings":{"datalist":"IcingaCheckScheduledTask State","behavior":"strict","data_type":"array"},"description":"The state a task should currently have for the plugin to return [OK]","caption":"State","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckScheduledTask_Array_State","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null}}} diff --git a/config/director/Invoke-IcingaCheckService.json b/config/director/Invoke-IcingaCheckService.json index 282c6d8f..742b8d70 100644 --- a/config/director/Invoke-IcingaCheckService.json +++ b/config/director/Invoke-IcingaCheckService.json @@ -1 +1 @@ -{"DataList":{"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckService Verbosity":{"list_name":"IcingaCheckService 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":"cstein"},"IcingaCheckService FilterStartupType":{"list_name":"IcingaCheckService FilterStartupType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Boot","entry_name":"Boot","format":"string"},{"allowed_roles":null,"entry_value":"System","entry_name":"System","format":"string"},{"allowed_roles":null,"entry_value":"Automatic","entry_name":"Automatic","format":"string"},{"allowed_roles":null,"entry_value":"Manual","entry_name":"Manual","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"cstein"},"IcingaCheckService Status":{"list_name":"IcingaCheckService Status","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Stopped","entry_name":"Stopped","format":"string"},{"allowed_roles":null,"entry_value":"StartPending","entry_name":"StartPending","format":"string"},{"allowed_roles":null,"entry_value":"StopPending","entry_name":"StopPending","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"},{"allowed_roles":null,"entry_value":"ContinuePending","entry_name":"ContinuePending","format":"string"},{"allowed_roles":null,"entry_value":"PausePending","entry_name":"PausePending","format":"string"},{"allowed_roles":null,"entry_value":"Paused","entry_name":"Paused","format":"string"}],"owner":"cstein"},"IcingaCheckService OverrideNotFound":{"list_name":"IcingaCheckService OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckService":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckService","arguments":{"-FilterStartupType":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_FilterStartupType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"7"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-Status":{"set_if":"var str = macro(\"$IcingaCheckService_String_Status$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_Status$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Service":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Service$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$"},"MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$"},"FilterStartupType":{"value":"$IcingaCheckService_Array_FilterStartupType$"},"Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$"},"Service":{"value":"$IcingaCheckService_Array_Service$"},"NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$"},"Status":{"value":"$IcingaCheckService_String_Status$"},"OverrideNotFound":{"value":"$IcingaCheckService_String_OverrideNotFound$"},"Exclude":{"value":"$IcingaCheckService_Array_Exclude$"}},"ifw_api_command":"Invoke-IcingaCheckService","IcingaCheckService_Switchparameter_MitigateUnknown":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"datalist":"IcingaCheckService Status","behavior":"strict","data_type":"string"},"description":"Status for the specified service or services to check against.","caption":"Status","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"7","varname":"IcingaCheckService_String_Status","format":null},"9":{"settings":{"visibility":"visible"},"description":"This will tell the plugin to return OK instead of UNKNOWN, in case no service was added to this\ncheck","caption":"MitigateUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckService_Switchparameter_MitigateUnknown","format":null},"10":{"settings":{"datalist":"IcingaCheckService OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a service was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the service state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"10","varname":"IcingaCheckService_String_OverrideNotFound","format":null},"12":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"11":{"settings":{"datalist":"IcingaCheckService 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":"11","varname":"IcingaCheckService_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Allows to exclude services which might come in handy for checking services which are configured to start automatically\non Windows but are not running and weren\u0027t exited properly.","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckService_Array_Exclude","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of services which should be checked against the status. Supports \u0027*\u0027 for\nwildcards.","caption":"Service","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckService_Array_Service","format":null},"8":{"settings":{"datalist":"IcingaCheckService FilterStartupType","behavior":"strict","data_type":"array"},"description":"Allows to include only services with a specific startup type inside the monitoring,\nin case you check for a list of specific services by using `-Service`","caption":"FilterStartupType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"8","varname":"IcingaCheckService_Array_FilterStartupType","format":null}}} +{"DataList":{"IcingaCheckService Status":{"list_name":"IcingaCheckService Status","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Stopped","entry_name":"Stopped","format":"string"},{"allowed_roles":null,"entry_value":"StartPending","entry_name":"StartPending","format":"string"},{"allowed_roles":null,"entry_value":"StopPending","entry_name":"StopPending","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"},{"allowed_roles":null,"entry_value":"ContinuePending","entry_name":"ContinuePending","format":"string"},{"allowed_roles":null,"entry_value":"PausePending","entry_name":"PausePending","format":"string"},{"allowed_roles":null,"entry_value":"Paused","entry_name":"Paused","format":"string"}],"owner":"administrator"},"IcingaCheckService Verbosity":{"list_name":"IcingaCheckService 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":"administrator"},"IcingaCheckService OverrideNotOk":{"list_name":"IcingaCheckService OverrideNotOk","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"IcingaCheckService FilterStartupType":{"list_name":"IcingaCheckService FilterStartupType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Boot","entry_name":"Boot","format":"string"},{"allowed_roles":null,"entry_value":"System","entry_name":"System","format":"string"},{"allowed_roles":null,"entry_value":"Automatic","entry_name":"Automatic","format":"string"},{"allowed_roles":null,"entry_value":"Manual","entry_name":"Manual","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"IcingaCheckService OverrideNotFound":{"list_name":"IcingaCheckService OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckService":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckService","arguments":{"-FilterStartupType":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_FilterStartupType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"8"},"-OverrideNotOk":{"set_if":"var str = macro(\"$IcingaCheckService_String_OverrideNotOk$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_OverrideNotOk$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"7"},"-Status":{"set_if":"var str = macro(\"$IcingaCheckService_String_Status$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_Status$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Service":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Service$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$"},"MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$"},"OverrideNotOk":{"value":"$IcingaCheckService_String_OverrideNotOk$"},"FilterStartupType":{"value":"$IcingaCheckService_Array_FilterStartupType$"},"Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$"},"Service":{"value":"$IcingaCheckService_Array_Service$"},"NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$"},"Status":{"value":"$IcingaCheckService_String_Status$"},"OverrideNotFound":{"value":"$IcingaCheckService_String_OverrideNotFound$"},"Exclude":{"value":"$IcingaCheckService_Array_Exclude$"}},"ifw_api_command":"Invoke-IcingaCheckService","IcingaCheckService_Switchparameter_MitigateUnknown":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"datalist":"IcingaCheckService Status","behavior":"strict","data_type":"string"},"description":"Status for the specified service or services to check against.","caption":"Status","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"7","varname":"IcingaCheckService_String_Status","format":null},"9":{"settings":{"visibility":"visible"},"description":"This will tell the plugin to return OK instead of UNKNOWN, in case no service was added to this\ncheck","caption":"MitigateUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckService_Switchparameter_MitigateUnknown","format":null},"10":{"settings":{"datalist":"IcingaCheckService OverrideNotOk","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a service is not returning OK.\nBy default, it will report CRITICAL but you can set with this argument if the service state should be\nOK, WARNING, CRITICAL or UNKNOWN instead","caption":"OverrideNotOk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"10","varname":"IcingaCheckService_String_OverrideNotOk","format":null},"12":{"settings":{"datalist":"IcingaCheckService 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":"12","varname":"IcingaCheckService_Int32_Verbosity","format":null},"11":{"settings":{"datalist":"IcingaCheckService OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a service was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the service state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"11","varname":"IcingaCheckService_String_OverrideNotFound","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Allows to exclude services which might come in handy for checking services which are configured to start automatically\non Windows but are not running and weren\u0027t exited properly.","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckService_Array_Exclude","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of services which should be checked against the status. Supports \u0027*\u0027 for\nwildcards.","caption":"Service","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckService_Array_Service","format":null},"8":{"settings":{"datalist":"IcingaCheckService FilterStartupType","behavior":"strict","data_type":"array"},"description":"Allows to include only services with a specific startup type inside the monitoring,\nin case you check for a list of specific services by using `-Service`","caption":"FilterStartupType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"8","varname":"IcingaCheckService_Array_FilterStartupType","format":null}}} diff --git a/config/director/Invoke-IcingaCheckStoragePool.json b/config/director/Invoke-IcingaCheckStoragePool.json index ea55c4e2..f4fa5878 100644 --- a/config/director/Invoke-IcingaCheckStoragePool.json +++ b/config/director/Invoke-IcingaCheckStoragePool.json @@ -1 +1 @@ -{"DataList":{"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":"cstein"},"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":"cstein"},"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":"cstein"},"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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"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":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckStoragePool":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"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"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"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\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","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,"ifw_api_arguments":{"ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$"},"NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$"},"HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$"},"ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$"},"TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$"},"RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$"},"HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$"},"IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$"},"IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$"},"ExcludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_ExcludeStoragePool$"},"SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$"},"RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$"},"TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$"},"IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$"},"CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$"},"FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$"},"Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$"},"FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$"},"IncludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_IncludeStoragePool$"},"CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$"}},"ifw_api_command":"Invoke-IcingaCheckStoragePool","IcingaCheckStoragePool_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"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":"16","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"7":{"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":"7","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"5":{"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":"5","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"21":{"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":"21","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"18":{"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":"18","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"8":{"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":"8","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"17":{"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":"17","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"14":{"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":"14","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"20":{"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":"20","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"15":{"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":"15","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null},"23":{"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":"23","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"6":{"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":"6","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"19":{"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":"19","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null}}} +{"DataList":{"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":"administrator"},"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":"administrator"},"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":"administrator"},"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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"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":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckStoragePool":{"fields":[{"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},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"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"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"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\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","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,"ifw_api_arguments":{"ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$"},"NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$"},"HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$"},"ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$"},"TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$"},"RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$"},"HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$"},"IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$"},"IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$"},"ExcludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_ExcludeStoragePool$"},"SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$"},"RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$"},"TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$"},"IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$"},"CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$"},"FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$"},"Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$"},"FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$"},"IncludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_IncludeStoragePool$"},"CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$"}},"ifw_api_command":"Invoke-IcingaCheckStoragePool","IcingaCheckStoragePool_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"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":"16","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"7":{"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":"7","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"5":{"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":"5","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"21":{"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":"21","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"18":{"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":"18","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"22":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"8":{"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":"8","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"17":{"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":"17","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"14":{"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":"14","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"20":{"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":"20","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"15":{"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":"15","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null},"23":{"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":"23","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"6":{"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":"6","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"19":{"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":"19","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null}}} diff --git a/config/director/Invoke-IcingaCheckTCP.json b/config/director/Invoke-IcingaCheckTCP.json index 7a75bd9c..58ef36b5 100644 --- a/config/director/Invoke-IcingaCheckTCP.json +++ b/config/director/Invoke-IcingaCheckTCP.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckTCP Verbosity":{"list_name":"IcingaCheckTCP 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckTCP":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckTCP","arguments":{"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Address":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_Address$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_Address$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTCP_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Ports":{"value":{"body":"var arr = macro(\"$IcingaCheckTCP_Array_Ports$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$"},"Ports":{"value":"$IcingaCheckTCP_Array_Ports$"},"Critical":{"value":"$IcingaCheckTCP_Object_Critical$"},"Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$"},"Address":{"value":"$IcingaCheckTCP_String_Address$"},"Warning":{"value":"$IcingaCheckTCP_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTCP","IcingaCheckTCP_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"By default the plugin will return [CRITICAL] in case connections to a port are not possible. By setting this argument,\nthe plugin will return [CRITICAL] for successful connections instead","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"9":{"settings":{"visibility":"visible"},"description":"A critical threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckTCP_Object_Critical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","format":null},"11":{"settings":{"datalist":"IcingaCheckTCP 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":"11","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"A single or a list of ports to check on the target address","caption":"Ports","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckTCP_Array_Ports","format":null},"5":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckTCP_String_Address","format":null},"8":{"settings":{"visibility":"visible"},"description":"A warning threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckTCP_Object_Warning","format":null}}} +{"DataList":{"IcingaCheckTCP Verbosity":{"list_name":"IcingaCheckTCP 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckTCP":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckTCP","arguments":{"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Address":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_Address$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_Address$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTCP_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Ports":{"value":{"body":"var arr = macro(\"$IcingaCheckTCP_Array_Ports$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$"},"Ports":{"value":"$IcingaCheckTCP_Array_Ports$"},"Critical":{"value":"$IcingaCheckTCP_Object_Critical$"},"Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$"},"Address":{"value":"$IcingaCheckTCP_String_Address$"},"Warning":{"value":"$IcingaCheckTCP_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTCP","IcingaCheckTCP_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"By default the plugin will return [CRITICAL] in case connections to a port are not possible. By setting this argument,\nthe plugin will return [CRITICAL] for successful connections instead","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"9":{"settings":{"visibility":"visible"},"description":"A critical threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckTCP_Object_Critical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","format":null},"11":{"settings":{"datalist":"IcingaCheckTCP 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":"11","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"A single or a list of ports to check on the target address","caption":"Ports","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"6","varname":"IcingaCheckTCP_Array_Ports","format":null},"5":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckTCP_String_Address","format":null},"8":{"settings":{"visibility":"visible"},"description":"A warning threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckTCP_Object_Warning","format":null}}} diff --git a/config/director/Invoke-IcingaCheckTimeSync.json b/config/director/Invoke-IcingaCheckTimeSync.json index ce92ee55..016caa9f 100644 --- a/config/director/Invoke-IcingaCheckTimeSync.json +++ b/config/director/Invoke-IcingaCheckTimeSync.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckTimeSync Verbosity":{"list_name":"IcingaCheckTimeSync 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckTimeSync":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckTimeSync","arguments":{"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_IPV4":false,"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$"},"TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$"},"ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$"},"Server":{"value":"$IcingaCheckTimeSync_String_Server$"},"Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$"},"Port":{"value":"$IcingaCheckTimeSync_Int32_Port$"},"Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$"},"Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$"},"IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$"},"Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTimeSync","IcingaCheckTimeSync_Switchparameter_IgnoreService":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Warning threshold e.g 10ms or 0.01s","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"9":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"9","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"10":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"12":{"settings":{"visibility":"visible"},"description":"Ignores the W32Time service during check execution and will not throw warning or critical in case the service is not running","caption":"IgnoreService","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckTimeSync_Switchparameter_IgnoreService","format":null},"11":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"11","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"14":{"settings":{"datalist":"IcingaCheckTimeSync 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":"14","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"The maximum acceptable offset between the local clock and the NTP Server, in seconds e.g. if you allow up to 0.5s timeoffset you can also enter 500ms.\nInvoke-IcingaCheckTimeSync will return OK, if there is no difference between them,\nWARNING, if the time difference exceeds the Warning threshold,\nCRITICAL, if the time difference exceeds the Critical threshold.","caption":"TimeOffset","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"5":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckTimeSync_String_Server","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Critical threshold e.g 20ms or 0.02s.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckTimeSync_Object_Critical","format":null}}} +{"DataList":{"IcingaCheckTimeSync Verbosity":{"list_name":"IcingaCheckTimeSync 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckTimeSync":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckTimeSync","arguments":{"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_IPV4":false,"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$"},"TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$"},"ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$"},"Server":{"value":"$IcingaCheckTimeSync_String_Server$"},"Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$"},"Port":{"value":"$IcingaCheckTimeSync_Int32_Port$"},"Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$"},"Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$"},"IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$"},"Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTimeSync","IcingaCheckTimeSync_Switchparameter_IgnoreService":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Warning threshold e.g 10ms or 0.01s","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"9":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"9","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"10":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"12":{"settings":{"visibility":"visible"},"description":"Ignores the W32Time service during check execution and will not throw warning or critical in case the service is not running","caption":"IgnoreService","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckTimeSync_Switchparameter_IgnoreService","format":null},"11":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"11","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"14":{"settings":{"datalist":"IcingaCheckTimeSync 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":"14","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"The maximum acceptable offset between the local clock and the NTP Server, in seconds e.g. if you allow up to 0.5s timeoffset you can also enter 500ms.\nInvoke-IcingaCheckTimeSync will return OK, if there is no difference between them,\nWARNING, if the time difference exceeds the Warning threshold,\nCRITICAL, if the time difference exceeds the Critical threshold.","caption":"TimeOffset","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"5":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckTimeSync_String_Server","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Critical threshold e.g 20ms or 0.02s.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckTimeSync_Object_Critical","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUNCPath.json b/config/director/Invoke-IcingaCheckUNCPath.json index 0cedfc49..258999eb 100644 --- a/config/director/Invoke-IcingaCheckUNCPath.json +++ b/config/director/Invoke-IcingaCheckUNCPath.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckUNCPath Verbosity":{"list_name":"IcingaCheckUNCPath 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUNCPath":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUNCPath","arguments":{"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"8"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"10"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"9"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckUNCPath_Securestring_Password$\u0027)","order":"4"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"6"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-User":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_User$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_User$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-DisplayAlias":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace":false,"ifw_api_arguments":{"WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$"},"DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$"},"Path":{"value":"$IcingaCheckUNCPath_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$"},"CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$"},"Password":{"value":"$IcingaCheckUNCPath_Securestring_Password$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$"},"Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$"},"Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$"},"User":{"value":"$IcingaCheckUNCPath_String_User$"}},"ifw_api_command":"Invoke-IcingaCheckUNCPath","IcingaCheckUNCPath_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"settings":{"visibility":"hidden"},"description":"The password to authenticate the given user for. Has to be a secure string","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckUNCPath_Securestring_Password","format":null},"5":{"settings":{"visibility":"visible"},"description":"The path to a volume or network share you want to monitor, like \"\\\\example.com\\Home\" or \"C:\\ClusterSharedVolume\\Volume1\"","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckUNCPath_String_Path","format":null},"12":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"CriticalTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"10":{"settings":{"visibility":"visible"},"description":"A critical threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Modifies the plugin output to not display the value provided within the `-Path` argument but to use this string value\ninstead of shorten the output and make it more visual appealing.","caption":"DisplayAlias","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"11":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"WarningTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"9":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"14":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"14","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"15":{"settings":{"datalist":"IcingaCheckUNCPath 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":"15","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"6":{"settings":{"visibility":"visible"},"description":"Provide a username and/or domain to run this check for. The format can either be \u0027domain\\user\u0027 or \u0027domain@user\u0027","caption":"User","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUNCPath_String_User","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace","format":null}}} +{"DataList":{"IcingaCheckUNCPath Verbosity":{"list_name":"IcingaCheckUNCPath 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUNCPath":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUNCPath","arguments":{"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"8"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"10"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"9"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckUNCPath_Securestring_Password$\u0027)","order":"4"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"6"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-User":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_User$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_User$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-DisplayAlias":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace":false,"ifw_api_arguments":{"WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$"},"DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$"},"Path":{"value":"$IcingaCheckUNCPath_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$"},"CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$"},"Password":{"value":"$IcingaCheckUNCPath_Securestring_Password$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$"},"Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$"},"Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$"},"User":{"value":"$IcingaCheckUNCPath_String_User$"}},"ifw_api_command":"Invoke-IcingaCheckUNCPath","IcingaCheckUNCPath_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"settings":{"visibility":"hidden"},"description":"The password to authenticate the given user for. Has to be a secure string","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckUNCPath_Securestring_Password","format":null},"5":{"settings":{"visibility":"visible"},"description":"The path to a volume or network share you want to monitor, like \"\\\\example.com\\Home\" or \"C:\\ClusterSharedVolume\\Volume1\"","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckUNCPath_String_Path","format":null},"12":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"CriticalTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"10":{"settings":{"visibility":"visible"},"description":"A critical threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"Modifies the plugin output to not display the value provided within the `-Path` argument but to use this string value\ninstead of shorten the output and make it more visual appealing.","caption":"DisplayAlias","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"11":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"WarningTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"9":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"14":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"14","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"15":{"settings":{"datalist":"IcingaCheckUNCPath 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":"15","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"6":{"settings":{"visibility":"visible"},"description":"Provide a username and/or domain to run this check for. The format can either be \u0027domain\\user\u0027 or \u0027domain@user\u0027","caption":"User","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUNCPath_String_User","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"13":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"13","varname":"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUpdates.json b/config/director/Invoke-IcingaCheckUpdates.json index e4ec669f..1739281d 100644 --- a/config/director/Invoke-IcingaCheckUpdates.json +++ b/config/director/Invoke-IcingaCheckUpdates.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckUpdates Verbosity":{"list_name":"IcingaCheckUpdates 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUpdates":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUpdates","arguments":{"-WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$","order":"7"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"13"},"-WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$","order":"12"},"-WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$","order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$","order":"11"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$","order":"10"},"-CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$","order":"8"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$","set_if_format":"string","order":"99"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$","order":"5"},"-CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false,"IcingaCheckUpdates_Switchparameter_WarnOnReboot":false,"IcingaCheckUpdates_Switchparameter_CritOnReboot":false,"ifw_api_arguments":{"WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$"},"CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$"},"CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$"},"NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$"},"WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$"},"ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$"},"WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$"},"CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$"},"CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$"},"WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$"},"Warning":{"value":"$IcingaCheckUpdates_Object_Warning$"},"Critical":{"value":"$IcingaCheckUpdates_Object_Critical$"},"CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$"},"Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$"},"UpdateFilter":{"value":"$IcingaCheckUpdates_Array_UpdateFilter$"},"WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$"}},"ifw_api_command":"Invoke-IcingaCheckUpdates"}}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\nwarning if one is pending","caption":"WarnOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"16","varname":"IcingaCheckUpdates_Switchparameter_WarnOnReboot","format":null},"7":{"settings":{"visibility":"visible"},"description":"The critical threshold for the total pending update count on the Windows machine","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckUpdates_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Allows to filter for names of updates being included in the total update count, allowing a specific monitoring and filtering of certain updates\nbeyond the provided categories","caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"18":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"12":{"settings":{"visibility":"visible"},"description":"The warning threshold for the Microsoft Defender update count on the Windows machine","caption":"WarningDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckUpdates_Object_WarningDefender","format":null},"10":{"settings":{"visibility":"visible"},"description":"The warning threshold for the rollup update count on the Windows machine","caption":"WarningRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckUpdates_Object_WarningRollups","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"The warning threshold for the security update count on the Windows machine","caption":"WarningSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckUpdates_Object_WarningSecurity","format":null},"17":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\ncritical if one is pending","caption":"CritOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckUpdates_Switchparameter_CritOnReboot","format":null},"11":{"settings":{"visibility":"visible"},"description":"The critical threshold for the rollup update count on the Windows machine","caption":"CriticalRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckUpdates_Object_CriticalRollups","format":null},"9":{"settings":{"visibility":"visible"},"description":"The critical threshold for the security update count on the Windows machine","caption":"CriticalSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckUpdates_Object_CriticalSecurity","format":null},"14":{"settings":{"visibility":"visible"},"description":"The warning threshold for all other updates on the Windows machine","caption":"WarningOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckUpdates_Object_WarningOther","format":null},"15":{"settings":{"visibility":"visible"},"description":"The critical threshold for all other updates on the Windows machine","caption":"CriticalOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckUpdates_Object_CriticalOther","format":null},"6":{"settings":{"visibility":"visible"},"description":"The warning threshold for the total pending update count on the Windows machine","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUpdates_Object_Warning","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"19":{"settings":{"datalist":"IcingaCheckUpdates 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":"19","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"13":{"settings":{"visibility":"visible"},"description":"The critical threshold for the Microsoft Defender update count on the Windows machine","caption":"CriticalDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckUpdates_Object_CriticalDefender","format":null}}} +{"DataList":{"IcingaCheckUpdates Verbosity":{"list_name":"IcingaCheckUpdates 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUpdates":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUpdates","arguments":{"-WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$","order":"7"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"13"},"-WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$","order":"12"},"-WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$","order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$","order":"11"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$","order":"10"},"-CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$","order":"8"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$","set_if_format":"string","order":"99"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$","order":"5"},"-CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false,"IcingaCheckUpdates_Switchparameter_WarnOnReboot":false,"IcingaCheckUpdates_Switchparameter_CritOnReboot":false,"ifw_api_arguments":{"WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$"},"CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$"},"CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$"},"NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$"},"WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$"},"ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$"},"WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$"},"CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$"},"CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$"},"WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$"},"Warning":{"value":"$IcingaCheckUpdates_Object_Warning$"},"Critical":{"value":"$IcingaCheckUpdates_Object_Critical$"},"CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$"},"Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$"},"UpdateFilter":{"value":"$IcingaCheckUpdates_Array_UpdateFilter$"},"WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$"}},"ifw_api_command":"Invoke-IcingaCheckUpdates"}}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\nwarning if one is pending","caption":"WarnOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"16","varname":"IcingaCheckUpdates_Switchparameter_WarnOnReboot","format":null},"7":{"settings":{"visibility":"visible"},"description":"The critical threshold for the total pending update count on the Windows machine","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckUpdates_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Allows to filter for names of updates being included in the total update count, allowing a specific monitoring and filtering of certain updates\nbeyond the provided categories","caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"18":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"12":{"settings":{"visibility":"visible"},"description":"The warning threshold for the Microsoft Defender update count on the Windows machine","caption":"WarningDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckUpdates_Object_WarningDefender","format":null},"10":{"settings":{"visibility":"visible"},"description":"The warning threshold for the rollup update count on the Windows machine","caption":"WarningRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckUpdates_Object_WarningRollups","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"8":{"settings":{"visibility":"visible"},"description":"The warning threshold for the security update count on the Windows machine","caption":"WarningSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckUpdates_Object_WarningSecurity","format":null},"17":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\ncritical if one is pending","caption":"CritOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckUpdates_Switchparameter_CritOnReboot","format":null},"11":{"settings":{"visibility":"visible"},"description":"The critical threshold for the rollup update count on the Windows machine","caption":"CriticalRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckUpdates_Object_CriticalRollups","format":null},"9":{"settings":{"visibility":"visible"},"description":"The critical threshold for the security update count on the Windows machine","caption":"CriticalSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckUpdates_Object_CriticalSecurity","format":null},"14":{"settings":{"visibility":"visible"},"description":"The warning threshold for all other updates on the Windows machine","caption":"WarningOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckUpdates_Object_WarningOther","format":null},"15":{"settings":{"visibility":"visible"},"description":"The critical threshold for all other updates on the Windows machine","caption":"CriticalOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckUpdates_Object_CriticalOther","format":null},"6":{"settings":{"visibility":"visible"},"description":"The warning threshold for the total pending update count on the Windows machine","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUpdates_Object_Warning","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"19":{"settings":{"datalist":"IcingaCheckUpdates 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":"19","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"13":{"settings":{"visibility":"visible"},"description":"The critical threshold for the Microsoft Defender update count on the Windows machine","caption":"CriticalDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckUpdates_Object_CriticalDefender","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUptime.json b/config/director/Invoke-IcingaCheckUptime.json index de74f1b0..54b53201 100644 --- a/config/director/Invoke-IcingaCheckUptime.json +++ b/config/director/Invoke-IcingaCheckUptime.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckUptime Verbosity":{"list_name":"IcingaCheckUptime 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUptime":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUptime","arguments":{"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-Warning":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Warning$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Warning$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Critical$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Critical$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUptime_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckUptime_String_Critical$"},"Warning":{"value":"$IcingaCheckUptime_String_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUptime"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUptime_String_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckUptime_String_Warning","format":null},"8":{"settings":{"datalist":"IcingaCheckUptime 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":"8","varname":"IcingaCheckUptime_Int32_Verbosity","format":null}}} +{"DataList":{"IcingaCheckUptime Verbosity":{"list_name":"IcingaCheckUptime 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUptime":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUptime","arguments":{"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-Warning":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Warning$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Warning$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Critical$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Critical$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUptime_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckUptime_String_Critical$"},"Warning":{"value":"$IcingaCheckUptime_String_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUptime"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUptime_String_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckUptime_String_Warning","format":null},"8":{"settings":{"datalist":"IcingaCheckUptime 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":"8","varname":"IcingaCheckUptime_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUsedPartitionSpace.json b/config/director/Invoke-IcingaCheckUsedPartitionSpace.json index 555ac043..992e6615 100644 --- a/config/director/Invoke-IcingaCheckUsedPartitionSpace.json +++ b/config/director/Invoke-IcingaCheckUsedPartitionSpace.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckUsedPartitionSpace Verbosity":{"list_name":"IcingaCheckUsedPartitionSpace 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckUsedPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckUsedPartitionSpace_Array_Include$"}},"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_command":"Invoke-IcingaCheckUsedPartitionSpace","IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData":false,"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"9":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"10":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"12":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"11":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"13":{"settings":{"datalist":"IcingaCheckUsedPartitionSpace 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":"13","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null}}} +{"DataList":{"IcingaCheckUsedPartitionSpace Verbosity":{"list_name":"IcingaCheckUsedPartitionSpace 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckUsedPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckUsedPartitionSpace_Array_Include$"}},"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_command":"Invoke-IcingaCheckUsedPartitionSpace","IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData":false,"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"9":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"10":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"12":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"11":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"13":{"settings":{"datalist":"IcingaCheckUsedPartitionSpace 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":"13","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUsers.json b/config/director/Invoke-IcingaCheckUsers.json index dd80630d..16a6c729 100644 --- a/config/director/Invoke-IcingaCheckUsers.json +++ b/config/director/Invoke-IcingaCheckUsers.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckUsers Verbosity":{"list_name":"IcingaCheckUsers 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":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUsers":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUsers","arguments":{"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Warning":{"value":"$IcingaCheckUsers_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUsers_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Username":{"value":{"body":"var arr = macro(\"$IcingaCheckUsers_Array_Username$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Username":{"value":"$IcingaCheckUsers_Array_Username$"},"ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckUsers_Object_Critical$"},"Warning":{"value":"$IcingaCheckUsers_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUsers"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckUsers_Object_Critical","format":null},"9":{"settings":{"datalist":"IcingaCheckUsers 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":"9","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUsers_Object_Warning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames to match against. e.g \u0027Administrator\u0027, \u0027Icinga\u0027","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckUsers_Array_Username","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null}}} +{"DataList":{"IcingaCheckUsers Verbosity":{"list_name":"IcingaCheckUsers 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":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUsers":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUsers","arguments":{"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Warning":{"value":"$IcingaCheckUsers_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUsers_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Username":{"value":{"body":"var arr = macro(\"$IcingaCheckUsers_Array_Username$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Username":{"value":"$IcingaCheckUsers_Array_Username$"},"ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckUsers_Object_Critical$"},"Warning":{"value":"$IcingaCheckUsers_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUsers"}}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckUsers_Object_Critical","format":null},"9":{"settings":{"datalist":"IcingaCheckUsers 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":"9","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckUsers_Object_Warning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames to match against. e.g \u0027Administrator\u0027, \u0027Icinga\u0027","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckUsers_Array_Username","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Plugins_Bundle.json b/config/director/Plugins_Bundle.json index cc6949c2..9eea156d 100644 --- a/config/director/Plugins_Bundle.json +++ b/config/director/Plugins_Bundle.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckNetworkInterface IfOperationalStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"cstein"},"IcingaCheckFirewall Verbosity":{"list_name":"IcingaCheckFirewall 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":"cstein"},"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"cstein"},"IcingaCheckPartitionSpace Verbosity":{"list_name":"IcingaCheckPartitionSpace 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":"cstein"},"IcingaCheckHTTPStatus Verbosity":{"list_name":"IcingaCheckHTTPStatus 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":"cstein"},"IcingaCheckNLA Verbosity":{"list_name":"IcingaCheckNLA 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":"cstein"},"IcingaCheckNetworkInterface IfTeamStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"cstein"},"IcingaCheckMemory Verbosity":{"list_name":"IcingaCheckMemory 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":"cstein"},"IcingaCheckService Verbosity":{"list_name":"IcingaCheckService 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":"cstein"},"IcingaCheckEventlog ExcludeEntryType":{"list_name":"IcingaCheckEventlog ExcludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"cstein"},"IcingaCheckScheduledTask Verbosity":{"list_name":"IcingaCheckScheduledTask 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":"cstein"},"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":"cstein"},"IcingaCheckNetworkInterface IfConnectionStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"cstein"},"IcingaCheckUsedPartitionSpace Verbosity":{"list_name":"IcingaCheckUsedPartitionSpace 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":"cstein"},"IcingaCheckCheckSum Verbosity":{"list_name":"IcingaCheckCheckSum 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":"cstein"},"IcingaCheckCPU Verbosity":{"list_name":"IcingaCheckCPU 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":"cstein"},"IcingaCheckHttpJsonResponse Verbosity":{"list_name":"IcingaCheckHttpJsonResponse 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":"cstein"},"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":"cstein"},"IcingaCheckNetworkInterface IfOperationalStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"cstein"},"IcingaCheckEventlog IncludeEntryType":{"list_name":"IcingaCheckEventlog IncludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"cstein"},"IcingaCheckMPIO Verbosity":{"list_name":"IcingaCheckMPIO 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":"cstein"},"IcingaCheckDirectory Verbosity":{"list_name":"IcingaCheckDirectory 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":"cstein"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"None","entry_name":"None","format":"string"},{"allowed_roles":null,"entry_value":"*","entry_name":"*","format":"string"},{"allowed_roles":null,"entry_value":"LocalMachine","entry_name":"LocalMachine","format":"string"},{"allowed_roles":null,"entry_value":"CurrentUser","entry_name":"CurrentUser","format":"string"}],"owner":"cstein"},"IcingaCheckProcessCount Verbosity":{"list_name":"IcingaCheckProcessCount 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":"cstein"},"IcingaCheckCertificate Verbosity":{"list_name":"IcingaCheckCertificate 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":"cstein"},"IcingaCheckHttpJsonResponse StatusOnRequestError":{"list_name":"IcingaCheckHttpJsonResponse StatusOnRequestError","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"OK","entry_name":"OK","format":"string"}],"owner":"cstein"},"IcingaCheckService OverrideNotFound":{"list_name":"IcingaCheckService OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"cstein"},"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":"cstein"},"IcingaCheckEventlog Verbosity":{"list_name":"IcingaCheckEventlog 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":"cstein"},"IcingaCheckNetworkInterface Verbosity":{"list_name":"IcingaCheckNetworkInterface 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":"cstein"},"IcingaCheckScheduledTask State":{"list_name":"IcingaCheckScheduledTask State","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Queued","entry_name":"Queued","format":"string"},{"allowed_roles":null,"entry_value":"Ready","entry_name":"Ready","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"}],"owner":"cstein"},"IcingaCheckService FilterStartupType":{"list_name":"IcingaCheckService FilterStartupType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Boot","entry_name":"Boot","format":"string"},{"allowed_roles":null,"entry_value":"System","entry_name":"System","format":"string"},{"allowed_roles":null,"entry_value":"Automatic","entry_name":"Automatic","format":"string"},{"allowed_roles":null,"entry_value":"Manual","entry_name":"Manual","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"cstein"},"IcingaCheckPerfCounter Verbosity":{"list_name":"IcingaCheckPerfCounter 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":"cstein"},"IcingaCheckService Status":{"list_name":"IcingaCheckService Status","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Stopped","entry_name":"Stopped","format":"string"},{"allowed_roles":null,"entry_value":"StartPending","entry_name":"StartPending","format":"string"},{"allowed_roles":null,"entry_value":"StopPending","entry_name":"StopPending","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"},{"allowed_roles":null,"entry_value":"ContinuePending","entry_name":"ContinuePending","format":"string"},{"allowed_roles":null,"entry_value":"PausePending","entry_name":"PausePending","format":"string"},{"allowed_roles":null,"entry_value":"Paused","entry_name":"Paused","format":"string"}],"owner":"cstein"},"IcingaCheckNetworkInterface IfAdminStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfAdminStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"}],"owner":"cstein"},"IcingaCheckProcess Verbosity":{"list_name":"IcingaCheckProcess 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":"cstein"},"IcingaCheckTimeSync Verbosity":{"list_name":"IcingaCheckTimeSync 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":"cstein"},"IcingaCheckUptime Verbosity":{"list_name":"IcingaCheckUptime 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":"cstein"},"IcingaCheckNetworkInterface IfTeamStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"cstein"},"IcingaCheckCheckSum Algorithm":{"list_name":"IcingaCheckCheckSum Algorithm","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"SHA1","entry_name":"SHA1","format":"string"},{"allowed_roles":null,"entry_value":"SHA256","entry_name":"SHA256","format":"string"},{"allowed_roles":null,"entry_value":"SHA384","entry_name":"SHA384","format":"string"},{"allowed_roles":null,"entry_value":"SHA512","entry_name":"SHA512","format":"string"},{"allowed_roles":null,"entry_value":"MD5","entry_name":"MD5","format":"string"}],"owner":"cstein"},"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":"cstein"},"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":"cstein"},"IcingaCheckNetworkInterface IfConnectionStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"cstein"},"IcingaCheckDiskHealth Verbosity":{"list_name":"IcingaCheckDiskHealth 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":"cstein"},"IcingaCheckUpdates Verbosity":{"list_name":"IcingaCheckUpdates 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":"cstein"},"IcingaCheckNLA Profile":{"list_name":"IcingaCheckNLA Profile","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"DomainAuthenticated","entry_name":"DomainAuthenticated","format":"string"},{"allowed_roles":null,"entry_value":"Public","entry_name":"Public","format":"string"},{"allowed_roles":null,"entry_value":"Private","entry_name":"Private","format":"string"}],"owner":"cstein"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"cstein"},"IcingaCheckICMP Verbosity":{"list_name":"IcingaCheckICMP 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":"cstein"},"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"cstein"},"IcingaCheckUsers Verbosity":{"list_name":"IcingaCheckUsers 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":"cstein"},"IcingaCheckUNCPath Verbosity":{"list_name":"IcingaCheckUNCPath 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":"cstein"},"IcingaCheckTCP Verbosity":{"list_name":"IcingaCheckTCP 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":"cstein"},"IcingaCheckProcess OverrideNotFound":{"list_name":"IcingaCheckProcess OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"cstein"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"datafield_id":178,"is_required":"n","var_filter":null},{"datafield_id":179,"is_required":"n","var_filter":null},{"datafield_id":180,"is_required":"n","var_filter":null},{"datafield_id":181,"is_required":"n","var_filter":null},{"datafield_id":182,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMPIO","arguments":{"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"value":"$IcingaCheckMPIO_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMPIO_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMPIO_Object_Critical$"},"Warning":{"value":"$IcingaCheckMPIO_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMPIO"}},"Invoke-IcingaCheckUsers":{"fields":[{"datafield_id":378,"is_required":"n","var_filter":null},{"datafield_id":379,"is_required":"n","var_filter":null},{"datafield_id":380,"is_required":"n","var_filter":null},{"datafield_id":381,"is_required":"n","var_filter":null},{"datafield_id":382,"is_required":"n","var_filter":null},{"datafield_id":383,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsers","arguments":{"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Warning":{"value":"$IcingaCheckUsers_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUsers_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Username":{"value":{"body":"var arr = macro(\"$IcingaCheckUsers_Array_Username$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Username":{"value":"$IcingaCheckUsers_Array_Username$"},"ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckUsers_Object_Critical$"},"Warning":{"value":"$IcingaCheckUsers_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUsers"}},"Invoke-IcingaCheckCertificate":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCertificate","arguments":{"-CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$","order":"9"},"-CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$","order":"4"},"-Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$","order":"12"},"-CertSubject":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertSubject$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CertStore":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$","set_if_format":"string","order":"99"},"-ExcludePattern":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_ExcludePattern$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false,"IcingaCheckCertificate_Switchparameter_Recurse":false,"ifw_api_arguments":{"CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$"},"CertPaths":{"value":"$IcingaCheckCertificate_Array_CertPaths$"},"CertName":{"value":"$IcingaCheckCertificate_Array_CertName$"},"CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$"},"Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$"},"ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$"},"CertThumbprint":{"value":"$IcingaCheckCertificate_Array_CertThumbprint$"},"CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$"},"CertSubject":{"value":"$IcingaCheckCertificate_Array_CertSubject$"},"IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$"},"Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$"},"CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$"},"WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$"},"ExcludePattern":{"value":"$IcingaCheckCertificate_Array_ExcludePattern$"},"Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$"}},"ifw_api_command":"Invoke-IcingaCheckCertificate","IcingaCheckCertificate_Switchparameter_Trusted":false}},"Invoke-IcingaCheckMemory":{"fields":[{"datafield_id":169,"is_required":"n","var_filter":null},{"datafield_id":170,"is_required":"n","var_filter":null},{"datafield_id":171,"is_required":"n","var_filter":null},{"datafield_id":172,"is_required":"n","var_filter":null},{"datafield_id":173,"is_required":"n","var_filter":null},{"datafield_id":174,"is_required":"n","var_filter":null},{"datafield_id":175,"is_required":"n","var_filter":null},{"datafield_id":176,"is_required":"n","var_filter":null},{"datafield_id":177,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMemory","arguments":{"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-Warning":{"value":"$IcingaCheckMemory_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckMemory_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$","order":"4"},"-IncludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_IncludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMemory_Object_Critical$"},"ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$"},"PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$"},"PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$"},"IncludePageFile":{"value":"$IcingaCheckMemory_Array_IncludePageFile$"},"Warning":{"value":"$IcingaCheckMemory_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$"},"ExcludePageFile":{"value":"$IcingaCheckMemory_Array_ExcludePageFile$"},"Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMemory"}},"Invoke-IcingaCheckPartitionSpace":{"fields":[{"datafield_id":224,"is_required":"n","var_filter":null},{"datafield_id":225,"is_required":"n","var_filter":null},{"datafield_id":226,"is_required":"n","var_filter":null},{"datafield_id":227,"is_required":"n","var_filter":null},{"datafield_id":228,"is_required":"n","var_filter":null},{"datafield_id":229,"is_required":"n","var_filter":null},{"datafield_id":230,"is_required":"n","var_filter":null},{"datafield_id":231,"is_required":"n","var_filter":null},{"datafield_id":232,"is_required":"n","var_filter":null},{"datafield_id":233,"is_required":"n","var_filter":null},{"datafield_id":234,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-RequiredPartition":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_RequiredPartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$"},"RequiredPartition":{"value":"$IcingaCheckPartitionSpace_Array_RequiredPartition$"},"ThresholdInterval":{"value":"$IcingaCheckPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckPartitionSpace_Array_Include$"}},"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckPartitionSpace_Switchparameter_NoPerfData":false,"ifw_api_command":"Invoke-IcingaCheckPartitionSpace"}},"Invoke-IcingaCheckHTTPStatus":{"fields":[{"datafield_id":136,"is_required":"n","var_filter":null},{"datafield_id":137,"is_required":"n","var_filter":null},{"datafield_id":138,"is_required":"n","var_filter":null},{"datafield_id":139,"is_required":"n","var_filter":null},{"datafield_id":140,"is_required":"n","var_filter":null},{"datafield_id":141,"is_required":"n","var_filter":null},{"datafield_id":142,"is_required":"n","var_filter":null},{"datafield_id":143,"is_required":"n","var_filter":null},{"datafield_id":144,"is_required":"n","var_filter":null},{"datafield_id":145,"is_required":"n","var_filter":null},{"datafield_id":146,"is_required":"n","var_filter":null},{"datafield_id":147,"is_required":"n","var_filter":null},{"datafield_id":148,"is_required":"n","var_filter":null},{"datafield_id":149,"is_required":"n","var_filter":null},{"datafield_id":150,"is_required":"n","var_filter":null},{"datafield_id":151,"is_required":"n","var_filter":null},{"datafield_id":152,"is_required":"n","var_filter":null},{"datafield_id":153,"is_required":"n","var_filter":null},{"datafield_id":154,"is_required":"n","var_filter":null},{"datafield_id":155,"is_required":"n","var_filter":null},{"datafield_id":156,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$","order":"16"},"-Content":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Content$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-ProxyUsername":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_Password$\u0027)","order":"9"},"-Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$","order":"2"},"-ProxyServer":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Url":{"value":"$IcingaCheckHTTPStatus_Array_Url$"},"Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$"},"Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHTTPStatus_String_Username$"},"Password":{"value":"$IcingaCheckHTTPStatus_Securestring_Password$"},"Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$"},"ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$"},"VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$"},"Content":{"value":"$IcingaCheckHTTPStatus_Array_Content$"},"AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$"},"IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$"},"ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$"},"Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$"},"Headers":{"value":"$IcingaCheckHTTPStatus_Array_Headers$"},"Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$"},"StatusCode":{"value":"$IcingaCheckHTTPStatus_Array_StatusCode$"},"NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$"},"ProxyServer":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$"},"ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$"},"Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$"},"ProxyPassword":{"value":"$IcingaCheckHTTPStatus_Securestring_ProxyPassword$"}},"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent":false,"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit":false,"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL":false,"ifw_api_command":"Invoke-IcingaCheckHTTPStatus","IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"Invoke-IcingaCheckNLA":{"fields":[{"datafield_id":220,"is_required":"n","var_filter":null},{"datafield_id":221,"is_required":"n","var_filter":null},{"datafield_id":222,"is_required":"n","var_filter":null},{"datafield_id":223,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNLA","arguments":{"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"},"-Profile":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_Profile$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_Profile$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckNLA_String_Profile$"},"NICs":{"value":"$IcingaCheckNLA_Array_NICs$"},"ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$"},"Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckNLA"}},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":4,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$"}},"ifw_api_command":"Invoke-IcingaCheckBiosSerial"}},"Invoke-IcingaCheckEventlog":{"fields":[{"datafield_id":93,"is_required":"n","var_filter":null},{"datafield_id":94,"is_required":"n","var_filter":null},{"datafield_id":95,"is_required":"n","var_filter":null},{"datafield_id":96,"is_required":"n","var_filter":null},{"datafield_id":97,"is_required":"n","var_filter":null},{"datafield_id":98,"is_required":"n","var_filter":null},{"datafield_id":99,"is_required":"n","var_filter":null},{"datafield_id":100,"is_required":"n","var_filter":null},{"datafield_id":101,"is_required":"n","var_filter":null},{"datafield_id":102,"is_required":"n","var_filter":null},{"datafield_id":103,"is_required":"n","var_filter":null},{"datafield_id":104,"is_required":"n","var_filter":null},{"datafield_id":105,"is_required":"n","var_filter":null},{"datafield_id":106,"is_required":"n","var_filter":null},{"datafield_id":107,"is_required":"n","var_filter":null},{"datafield_id":108,"is_required":"n","var_filter":null},{"datafield_id":109,"is_required":"n","var_filter":null},{"datafield_id":110,"is_required":"n","var_filter":null},{"datafield_id":111,"is_required":"n","var_filter":null},{"datafield_id":112,"is_required":"n","var_filter":null},{"datafield_id":113,"is_required":"n","var_filter":null},{"datafield_id":114,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"17"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-LogName":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-AcknowledgeId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_AcknowledgeId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"16"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"19"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"20"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-ProblemId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ProblemId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"15"},"-DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckEventlog_Object_Warning$","order":"2"},"-IncludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false,"ifw_api_arguments":{"IncludeEventId":{"value":"$IcingaCheckEventlog_Array_IncludeEventId$"},"DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$"},"ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$"},"AcknowledgeId":{"value":"$IcingaCheckEventlog_Array_AcknowledgeId$"},"ExcludeEventId":{"value":"$IcingaCheckEventlog_Array_ExcludeEventId$"},"Before":{"value":"$IcingaCheckEventlog_Object_Before$"},"IncludeEntryType":{"value":"$IcingaCheckEventlog_Array_IncludeEntryType$"},"LogName":{"value":"$IcingaCheckEventlog_String_LogName$"},"ProblemId":{"value":"$IcingaCheckEventlog_Array_ProblemId$"},"ExcludeEntryType":{"value":"$IcingaCheckEventlog_Array_ExcludeEntryType$"},"IncludeSource":{"value":"$IcingaCheckEventlog_Array_IncludeSource$"},"Warning":{"value":"$IcingaCheckEventlog_Object_Warning$"},"MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$"},"Critical":{"value":"$IcingaCheckEventlog_Object_Critical$"},"ExcludeUsername":{"value":"$IcingaCheckEventlog_Array_ExcludeUsername$"},"After":{"value":"$IcingaCheckEventlog_Object_After$"},"IncludeUsername":{"value":"$IcingaCheckEventlog_Array_IncludeUsername$"},"NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$"},"ExcludeSource":{"value":"$IcingaCheckEventlog_Array_ExcludeSource$"},"IncludeMessage":{"value":"$IcingaCheckEventlog_Array_IncludeMessage$"},"ExcludeMessage":{"value":"$IcingaCheckEventlog_Array_ExcludeMessage$"},"Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckEventlog","IcingaCheckEventlog_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckDiskHealth":{"fields":[{"datafield_id":63,"is_required":"n","var_filter":null},{"datafield_id":64,"is_required":"n","var_filter":null},{"datafield_id":65,"is_required":"n","var_filter":null},{"datafield_id":66,"is_required":"n","var_filter":null},{"datafield_id":67,"is_required":"n","var_filter":null},{"datafield_id":68,"is_required":"n","var_filter":null},{"datafield_id":69,"is_required":"n","var_filter":null},{"datafield_id":70,"is_required":"n","var_filter":null},{"datafield_id":71,"is_required":"n","var_filter":null},{"datafield_id":72,"is_required":"n","var_filter":null},{"datafield_id":73,"is_required":"n","var_filter":null},{"datafield_id":74,"is_required":"n","var_filter":null},{"datafield_id":75,"is_required":"n","var_filter":null},{"datafield_id":76,"is_required":"n","var_filter":null},{"datafield_id":77,"is_required":"n","var_filter":null},{"datafield_id":78,"is_required":"n","var_filter":null},{"datafield_id":79,"is_required":"n","var_filter":null},{"datafield_id":80,"is_required":"n","var_filter":null},{"datafield_id":81,"is_required":"n","var_filter":null},{"datafield_id":82,"is_required":"n","var_filter":null},{"datafield_id":83,"is_required":"n","var_filter":null},{"datafield_id":84,"is_required":"n","var_filter":null},{"datafield_id":85,"is_required":"n","var_filter":null},{"datafield_id":86,"is_required":"n","var_filter":null},{"datafield_id":87,"is_required":"n","var_filter":null},{"datafield_id":88,"is_required":"n","var_filter":null},{"datafield_id":89,"is_required":"n","var_filter":null},{"datafield_id":90,"is_required":"n","var_filter":null},{"datafield_id":91,"is_required":"n","var_filter":null},{"datafield_id":92,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"16"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"15"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"12"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"23"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"11"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"14"},"-ExcludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"22"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"19"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"20"},"-IncludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"24"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"26"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"8"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"9"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"17"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"25"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"10"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"13"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"21"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$"},"NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$"},"DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$"},"CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$"},"Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$"},"DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$"},"ExcludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$"},"IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$"},"DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$"},"DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$"},"ExcludeDisk":{"value":"$IcingaCheckDiskHealth_Array_ExcludeDisk$"},"IncludeDisk":{"value":"$IcingaCheckDiskHealth_Array_IncludeDisk$"},"DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$"},"IncludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$"},"DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$"},"DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$"},"DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$"},"ExcludePartition":{"value":"$IcingaCheckDiskHealth_Array_ExcludePartition$"},"IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$"},"DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$"},"DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$"},"DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$"},"DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$"},"DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$"},"DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$"},"ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$"},"DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$"},"DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$"},"IncludePartition":{"value":"$IcingaCheckDiskHealth_Array_IncludePartition$"},"DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$"}},"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"ifw_api_command":"Invoke-IcingaCheckDiskHealth","IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false}},"Invoke-IcingaCheckProcess":{"fields":[{"datafield_id":244,"is_required":"n","var_filter":null},{"datafield_id":245,"is_required":"n","var_filter":null},{"datafield_id":246,"is_required":"n","var_filter":null},{"datafield_id":247,"is_required":"n","var_filter":null},{"datafield_id":248,"is_required":"n","var_filter":null},{"datafield_id":249,"is_required":"n","var_filter":null},{"datafield_id":250,"is_required":"n","var_filter":null},{"datafield_id":251,"is_required":"n","var_filter":null},{"datafield_id":252,"is_required":"n","var_filter":null},{"datafield_id":253,"is_required":"n","var_filter":null},{"datafield_id":254,"is_required":"n","var_filter":null},{"datafield_id":255,"is_required":"n","var_filter":null},{"datafield_id":256,"is_required":"n","var_filter":null},{"datafield_id":257,"is_required":"n","var_filter":null},{"datafield_id":258,"is_required":"n","var_filter":null},{"datafield_id":259,"is_required":"n","var_filter":null},{"datafield_id":260,"is_required":"n","var_filter":null},{"datafield_id":261,"is_required":"n","var_filter":null},{"datafield_id":262,"is_required":"n","var_filter":null},{"datafield_id":263,"is_required":"n","var_filter":null},{"datafield_id":264,"is_required":"n","var_filter":null},{"datafield_id":265,"is_required":"n","var_filter":null},{"datafield_id":266,"is_required":"n","var_filter":null},{"datafield_id":267,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcess","arguments":{"-TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$","order":"17"},"-NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$","order":"23"},"-TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$","order":"16"},"-MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$","order":"4"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"20"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$","order":"14"},"-TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$","order":"12"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$","order":"3"},"-CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$","order":"6"},"-TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$","order":"10"},"-ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$","order":"8"},"-TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$","order":"18"},"-CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$","order":"7"},"-ExcludeProcess":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_ExcludeProcess$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"22"},"-TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$","order":"15"},"-MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$","order":"5"},"-PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$","order":"2"},"-TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$","order":"19"},"-TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$","order":"11"},"-TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$","order":"13"},"-ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$","order":"9"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckProcess_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$"},"ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$"},"NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$"},"CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$"},"TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$"},"ThresholdInterval":{"value":"$IcingaCheckProcess_String_ThresholdInterval$"},"ExcludeProcess":{"value":"$IcingaCheckProcess_Array_ExcludeProcess$"},"TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$"},"PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$"},"ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$"},"TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$"},"PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$"},"Process":{"value":"$IcingaCheckProcess_Array_Process$"},"TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$"},"CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$"},"TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$"},"TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$"},"TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$"},"OverrideNotFound":{"value":"$IcingaCheckProcess_String_OverrideNotFound$"},"MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$"},"Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$"},"TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$"},"MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$"},"TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$"}},"ifw_api_command":"Invoke-IcingaCheckProcess"}},"Invoke-IcingaCheckCheckSum":{"fields":[{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckCheckSum","arguments":{"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Algorithm":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Hash":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Path":{"value":"$IcingaCheckCheckSum_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$"},"Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$"},"Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$"},"NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$"},"Hash":{"value":"$IcingaCheckCheckSum_String_Hash$"}},"ifw_api_command":"Invoke-IcingaCheckCheckSum"}},"Invoke-IcingaCheckScheduledTask":{"fields":[{"datafield_id":274,"is_required":"n","var_filter":null},{"datafield_id":275,"is_required":"n","var_filter":null},{"datafield_id":276,"is_required":"n","var_filter":null},{"datafield_id":277,"is_required":"n","var_filter":null},{"datafield_id":278,"is_required":"n","var_filter":null},{"datafield_id":279,"is_required":"n","var_filter":null},{"datafield_id":280,"is_required":"n","var_filter":null},{"datafield_id":281,"is_required":"n","var_filter":null},{"datafield_id":282,"is_required":"n","var_filter":null},{"datafield_id":283,"is_required":"n","var_filter":null},{"datafield_id":284,"is_required":"n","var_filter":null},{"datafield_id":285,"is_required":"n","var_filter":null},{"datafield_id":286,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"9"},"-CriticalNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"5"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-IgnoreExitCodes":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"6"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"11"},"-WarningLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"7"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false,"ifw_api_arguments":{"CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$"},"ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$"},"TaskName":{"value":"$IcingaCheckScheduledTask_Array_TaskName$"},"WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$"},"WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$"},"CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$"},"CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$"},"IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$"},"IgnoreExitCodes":{"value":"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$"},"WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$"},"State":{"value":"$IcingaCheckScheduledTask_Array_State$"},"NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckScheduledTask","IcingaCheckScheduledTask_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckFirewall":{"fields":[{"datafield_id":115,"is_required":"n","var_filter":null},{"datafield_id":116,"is_required":"n","var_filter":null},{"datafield_id":117,"is_required":"n","var_filter":null},{"datafield_id":118,"is_required":"n","var_filter":null},{"datafield_id":119,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckFirewall","arguments":{"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckFirewall_Array_Profile$"},"Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$"},"Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$"}},"ifw_api_command":"Invoke-IcingaCheckFirewall","IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"datafield_id":183,"is_required":"n","var_filter":null},{"datafield_id":184,"is_required":"n","var_filter":null},{"datafield_id":185,"is_required":"n","var_filter":null},{"datafield_id":186,"is_required":"n","var_filter":null},{"datafield_id":187,"is_required":"n","var_filter":null},{"datafield_id":188,"is_required":"n","var_filter":null},{"datafield_id":189,"is_required":"n","var_filter":null},{"datafield_id":190,"is_required":"n","var_filter":null},{"datafield_id":191,"is_required":"n","var_filter":null},{"datafield_id":192,"is_required":"n","var_filter":null},{"datafield_id":193,"is_required":"n","var_filter":null},{"datafield_id":194,"is_required":"n","var_filter":null},{"datafield_id":195,"is_required":"n","var_filter":null},{"datafield_id":196,"is_required":"n","var_filter":null},{"datafield_id":197,"is_required":"n","var_filter":null},{"datafield_id":198,"is_required":"n","var_filter":null},{"datafield_id":199,"is_required":"n","var_filter":null},{"datafield_id":200,"is_required":"n","var_filter":null},{"datafield_id":201,"is_required":"n","var_filter":null},{"datafield_id":202,"is_required":"n","var_filter":null},{"datafield_id":203,"is_required":"n","var_filter":null},{"datafield_id":204,"is_required":"n","var_filter":null},{"datafield_id":205,"is_required":"n","var_filter":null},{"datafield_id":206,"is_required":"n","var_filter":null},{"datafield_id":207,"is_required":"n","var_filter":null},{"datafield_id":208,"is_required":"n","var_filter":null},{"datafield_id":209,"is_required":"n","var_filter":null},{"datafield_id":210,"is_required":"n","var_filter":null},{"datafield_id":211,"is_required":"n","var_filter":null},{"datafield_id":212,"is_required":"n","var_filter":null},{"datafield_id":213,"is_required":"n","var_filter":null},{"datafield_id":214,"is_required":"n","var_filter":null},{"datafield_id":215,"is_required":"n","var_filter":null},{"datafield_id":216,"is_required":"n","var_filter":null},{"datafield_id":217,"is_required":"n","var_filter":null},{"datafield_id":218,"is_required":"n","var_filter":null},{"datafield_id":219,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$","order":"25"},"-DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$","order":"22"},"-PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$","order":"13"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$","order":"23"},"-PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$","order":"11"},"-DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$","order":"21"},"-IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$","order":"29"},"-PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$","order":"16"},"-PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$","order":"17"},"-IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$","order":"26"},"-IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$","set_if_format":"string","order":"99"},"-DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$","order":"19"},"-PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$","order":"12"},"-DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$","order":"18"},"-IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$","order":"27"},"-LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$","order":"24"},"-IncludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$","order":"20"},"-PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$","order":"10"},"-PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$","order":"14"},"-IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$","order":"34"},"-IncludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$","order":"6"},"-PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$","order":"15"},"-Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$","order":"35"},"-IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$","order":"32"},"-IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$","order":"28"},"-IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$","order":"33"},"-IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$","order":"31"},"-ExcludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$","order":"9"},"-IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$","order":"30"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden":false,"IcingaCheckNetworkInterface_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$"},"IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$"},"IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$"},"Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$"},"DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$"},"NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$"},"PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$"},"IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$"},"IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$"},"IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$"},"ExcludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$"},"DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$"},"IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$"},"PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$"},"PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$"},"IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$"},"DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$"},"PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$"},"ExcludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$"},"PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$"},"PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$"},"DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$"},"PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$"},"LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$"},"DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$"},"PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$"},"LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$"},"IncludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$"},"DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$"},"PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$"},"IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$"},"IncludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$"},"PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$"},"IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$"},"IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$"},"ThresholdInterval":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$"},"PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$"}},"ifw_api_command":"Invoke-IcingaCheckNetworkInterface"}},"Invoke-IcingaCheckHttpJsonResponse":{"fields":[{"datafield_id":120,"is_required":"n","var_filter":null},{"datafield_id":121,"is_required":"n","var_filter":null},{"datafield_id":122,"is_required":"n","var_filter":null},{"datafield_id":123,"is_required":"n","var_filter":null},{"datafield_id":124,"is_required":"n","var_filter":null},{"datafield_id":125,"is_required":"n","var_filter":null},{"datafield_id":126,"is_required":"n","var_filter":null},{"datafield_id":127,"is_required":"n","var_filter":null},{"datafield_id":128,"is_required":"n","var_filter":null},{"datafield_id":129,"is_required":"n","var_filter":null},{"datafield_id":130,"is_required":"n","var_filter":null},{"datafield_id":131,"is_required":"n","var_filter":null},{"datafield_id":132,"is_required":"n","var_filter":null},{"datafield_id":133,"is_required":"n","var_filter":null},{"datafield_id":134,"is_required":"n","var_filter":null},{"datafield_id":135,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHttpJsonResponse","arguments":{"-ServerPath":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$","order":"13"},"-StatusOnRequestError":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHttpJsonResponse_Securestring_Password$\u0027)","order":"6"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-ValuePaths":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValuePaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ValueTypes":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValueTypes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ServerUri":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Critical":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Critical$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$","order":"7"},"-Warning":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Warning$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-QueryParameter":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults":false,"ifw_api_arguments":{"QueryParameter":{"value":"$IcingaCheckHttpJsonResponse_String_QueryParameter$"},"Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHttpJsonResponse_String_Username$"},"Password":{"value":"$IcingaCheckHttpJsonResponse_Securestring_Password$"},"ValueTypes":{"value":"$IcingaCheckHttpJsonResponse_Array_ValueTypes$"},"ThresholdInterval":{"value":"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$"},"IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$"},"ServerPath":{"value":"$IcingaCheckHttpJsonResponse_String_ServerPath$"},"NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$"},"Warning":{"value":"$IcingaCheckHttpJsonResponse_Array_Warning$"},"Critical":{"value":"$IcingaCheckHttpJsonResponse_Array_Critical$"},"ValuePaths":{"value":"$IcingaCheckHttpJsonResponse_Array_ValuePaths$"},"StatusOnRequestError":{"value":"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$"},"NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$"},"Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$"},"ServerUri":{"value":"$IcingaCheckHttpJsonResponse_String_ServerUri$"}},"ifw_api_command":"Invoke-IcingaCheckHttpJsonResponse","IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL":false,"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckDirectory":{"fields":[{"datafield_id":37,"is_required":"n","var_filter":null},{"datafield_id":38,"is_required":"n","var_filter":null},{"datafield_id":39,"is_required":"n","var_filter":null},{"datafield_id":40,"is_required":"n","var_filter":null},{"datafield_id":41,"is_required":"n","var_filter":null},{"datafield_id":42,"is_required":"n","var_filter":null},{"datafield_id":43,"is_required":"n","var_filter":null},{"datafield_id":44,"is_required":"n","var_filter":null},{"datafield_id":45,"is_required":"n","var_filter":null},{"datafield_id":46,"is_required":"n","var_filter":null},{"datafield_id":47,"is_required":"n","var_filter":null},{"datafield_id":48,"is_required":"n","var_filter":null},{"datafield_id":49,"is_required":"n","var_filter":null},{"datafield_id":50,"is_required":"n","var_filter":null},{"datafield_id":51,"is_required":"n","var_filter":null},{"datafield_id":52,"is_required":"n","var_filter":null},{"datafield_id":53,"is_required":"n","var_filter":null},{"datafield_id":54,"is_required":"n","var_filter":null},{"datafield_id":55,"is_required":"n","var_filter":null},{"datafield_id":56,"is_required":"n","var_filter":null},{"datafield_id":57,"is_required":"n","var_filter":null},{"datafield_id":58,"is_required":"n","var_filter":null},{"datafield_id":59,"is_required":"n","var_filter":null},{"datafield_id":60,"is_required":"n","var_filter":null},{"datafield_id":61,"is_required":"n","var_filter":null},{"datafield_id":62,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$","order":"7"},"-CreationOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"18"},"-FileSizeGreaterThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"20"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"22"},"-ChangeOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"16"},"-ChangeYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"15"},"-FileSizeSmallerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CreationTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"17"},"-CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$","set_if_format":"string","order":"99"},"-CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$","order":"11"},"-WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$","order":"8"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"19"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$","order":"6"},"-WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$","order":"12"},"-WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$","order":"10"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"},"-CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$","order":"9"},"-CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$","order":"13"},"-ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$","set_if_format":"string","order":"99"},"-ChangeTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"14"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_CountFolderAsFile":false,"ifw_api_arguments":{"CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$"},"WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$"},"CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$"},"WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$"},"CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$"},"WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$"},"NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$"},"ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$"},"CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$"},"ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$"},"CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$"},"CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$"},"FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$"},"WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$"},"ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$"},"FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$"},"Warning":{"value":"$IcingaCheckDirectory_Object_Warning$"},"Critical":{"value":"$IcingaCheckDirectory_Object_Critical$"},"ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$"},"ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$"},"FileNames":{"value":"$IcingaCheckDirectory_Array_FileNames$"},"CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$"},"Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$"},"Path":{"value":"$IcingaCheckDirectory_String_Path$"},"CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$"},"Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$"}},"IcingaCheckDirectory_Switchparameter_ShowFileList":false,"ifw_api_command":"Invoke-IcingaCheckDirectory","IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}},"Invoke-IcingaCheckUNCPath":{"fields":[{"datafield_id":335,"is_required":"n","var_filter":null},{"datafield_id":336,"is_required":"n","var_filter":null},{"datafield_id":337,"is_required":"n","var_filter":null},{"datafield_id":338,"is_required":"n","var_filter":null},{"datafield_id":339,"is_required":"n","var_filter":null},{"datafield_id":340,"is_required":"n","var_filter":null},{"datafield_id":341,"is_required":"n","var_filter":null},{"datafield_id":342,"is_required":"n","var_filter":null},{"datafield_id":343,"is_required":"n","var_filter":null},{"datafield_id":344,"is_required":"n","var_filter":null},{"datafield_id":345,"is_required":"n","var_filter":null},{"datafield_id":346,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUNCPath","arguments":{"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"8"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"10"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"9"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckUNCPath_Securestring_Password$\u0027)","order":"4"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"6"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-User":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_User$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_User$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-DisplayAlias":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace":false,"ifw_api_arguments":{"WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$"},"DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$"},"Path":{"value":"$IcingaCheckUNCPath_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$"},"CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$"},"Password":{"value":"$IcingaCheckUNCPath_Securestring_Password$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$"},"Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$"},"Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$"},"User":{"value":"$IcingaCheckUNCPath_String_User$"}},"ifw_api_command":"Invoke-IcingaCheckUNCPath","IcingaCheckUNCPath_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckPerfCounter":{"fields":[{"datafield_id":235,"is_required":"n","var_filter":null},{"datafield_id":236,"is_required":"n","var_filter":null},{"datafield_id":237,"is_required":"n","var_filter":null},{"datafield_id":238,"is_required":"n","var_filter":null},{"datafield_id":239,"is_required":"n","var_filter":null},{"datafield_id":240,"is_required":"n","var_filter":null},{"datafield_id":241,"is_required":"n","var_filter":null},{"datafield_id":242,"is_required":"n","var_filter":null},{"datafield_id":243,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_IncludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ExcludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_ExcludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false,"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_arguments":{"PerfCounter":{"value":"$IcingaCheckPerfCounter_Array_PerfCounter$"},"ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$"},"ExcludeCounter":{"value":"$IcingaCheckPerfCounter_Array_ExcludeCounter$"},"Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$"},"Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$"},"IncludeCounter":{"value":"$IcingaCheckPerfCounter_Array_IncludeCounter$"},"Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckPerfCounter"}},"Invoke-IcingaCheckICMP":{"fields":[{"datafield_id":157,"is_required":"n","var_filter":null},{"datafield_id":158,"is_required":"n","var_filter":null},{"datafield_id":159,"is_required":"n","var_filter":null},{"datafield_id":160,"is_required":"n","var_filter":null},{"datafield_id":161,"is_required":"n","var_filter":null},{"datafield_id":162,"is_required":"n","var_filter":null},{"datafield_id":163,"is_required":"n","var_filter":null},{"datafield_id":164,"is_required":"n","var_filter":null},{"datafield_id":165,"is_required":"n","var_filter":null},{"datafield_id":166,"is_required":"n","var_filter":null},{"datafield_id":167,"is_required":"n","var_filter":null},{"datafield_id":168,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$"},"Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$"},"Hostname":{"value":"$IcingaCheckICMP_String_Hostname$"},"CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$"},"WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$"},"NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckICMP_Object_Critical$"},"IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$"},"Warning":{"value":"$IcingaCheckICMP_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$"},"PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$"},"IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$"}},"ifw_api_command":"Invoke-IcingaCheckICMP","IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"datafield_id":368,"is_required":"n","var_filter":null},{"datafield_id":369,"is_required":"n","var_filter":null},{"datafield_id":370,"is_required":"n","var_filter":null},{"datafield_id":371,"is_required":"n","var_filter":null},{"datafield_id":372,"is_required":"n","var_filter":null},{"datafield_id":373,"is_required":"n","var_filter":null},{"datafield_id":374,"is_required":"n","var_filter":null},{"datafield_id":375,"is_required":"n","var_filter":null},{"datafield_id":376,"is_required":"n","var_filter":null},{"datafield_id":377,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckUsedPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckUsedPartitionSpace_Array_Include$"}},"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_command":"Invoke-IcingaCheckUsedPartitionSpace","IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData":false,"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckService":{"fields":[{"datafield_id":287,"is_required":"n","var_filter":null},{"datafield_id":288,"is_required":"n","var_filter":null},{"datafield_id":289,"is_required":"n","var_filter":null},{"datafield_id":290,"is_required":"n","var_filter":null},{"datafield_id":291,"is_required":"n","var_filter":null},{"datafield_id":292,"is_required":"n","var_filter":null},{"datafield_id":293,"is_required":"n","var_filter":null},{"datafield_id":294,"is_required":"n","var_filter":null},{"datafield_id":295,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckService","arguments":{"-FilterStartupType":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_FilterStartupType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"7"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-Status":{"set_if":"var str = macro(\"$IcingaCheckService_String_Status$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_Status$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Service":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Service$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$"},"MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$"},"FilterStartupType":{"value":"$IcingaCheckService_Array_FilterStartupType$"},"Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$"},"Service":{"value":"$IcingaCheckService_Array_Service$"},"NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$"},"Status":{"value":"$IcingaCheckService_String_Status$"},"OverrideNotFound":{"value":"$IcingaCheckService_String_OverrideNotFound$"},"Exclude":{"value":"$IcingaCheckService_Array_Exclude$"}},"ifw_api_command":"Invoke-IcingaCheckService","IcingaCheckService_Switchparameter_MitigateUnknown":false}},"Invoke-IcingaCheckCPU":{"fields":[{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null},{"datafield_id":30,"is_required":"n","var_filter":null},{"datafield_id":31,"is_required":"n","var_filter":null},{"datafield_id":32,"is_required":"n","var_filter":null},{"datafield_id":33,"is_required":"n","var_filter":null},{"datafield_id":34,"is_required":"n","var_filter":null},{"datafield_id":35,"is_required":"n","var_filter":null},{"datafield_id":36,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckCPU","arguments":{"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"6"},"-SocketFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckCPU_Array_SocketFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Core":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_Core$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_Core$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$","set_if_format":"string","order":"99"},"-DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$","set_if_format":"string","order":"99"},"-OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_OverallOnly":false,"ifw_api_arguments":{"DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$"},"ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$"},"SocketFilter":{"value":"$IcingaCheckCPU_Array_SocketFilter$"},"NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckCPU_Object_Critical$"},"Core":{"value":"$IcingaCheckCPU_String_Core$"},"OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$"},"Warning":{"value":"$IcingaCheckCPU_Object_Warning$"},"Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$"},"OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$"},"Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$"}},"IcingaCheckCPU_Switchparameter_NoPerfData":false,"IcingaCheckCPU_Switchparameter_DisableProcessList":false,"IcingaCheckCPU_Switchparameter_OverallTotalAsSum":false,"ifw_api_command":"Invoke-IcingaCheckCPU","IcingaCheckCPU_Switchparameter_Limit100Percent":false}},"Invoke-IcingaCheckTCP":{"fields":[{"datafield_id":316,"is_required":"n","var_filter":null},{"datafield_id":317,"is_required":"n","var_filter":null},{"datafield_id":318,"is_required":"n","var_filter":null},{"datafield_id":319,"is_required":"n","var_filter":null},{"datafield_id":320,"is_required":"n","var_filter":null},{"datafield_id":321,"is_required":"n","var_filter":null},{"datafield_id":322,"is_required":"n","var_filter":null},{"datafield_id":323,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTCP","arguments":{"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Address":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_Address$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_Address$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTCP_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Ports":{"value":{"body":"var arr = macro(\"$IcingaCheckTCP_Array_Ports$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$"},"Ports":{"value":"$IcingaCheckTCP_Array_Ports$"},"Critical":{"value":"$IcingaCheckTCP_Object_Critical$"},"Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$"},"Address":{"value":"$IcingaCheckTCP_String_Address$"},"Warning":{"value":"$IcingaCheckTCP_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTCP","IcingaCheckTCP_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUptime":{"fields":[{"datafield_id":363,"is_required":"n","var_filter":null},{"datafield_id":364,"is_required":"n","var_filter":null},{"datafield_id":365,"is_required":"n","var_filter":null},{"datafield_id":366,"is_required":"n","var_filter":null},{"datafield_id":367,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUptime","arguments":{"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-Warning":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Warning$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Warning$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Critical$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Critical$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUptime_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckUptime_String_Critical$"},"Warning":{"value":"$IcingaCheckUptime_String_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUptime"}},"Invoke-IcingaCheckStoragePool":{"fields":[{"datafield_id":296,"is_required":"n","var_filter":null},{"datafield_id":297,"is_required":"n","var_filter":null},{"datafield_id":298,"is_required":"n","var_filter":null},{"datafield_id":299,"is_required":"n","var_filter":null},{"datafield_id":300,"is_required":"n","var_filter":null},{"datafield_id":301,"is_required":"n","var_filter":null},{"datafield_id":302,"is_required":"n","var_filter":null},{"datafield_id":303,"is_required":"n","var_filter":null},{"datafield_id":304,"is_required":"n","var_filter":null},{"datafield_id":305,"is_required":"n","var_filter":null},{"datafield_id":306,"is_required":"n","var_filter":null},{"datafield_id":307,"is_required":"n","var_filter":null},{"datafield_id":308,"is_required":"n","var_filter":null},{"datafield_id":309,"is_required":"n","var_filter":null},{"datafield_id":310,"is_required":"n","var_filter":null},{"datafield_id":311,"is_required":"n","var_filter":null},{"datafield_id":312,"is_required":"n","var_filter":null},{"datafield_id":313,"is_required":"n","var_filter":null},{"datafield_id":314,"is_required":"n","var_filter":null},{"datafield_id":315,"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"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"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\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","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,"ifw_api_arguments":{"ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$"},"NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$"},"HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$"},"ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$"},"TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$"},"RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$"},"HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$"},"IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$"},"IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$"},"ExcludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_ExcludeStoragePool$"},"SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$"},"RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$"},"TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$"},"IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$"},"CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$"},"FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$"},"Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$"},"FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$"},"IncludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_IncludeStoragePool$"},"CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$"}},"ifw_api_command":"Invoke-IcingaCheckStoragePool","IcingaCheckStoragePool_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUpdates":{"fields":[{"datafield_id":347,"is_required":"n","var_filter":null},{"datafield_id":348,"is_required":"n","var_filter":null},{"datafield_id":349,"is_required":"n","var_filter":null},{"datafield_id":350,"is_required":"n","var_filter":null},{"datafield_id":351,"is_required":"n","var_filter":null},{"datafield_id":352,"is_required":"n","var_filter":null},{"datafield_id":353,"is_required":"n","var_filter":null},{"datafield_id":354,"is_required":"n","var_filter":null},{"datafield_id":355,"is_required":"n","var_filter":null},{"datafield_id":356,"is_required":"n","var_filter":null},{"datafield_id":357,"is_required":"n","var_filter":null},{"datafield_id":358,"is_required":"n","var_filter":null},{"datafield_id":359,"is_required":"n","var_filter":null},{"datafield_id":360,"is_required":"n","var_filter":null},{"datafield_id":361,"is_required":"n","var_filter":null},{"datafield_id":362,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUpdates","arguments":{"-WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$","order":"7"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"13"},"-WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$","order":"12"},"-WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$","order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$","order":"11"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$","order":"10"},"-CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$","order":"8"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$","set_if_format":"string","order":"99"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$","order":"5"},"-CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false,"IcingaCheckUpdates_Switchparameter_WarnOnReboot":false,"IcingaCheckUpdates_Switchparameter_CritOnReboot":false,"ifw_api_arguments":{"WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$"},"CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$"},"CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$"},"NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$"},"WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$"},"ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$"},"WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$"},"CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$"},"CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$"},"WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$"},"Warning":{"value":"$IcingaCheckUpdates_Object_Warning$"},"Critical":{"value":"$IcingaCheckUpdates_Object_Critical$"},"CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$"},"Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$"},"UpdateFilter":{"value":"$IcingaCheckUpdates_Array_UpdateFilter$"},"WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$"}},"ifw_api_command":"Invoke-IcingaCheckUpdates"}},"Invoke-IcingaCheckProcessCount":{"fields":[{"datafield_id":268,"is_required":"n","var_filter":null},{"datafield_id":269,"is_required":"n","var_filter":null},{"datafield_id":270,"is_required":"n","var_filter":null},{"datafield_id":271,"is_required":"n","var_filter":null},{"datafield_id":272,"is_required":"n","var_filter":null},{"datafield_id":273,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcessCount","arguments":{"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Process":{"value":"$IcingaCheckProcessCount_Array_Process$"},"ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$"},"Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckProcessCount","IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckTimeSync":{"fields":[{"datafield_id":324,"is_required":"n","var_filter":null},{"datafield_id":325,"is_required":"n","var_filter":null},{"datafield_id":326,"is_required":"n","var_filter":null},{"datafield_id":327,"is_required":"n","var_filter":null},{"datafield_id":328,"is_required":"n","var_filter":null},{"datafield_id":329,"is_required":"n","var_filter":null},{"datafield_id":330,"is_required":"n","var_filter":null},{"datafield_id":331,"is_required":"n","var_filter":null},{"datafield_id":332,"is_required":"n","var_filter":null},{"datafield_id":333,"is_required":"n","var_filter":null},{"datafield_id":334,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTimeSync","arguments":{"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_IPV4":false,"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$"},"TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$"},"ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$"},"Server":{"value":"$IcingaCheckTimeSync_String_Server$"},"Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$"},"Port":{"value":"$IcingaCheckTimeSync_Int32_Port$"},"Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$"},"Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$"},"IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$"},"Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTimeSync","IcingaCheckTimeSync_Switchparameter_IgnoreService":false}}},"Datafield":{"51":{"settings":{"visibility":"visible"},"description":"Will add the count of folders on top of the file count, allowing to include it within the threshold check.","caption":"CountFolderAsFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"51","varname":"IcingaCheckDirectory_Switchparameter_CountFolderAsFile","format":null},"364":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"364","varname":"IcingaCheckUptime_String_Warning","format":null},"319":{"settings":{"visibility":"visible"},"description":"By default the plugin will return [CRITICAL] in case connections to a port are not possible. By setting this argument,\nthe plugin will return [CRITICAL] for successful connections instead","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"319","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"375":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"375","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"346":{"settings":{"datalist":"IcingaCheckUNCPath 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":"346","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"378":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"378","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"294":{"settings":{"datalist":"IcingaCheckService 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":"294","varname":"IcingaCheckService_Int32_Verbosity","format":null},"90":{"settings":{"visibility":"visible"},"description":"Set this to include only disks that have drive letters like C:, D:, ..., assigned to them. Can be combined with include/exclude filters","caption":"CheckLogicalOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"90","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name, Issuer and Thumbprint.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"13","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"31":{"settings":{"visibility":"visible"},"description":"If this flag is set, the Warning and Critical thresholds will only apply to the `Overall Load` metric instead of all\nreturned cores. Requires that the plugin either fetches all cores with `*` or `Total` for the -Core argument","caption":"OverallOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"31","varname":"IcingaCheckCPU_Switchparameter_OverallOnly","format":null},"81":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"81","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"192":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PackteReceivedErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"192","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"111":{"settings":{"visibility":"visible"},"description":"Allows to limit the amount of log entries fetched by Get-WinEvent, to increase performance and reduce system load impact\nShould match the average amount of log files written for the intended time range filtered","caption":"MaxEntries","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"111","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"284":{"settings":{"visibility":"visible"},"description":"By default every task which did not exit with 0 will be handled as critical. If you set this flag,\nthe exit code of the task is ignored during check execution","caption":"IgnoreLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"284","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"122":{"settings":{"visibility":"visible"},"description":"Path for the request, example \"/v1/my_endpoint\"","caption":"ServerPath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"122","varname":"IcingaCheckHttpJsonResponse_String_ServerPath","format":null},"60":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"5MB\", which translates to the filze size 5 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 5 MB or less are considered within the check.","caption":"FileSizeSmallerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"60","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"150":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"150","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"363":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"363","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"372":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"372","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"341":{"settings":{"visibility":"visible"},"description":"A critical threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"341","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"180":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the number of path defined.\nUse for example 6: for alerting for less than 6 MPIO paths available","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"180","varname":"IcingaCheckMPIO_Object_Critical","format":null},"293":{"settings":{"datalist":"IcingaCheckService OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a service was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the service state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"293","varname":"IcingaCheckService_String_OverrideNotFound","format":null},"236":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"236","varname":"IcingaCheckPerfCounter_Array_PerfCounter","format":null},"282":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"282","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"233":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"233","varname":"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"310":{"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":"310","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"222":{"settings":{"datalist":"IcingaCheckNLA 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":"222","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"211":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"211","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"53":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been changed 20 days ago are considered within the check.","caption":"ChangeTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"53","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"128":{"settings":{"visibility":"visible"},"description":"Value types of each parameter. Supported Types: Numeric, Boolean, DateTime, String Example: \"myAlias01:Numeric\",\"myAlias02:DateTime\"","caption":"ValueTypes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"128","varname":"IcingaCheckHttpJsonResponse_Array_ValueTypes","format":null},"71":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"71","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"250":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"250","varname":"IcingaCheckProcess_Object_CPUCritical","format":null},"125":{"settings":{"visibility":"hidden"},"description":"Credentials to use for basic auth","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"125","varname":"IcingaCheckHttpJsonResponse_Securestring_Password","format":null},"149":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"149","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"134":{"settings":{"datalist":"IcingaCheckHttpJsonResponse 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":"134","varname":"IcingaCheckHttpJsonResponse_Int32_Verbosity","format":null},"158":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for the response time in ms","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"158","varname":"IcingaCheckICMP_Object_Warning","format":null},"94":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"94","varname":"IcingaCheckEventlog_Object_Warning","format":null},"238":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"238","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"109":{"settings":{"visibility":"visible"},"description":"Defines the starting point on which timeframe the plugin will start to read event log information.\nUsing 4h as argument as example, will provide all entries from the time the plugin was executed to the past 4 hours.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will start reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will start reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will read the past 4 hours\n\"1d\": Will read the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 4h v\n|--------------------|-----------------|\n10:00 12:00 16:00\n| Not fetched | Fetched |```","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"109","varname":"IcingaCheckEventlog_Object_After","format":null},"323":{"settings":{"datalist":"IcingaCheckTCP 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":"323","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"99":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be included.","caption":"IncludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"99","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"292":{"settings":{"visibility":"visible"},"description":"This will tell the plugin to return OK instead of UNKNOWN, in case no service was added to this\ncheck","caption":"MitigateUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"292","varname":"IcingaCheckService_Switchparameter_MitigateUnknown","format":null},"88":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Offline` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreOfflineDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"88","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"283":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"283","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null},"224":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"224","varname":"IcingaCheckPartitionSpace_String_ThresholdInterval","format":null},"217":{"settings":{"visibility":"visible"},"description":"Set this argument if you want to include hidden network Adapter for checks. It is a network which is available but is not\nbroadcasting its ID.","caption":"IncludeHidden","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"217","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"55":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date older then 20 days are considered within the check.","caption":"ChangeOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"55","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"340":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"340","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"43":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"43","varname":"IcingaCheckDirectory_Object_WarningTotalSize","format":null},"143":{"settings":{"visibility":"visible"},"description":"Used to specify a username as string to authenticate with. Authentication is only possible with \u0027https://\u0027. Use with: -Password","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"143","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"61":{"settings":{"datalist":"IcingaCheckDirectory 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":"61","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"152":{"settings":{"visibility":"visible"},"description":"Adds the returned content of a website to the plugin output for debugging purpose","caption":"AddOutputContent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"152","varname":"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"WarningEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"240":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, excluding the provided counters. Allows\nwildcard \"*\" usage","caption":"ExcludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"240","varname":"IcingaCheckPerfCounter_Array_ExcludeCounter","format":null},"159":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for the response time in ms","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"159","varname":"IcingaCheckICMP_Object_Critical","format":null},"374":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"374","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"20":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"20","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"184":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to include for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"184","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"195":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"195","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"209":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"209","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"103":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be included.","caption":"IncludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"103","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"382":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"382","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"325":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"325","varname":"IcingaCheckTimeSync_String_Server","format":null},"334":{"settings":{"datalist":"IcingaCheckTimeSync 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":"334","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"311":{"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":"311","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"276":{"settings":{"datalist":"IcingaCheckScheduledTask State","behavior":"strict","data_type":"array"},"description":"The state a task should currently have for the plugin to return [OK]","caption":"State","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"276","varname":"IcingaCheckScheduledTask_Array_State","format":null},"54":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date younger then 20 days are considered within the check.","caption":"ChangeYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"54","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"267":{"settings":{"datalist":"IcingaCheckProcess 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":"267","varname":"IcingaCheckProcess_Int32_Verbosity","format":null},"45":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"45","varname":"IcingaCheckDirectory_Object_WarningSmallestFile","format":null},"254":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"254","varname":"IcingaCheckProcess_Object_TotalPageFileCritical","format":null},"76":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"76","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"245":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"245","varname":"IcingaCheckProcess_Object_PageFileWarning","format":null},"67":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to exclude from checks. Example C:, D:","caption":"ExcludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"67","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"350":{"settings":{"visibility":"visible"},"description":"The critical threshold for the total pending update count on the Windows machine","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"350","varname":"IcingaCheckUpdates_Object_Critical","format":null},"259":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"259","varname":"IcingaCheckProcess_Object_TotalThreadCountWarning","format":null},"248":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"248","varname":"IcingaCheckProcess_Object_MemoryCritical","format":null},"171":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"171","varname":"IcingaCheckMemory_Object_Critical","format":null},"123":{"settings":{"visibility":"visible"},"description":"Query parameter for the request without ?, example \"command=example\"","caption":"QueryParameter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"123","varname":"IcingaCheckHttpJsonResponse_String_QueryParameter","format":null},"28":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckCPU_Object_Critical","format":null},"207":{"settings":{"visibility":"visible"},"description":"Critical threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"207","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"335":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"335","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"366":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"366","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"317":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"317","varname":"IcingaCheckTCP_String_Address","format":null},"52":{"settings":{"visibility":"visible"},"description":"Allows to add the file list to the plugin output. Beware that this will cause your database to grow and\nperformance might be slower on huge directories!","caption":"ShowFileList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"52","varname":"IcingaCheckDirectory_Switchparameter_ShowFileList","format":null},"261":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"261","varname":"IcingaCheckProcess_Object_TotalProcessCountWarning","format":null},"349":{"settings":{"visibility":"visible"},"description":"The warning threshold for the total pending update count on the Windows machine","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"349","varname":"IcingaCheckUpdates_Object_Warning","format":null},"257":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"257","varname":"IcingaCheckProcess_Object_TotalCPUWarning","format":null},"358":{"settings":{"visibility":"visible"},"description":"The critical threshold for all other updates on the Windows machine","caption":"CriticalOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"358","varname":"IcingaCheckUpdates_Object_CriticalOther","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify an array of paths on your system, where certificate files are. Use with CertName.","caption":"CertPaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"68":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to include for checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"IncludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"68","varname":"IcingaCheckDiskHealth_Array_IncludeFriendlyName","format":null},"235":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"235","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"37":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"37","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"92":{"settings":{"datalist":"IcingaCheckDiskHealth 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":"92","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"26":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"26","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"244":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"244","varname":"IcingaCheckProcess_String_ThresholdInterval","format":null},"38":{"settings":{"visibility":"visible"},"description":"Used to specify a path.\ne.g. \u0027C:\\Users\\Icinga\\Downloads\u0027","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"38","varname":"IcingaCheckDirectory_String_Path","format":null},"29":{"settings":{"visibility":"visible"},"description":"Used to specify a single core to check for. For the average load across all cores use `_Total`","caption":"Core","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"29","varname":"IcingaCheckCPU_String_Core","format":null},"285":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"285","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"309":{"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":"309","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"113":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"113","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a date. The start date of the certificate has to be past the date specified, otherwise the check results in critical. Use carefully.\nUse format like: \u0027yyyy-MM-dd\u0027","caption":"CriticalStart","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"365":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"365","varname":"IcingaCheckUptime_String_Critical","format":null},"5":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"5","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"347":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"347","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"356":{"settings":{"visibility":"visible"},"description":"The critical threshold for the Microsoft Defender update count on the Windows machine","caption":"CriticalDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"356","varname":"IcingaCheckUpdates_Object_CriticalDefender","format":null},"42":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"42","varname":"IcingaCheckDirectory_Object_Warning","format":null},"359":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\nwarning if one is pending","caption":"WarnOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"359","varname":"IcingaCheckUpdates_Switchparameter_WarnOnReboot","format":null},"133":{"settings":{"visibility":"visible"},"description":"Negate the conditions set for string parameters. When this is set to true, WarnIfLike/CritIfLike is used instead of WarnIfNotLike/CritIfNotLike for Strings","caption":"NegateStringResults","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"133","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults","format":null},"36":{"settings":{"datalist":"IcingaCheckCPU 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":"36","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"91":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"91","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"27":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckCPU_Object_Warning","format":null},"307":{"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":"307","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null},"115":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"115","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"CriticalEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"70":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"70","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null},"361":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"361","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"140":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"140","varname":"IcingaCheckHTTPStatus_String_VHost","format":null},"357":{"settings":{"visibility":"visible"},"description":"The warning threshold for all other updates on the Windows machine","caption":"WarningOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"357","varname":"IcingaCheckUpdates_Object_WarningOther","format":null},"237":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"237","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"281":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"281","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","format":null},"226":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"226","varname":"IcingaCheckPartitionSpace_Object_Critical","format":null},"215":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"215","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"129":{"settings":{"visibility":"visible"},"description":"Warning thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"129","varname":"IcingaCheckHttpJsonResponse_Array_Warning","format":null},"145":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy username as string to authenticate with. Use with: -ProxyPassword \u0026 -ProxyServer","caption":"ProxyUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"145","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null},"138":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time critical threshold in seconds, everything past that threshold is considered a CRITICAL.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"138","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"193":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteReceivedErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"193","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"168":{"settings":{"datalist":"IcingaCheckICMP 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":"168","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"179":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the number of path defined.\nUse for example 8: for alerting for less than 8 MPIO paths available","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"179","varname":"IcingaCheckMPIO_Object_Warning","format":null},"242":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"242","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"186":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to exclude for checks. Example OutboundGroup, ClusterInterface","caption":"ExcludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"186","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"105":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be included.","caption":"IncludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"105","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"95":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"95","varname":"IcingaCheckEventlog_Object_Critical","format":null},"327":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Warning threshold e.g 10ms or 0.01s","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"327","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"84":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"84","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"108":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as acknowledged. These event IDs will be compared to the provided ProblemIds.\nIf no event ID for a ProblemId is found it will be marked as a problem. If you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds.\nIf you have multiple ProblemIds but only one AcknowledgeId, you need to add the AcknowledgeId multiple times to this array.","caption":"AcknowledgeId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"108","varname":"IcingaCheckEventlog_Array_AcknowledgeId","format":null},"228":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"228","varname":"IcingaCheckPartitionSpace_Array_Exclude","format":null},"25":{"settings":{"datalist":"IcingaCheckCheckSum 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":"25","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"227":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"227","varname":"IcingaCheckPartitionSpace_Array_Include","format":null},"214":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the current network interface operational status.","caption":"IfOperationalStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"214","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"278":{"settings":{"visibility":"visible"},"description":"Defines a warning threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"WarningMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"278","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"56":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been created 20 days ago are considered within the check.","caption":"CreationTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"56","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"269":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"269","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"47":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"47","varname":"IcingaCheckDirectory_Object_WarningLargestFile","format":null},"74":{"settings":{"visibility":"visible"},"description":"Warning threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"74","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"144":{"settings":{"visibility":"hidden"},"description":"Used to specify a password as securestring to authenticate with. Authentication is only possible with \u0027https://\u0027.Use with: -Username","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"144","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"155":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"155","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"166":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv6 addresses for ICMP calls by using a hostname","caption":"IPv6","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"166","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"177":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"177","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"188":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"188","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"30":{"settings":{"visibility":"visible"},"description":"Allows to specify one or mutlitple sockets by using their socket id. Not matching socket id\u0027s will not be evaluated\nby the plugin.","caption":"SocketFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"30","varname":"IcingaCheckCPU_Array_SocketFilter","format":null},"205":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"205","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"185":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to exclude for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"185","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"194":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"194","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"102":{"settings":{"datalist":"IcingaCheckEventlog ExcludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be excluded. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"ExcludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"102","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"10":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027None\u0027, \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027.\nUse \u0027None\u0027 if you do not want to check the certificate store (Default)","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"10","varname":"IcingaCheckCertificate_String_CertStore","format":null},"142":{"settings":{"visibility":"visible"},"description":"Used to specify the timeout in seconds of the webrequest as integer. The default is 10 for 10 seconds.","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"142","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"326":{"settings":{"visibility":"visible"},"description":"The maximum acceptable offset between the local clock and the NTP Server, in seconds e.g. if you allow up to 0.5s timeoffset you can also enter 500ms.\nInvoke-IcingaCheckTimeSync will return OK, if there is no difference between them,\nWARNING, if the time difference exceeds the Warning threshold,\nCRITICAL, if the time difference exceeds the Critical threshold.","caption":"TimeOffset","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"326","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"85":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"85","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"337":{"settings":{"visibility":"visible"},"description":"Provide a username and/or domain to run this check for. The format can either be \u0027domain\\user\u0027 or \u0027domain@user\u0027","caption":"User","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"337","varname":"IcingaCheckUNCPath_String_User","format":null},"229":{"settings":{"visibility":"visible"},"description":"Allows to define a list of partitions which should be included in the check.\ne.g. \u0027C:\u0027,\u0027D:\u0027\n\nIn case they are missing, the plugin will report CRITICAL","caption":"RequiredPartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"229","varname":"IcingaCheckPartitionSpace_Array_RequiredPartition","format":null},"239":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, only including the provided counters. Allows\nwildcard \"*\" usage","caption":"IncludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"239","varname":"IcingaCheckPerfCounter_Array_IncludeCounter","format":null},"315":{"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":"315","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"58":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date younger then 20 days are considered within the check.","caption":"CreationYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"58","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"272":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"272","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"49":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"49","varname":"IcingaCheckDirectory_Object_WarningAverageFile","format":null},"277":{"settings":{"visibility":"visible"},"description":"A list of exit codes which will be considered as [OK]. By default every task which did not exit with 0 will be handled as critical.","caption":"IgnoreExitCodes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"277","varname":"IcingaCheckScheduledTask_Array_IgnoreExitCodes","format":null},"266":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"266","varname":"IcingaCheckProcess_Switchparameter_NoPerfData","format":null},"44":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"44","varname":"IcingaCheckDirectory_Object_CriticalTotalSize","format":null},"255":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"255","varname":"IcingaCheckProcess_Object_TotalMemoryWarning","format":null},"77":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"77","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"17":{"settings":{"visibility":"visible"},"description":"Includes sub-directories and entries while looking for certificates on a given path","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"66":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to include for checks. Example C:, D:","caption":"IncludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"66","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"304":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"304","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"161":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for possible packet loss in %","caption":"CriticalPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"161","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"204":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"204","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"21":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckCheckSum_String_Path","format":null},"383":{"settings":{"datalist":"IcingaCheckUsers 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":"383","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"328":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Critical threshold e.g 20ms or 0.02s.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"328","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"339":{"settings":{"visibility":"visible"},"description":"Modifies the plugin output to not display the value provided within the `-Path` argument but to use this string value\ninstead of shorten the output and make it more visual appealing.","caption":"DisplayAlias","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"339","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"130":{"settings":{"visibility":"visible"},"description":"Critical thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"130","varname":"IcingaCheckHttpJsonResponse_Array_Critical","format":null},"367":{"settings":{"datalist":"IcingaCheckUptime 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":"367","varname":"IcingaCheckUptime_Int32_Verbosity","format":null},"316":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"316","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"376":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"376","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"271":{"settings":{"visibility":"visible"},"description":"Used to specify an array of processes to count and match against. e.g. conhost,wininit","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"271","varname":"IcingaCheckProcessCount_Array_Process","format":null},"345":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"345","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"253":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"253","varname":"IcingaCheckProcess_Object_TotalPageFileWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Thumbprints, which are used to determine what certificate to check, within the CertStore.","caption":"CertThumbprint","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"16":{"settings":{"visibility":"visible"},"description":"Used to specify an array of certificate names of certificate files to check. Use with CertPaths.","caption":"CertName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"16","varname":"IcingaCheckCertificate_Array_CertName","format":null},"121":{"settings":{"visibility":"visible"},"description":"Base URI of the server, example \"https://example.comm\"","caption":"ServerUri","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"121","varname":"IcingaCheckHttpJsonResponse_String_ServerUri","format":null},"34":{"settings":{"visibility":"visible"},"description":"If this flag is set, the plugin will limit the CPU usage for each thread to 100%. This happens on systems with Intel TurboBoost or AMD PBO (Precision Boost Overdrive) enabled.\nRead more about this behavior on the Microsoft docs: https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/cpu-usage-exceeds-100","caption":"Limit100Percent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"34","varname":"IcingaCheckCPU_Switchparameter_Limit100Percent","format":null},"220":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"220","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"298":{"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":"298","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"82":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"82","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"289":{"settings":{"visibility":"visible"},"description":"Allows to exclude services which might come in handy for checking services which are configured to start automatically\non Windows but are not running and weren\u0027t exited properly.","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"289","varname":"IcingaCheckService_Array_Exclude","format":null},"305":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"305","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null},"202":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"202","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"381":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"381","varname":"IcingaCheckUsers_Object_Critical","format":null},"308":{"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":"308","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"112":{"settings":{"visibility":"visible"},"description":"Switch to disable the time cache on a check. If this parameter is set the time cache is disabled.\nAfter the check has been run once, the next check instance will filter through the eventlog from the point the last check ended.\nThis is due to the time cache, when disabled the whole eventlog is checked instead.","caption":"DisableTimeCache","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"112","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"39":{"settings":{"visibility":"visible"},"description":"Used to specify an array of filenames or expressions to match against results to filter for specific files.\n\ne.g \u0027*.txt\u0027, \u0027*.sql\u0027, finds all files ending with .txt and .sql","caption":"FileNames","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"39","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"93":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"93","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to switch on trusted behavior. Whether to check, If the certificate is trusted by the system root.\nWill return Critical in case of untrusted.\n\nNote: it is currently required that the root and intermediate CA is known and trusted by the local system.","caption":"Trusted","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"172":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\n It is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"172","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"160":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for possible packet loss in %","caption":"WarningPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"160","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"377":{"settings":{"datalist":"IcingaCheckUsedPartitionSpace 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":"377","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"344":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"344","varname":"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace","format":null},"355":{"settings":{"visibility":"visible"},"description":"The warning threshold for the Microsoft Defender update count on the Windows machine","caption":"WarningDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"355","varname":"IcingaCheckUpdates_Object_WarningDefender","format":null},"252":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"252","varname":"IcingaCheckProcess_Object_ThreadCountCritical","format":null},"243":{"settings":{"datalist":"IcingaCheckPerfCounter 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":"243","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null},"32":{"settings":{"visibility":"visible"},"description":"Changes the output of the overall total load to report the sum of all sockets combined instead of the default\naverage of all sockets","caption":"OverallTotalAsSum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"32","varname":"IcingaCheckCPU_Switchparameter_OverallTotalAsSum","format":null},"231":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"231","varname":"IcingaCheckPartitionSpace_Switchparameter_NoPerfData","format":null},"23":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckCheckSum_String_Hash","format":null},"303":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"303","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"83":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"83","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"191":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"191","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"306":{"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":"306","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"270":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"270","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"114":{"settings":{"datalist":"IcingaCheckEventlog 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":"114","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"127":{"settings":{"visibility":"visible"},"description":"paths to look for values in the JSON object that is checked, including an alias for each parameter. Example: \"myAlias01:value01\",\"myAlias02:nested.object.value02\", \"myAlias03:\u0027object\u0027.\u0027my.Par.With.Dots\u0027\"","caption":"ValuePaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"127","varname":"IcingaCheckHttpJsonResponse_Array_ValuePaths","format":null},"136":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"136","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"131":{"settings":{"visibility":"visible"},"description":"Disables SSL verification and allows the connection to endpoints with self-signed certificates as example","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"131","varname":"IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL","format":null},"241":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element was found and\nprevent the plugin from exiting UNKNOWN and returns OK instead","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"241","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"371":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"371","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"342":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"WarningTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"342","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"170":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"170","varname":"IcingaCheckMemory_Object_Warning","format":null},"353":{"settings":{"visibility":"visible"},"description":"The warning threshold for the rollup update count on the Windows machine","caption":"WarningRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"353","varname":"IcingaCheckUpdates_Object_WarningRollups","format":null},"97":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be included.","caption":"IncludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"97","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"24":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"24","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"291":{"settings":{"datalist":"IcingaCheckService FilterStartupType","behavior":"strict","data_type":"array"},"description":"Allows to include only services with a specific startup type inside the monitoring,\nin case you check for a list of specific services by using `-Service`","caption":"FilterStartupType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"291","varname":"IcingaCheckService_Array_FilterStartupType","format":null},"221":{"settings":{"datalist":"IcingaCheckNLA Profile","behavior":"strict","data_type":"string"},"description":"Used to specify the profile to check. Available profiles are \u0027DomainAuthenticated\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"221","varname":"IcingaCheckNLA_String_Profile","format":null},"212":{"settings":{"datalist":"IcingaCheckNetworkInterface IfAdminStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the network Interface administrative status.","caption":"IfAdminStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"212","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"41":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"41","varname":"IcingaCheckDirectory_Object_Critical","format":null},"260":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"260","varname":"IcingaCheckProcess_Object_TotalThreadCountCritical","format":null},"126":{"settings":{"visibility":"visible"},"description":"Timeout in seconds before the http request is aborted. Defaults to 30","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"126","varname":"IcingaCheckHttpJsonResponse_Int32_Timeout","format":null},"146":{"settings":{"visibility":"hidden"},"description":"Used to specify a proxy password as securestring to authenticate with. Use with: -ProxyUsername \u0026 -ProxyServer","caption":"ProxyPassword","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"146","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"137":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time warning threshold in seconds, everything past that threshold is considered a WARNING.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"137","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"157":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"157","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"19":{"settings":{"datalist":"IcingaCheckCertificate 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":"19","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"164":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"164","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"169":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"169","varname":"IcingaCheckMemory_String_ThresholdInterval","format":null},"178":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"178","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"187":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to include for checks. Example OutboundGroup, ClusterInterface","caption":"IncludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"187","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"196":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"196","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"104":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be excluded.","caption":"ExcludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"104","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"332":{"settings":{"visibility":"visible"},"description":"Ignores the W32Time service during check execution and will not throw warning or critical in case the service is not running","caption":"IgnoreService","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"332","varname":"IcingaCheckTimeSync_Switchparameter_IgnoreService","format":null},"96":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"96","varname":"IcingaCheckEventlog_String_LogName","format":null},"331":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"331","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"87":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"87","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"313":{"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":"313","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"218":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"218","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"370":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"370","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"89":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Read Only` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreReadOnlyDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"89","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"279":{"settings":{"visibility":"visible"},"description":"Defines a critical threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"CriticalMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"279","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"57":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date older then 20 days are considered within the check.","caption":"CreationOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"57","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"268":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"268","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"46":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"46","varname":"IcingaCheckDirectory_Object_CriticalSmallestFile","format":null},"75":{"settings":{"visibility":"visible"},"description":"Critical threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"75","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"64":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to include for checks. Example 0, 1","caption":"IncludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"64","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"154":{"settings":{"visibility":"visible"},"description":"Use this flag to ignore SSL errors in case your endpoints are not trusted by the client or you are using self-signed certificates.","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"154","varname":"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL","format":null},"167":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"167","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"176":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"176","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"189":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"189","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"198":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"198","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"14":{"settings":{"visibility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null},"197":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"197","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"336":{"settings":{"visibility":"visible"},"description":"The path to a volume or network share you want to monitor, like \"\\\\example.com\\Home\" or \"C:\\ClusterSharedVolume\\Volume1\"","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"336","varname":"IcingaCheckUNCPath_String_Path","format":null},"369":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"369","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"314":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"314","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"59":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20MB\", which translates to the filze size 20 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 20 MB or larger are considered within the check.","caption":"FileSizeGreaterThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"59","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"273":{"settings":{"datalist":"IcingaCheckProcessCount 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":"273","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"48":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"48","varname":"IcingaCheckDirectory_Object_CriticalLargestFile","format":null},"262":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"262","varname":"IcingaCheckProcess_Object_TotalProcessCountCritical","format":null},"251":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"251","varname":"IcingaCheckProcess_Object_ThreadCountWarning","format":null},"18":{"settings":{"visibility":"visible"},"description":"Will return `OK` instead of `UNKNOWN`, in case no certificates for the given filter and path were found","caption":"IgnoreEmpty","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckCertificate_Switchparameter_IgnoreEmpty","format":null},"65":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to exclude from checks. Example 0, 1","caption":"ExcludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"65","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"296":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"296","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"287":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"287","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"295":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"295","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"199":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"199","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"100":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be excluded.","caption":"ExcludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"100","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"329":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"329","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"338":{"settings":{"visibility":"hidden"},"description":"The password to authenticate the given user for. Has to be a secure string","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"338","varname":"IcingaCheckUNCPath_Securestring_Password","format":null},"120":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"120","varname":"IcingaCheckHttpJsonResponse_String_ThresholdInterval","format":null},"368":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"368","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"379":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames to match against. e.g \u0027Administrator\u0027, \u0027Icinga\u0027","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"379","varname":"IcingaCheckUsers_Array_Username","format":null},"263":{"settings":{"visibility":"visible"},"description":"Allows to filter for a list of processes with a given name. Use the process name without file ending, like \u0027.exe\u0027.","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"263","varname":"IcingaCheckProcess_Array_Process","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Subjects, which are used to determine what certificate to check, within the CertStore.","caption":"CertSubject","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"80":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"80","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"183":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"183","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"230":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"230","varname":"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"35":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"35","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"182":{"settings":{"datalist":"IcingaCheckMPIO 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":"182","varname":"IcingaCheckMPIO_Object_Verbosity","format":null},"200":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"200","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"288":{"settings":{"visibility":"visible"},"description":"Used to specify an array of services which should be checked against the status. Supports \u0027*\u0027 for\nwildcards.","caption":"Service","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"288","varname":"IcingaCheckService_Array_Service","format":null},"50":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"50","varname":"IcingaCheckDirectory_Object_CriticalAverageFile","format":null},"203":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"203","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"380":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"380","varname":"IcingaCheckUsers_Object_Warning","format":null},"116":{"settings":{"visibility":"visible"},"description":"Used to specify an array of profiles to check. Available profiles are \u0027Domain\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"116","varname":"IcingaCheckFirewall_Array_Profile","format":null},"362":{"settings":{"datalist":"IcingaCheckUpdates 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":"362","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"373":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"373","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"246":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"246","varname":"IcingaCheckProcess_Object_PageFileCritical","format":null},"351":{"settings":{"visibility":"visible"},"description":"The warning threshold for the security update count on the Windows machine","caption":"WarningSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"351","varname":"IcingaCheckUpdates_Object_WarningSecurity","format":null},"190":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"190","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"354":{"settings":{"visibility":"visible"},"description":"The critical threshold for the rollup update count on the Windows machine","caption":"CriticalRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"354","varname":"IcingaCheckUpdates_Object_CriticalRollups","format":null},"320":{"settings":{"visibility":"visible"},"description":"A warning threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"320","varname":"IcingaCheckTCP_Object_Warning","format":null},"33":{"settings":{"visibility":"visible"},"description":"Disables the reporting of the top 10 CPU consuming process list","caption":"DisableProcessList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"33","varname":"IcingaCheckCPU_Switchparameter_DisableProcessList","format":null},"232":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"232","varname":"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown","format":null},"22":{"settings":{"datalist":"IcingaCheckCheckSum Algorithm","behavior":"strict","data_type":"string"},"description":"Used to specify a string, which contains the algorithm to be used.\n\nAllowed algorithms: \u0027SHA1\u0027, \u0027SHA256\u0027, \u0027SHA384\u0027, \u0027SHA512\u0027, \u0027MD5\u0027","caption":"Algorithm","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"22","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"223":{"settings":{"visibility":"visible"},"description":"Used to specify the NICs where to check the filewall profile. When not presented every nic which is active will be checked","caption":"NICs","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"223","varname":"IcingaCheckNLA_Array_NICs","format":null},"302":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"302","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"118":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"118","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"330":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"330","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"40":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"40","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"117":{"settings":{"visibility":"visible"},"description":"Used to specify whether the firewall profiles should be enabled or disabled.\n\n-Enabled $TRUE translates to enabled, while not being specified translates to disabled.","caption":"Enabled","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"117","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"124":{"settings":{"visibility":"visible"},"description":"Credentials to use for basic auth","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"124","varname":"IcingaCheckHttpJsonResponse_String_Username","format":null},"148":{"settings":{"visibility":"visible"},"description":"Used to specify an array of regex-match-strings to match against the content of the webrequest response.","caption":"Content","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"148","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"135":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"135","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData","format":null},"290":{"settings":{"datalist":"IcingaCheckService Status","behavior":"strict","data_type":"string"},"description":"Status for the specified service or services to check against.","caption":"Status","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"290","varname":"IcingaCheckService_String_Status","format":null},"181":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"181","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"343":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"CriticalTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"343","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"352":{"settings":{"visibility":"visible"},"description":"The critical threshold for the security update count on the Windows machine","caption":"CriticalSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"352","varname":"IcingaCheckUpdates_Object_CriticalSecurity","format":null},"106":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be excluded.","caption":"ExcludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"106","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"322":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"322","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","format":null},"98":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be excluded.","caption":"ExcludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"98","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"333":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"333","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"234":{"settings":{"datalist":"IcingaCheckPartitionSpace 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":"234","varname":"IcingaCheckPartitionSpace_Int32_Verbosity","format":null},"225":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"225","varname":"IcingaCheckPartitionSpace_Object_Warning","format":null},"216":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"216","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"300":{"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":"300","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"213":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the current network interface operational status.","caption":"IfOperationalStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"213","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"119":{"settings":{"datalist":"IcingaCheckFirewall 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":"119","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null},"73":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"73","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"62":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"62","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"147":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"147","varname":"IcingaCheckHTTPStatus_String_ProxyServer","format":null},"360":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\ncritical if one is pending","caption":"CritOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"360","varname":"IcingaCheckUpdates_Switchparameter_CritOnReboot","format":null},"156":{"settings":{"datalist":"IcingaCheckHTTPStatus 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":"156","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"132":{"settings":{"datalist":"IcingaCheckHttpJsonResponse StatusOnRequestError","behavior":"strict","data_type":"string"},"description":"Status to set when the webservice cannot be reached or an error (e.g. 500) is returned - default is Unknown\nSee https://icinga.com/docs/icinga-for-windows/latest/plugins/doc/10-Icinga-Plugins/ for description of threshold values","caption":"StatusOnRequestError","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"132","varname":"IcingaCheckHttpJsonResponse_String_StatusOnRequestError","format":null},"165":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv4 addresses for ICMP calls by using a hostname","caption":"IPv4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"165","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"174":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"174","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"208":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"208","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"280":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"280","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"324":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"324","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"107":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as problems. These event IDs will be compared to the provided AcknowledgeIds.\nIf no event ID for an AcknowledgeId is found after the corresponding problem event ID has occurred, it will be marked as a problem.\nIf you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds. If you have multiple ProblemIds but only one AcknowledgeId,\nyou need to add the AcknowledgeId multiple times to the AcknowledgeIds array.","caption":"ProblemId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"107","varname":"IcingaCheckEventlog_Array_ProblemId","format":null},"321":{"settings":{"visibility":"visible"},"description":"A critical threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"321","varname":"IcingaCheckTCP_Object_Critical","format":null},"86":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"86","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"312":{"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":"312","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"219":{"settings":{"datalist":"IcingaCheckNetworkInterface 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":"219","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"275":{"settings":{"visibility":"visible"},"description":"A list of tasks to check for. If your tasks contain spaces, wrap them around a \u0027 to ensure they are\nproperly handled as string","caption":"TaskName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"275","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"264":{"settings":{"datalist":"IcingaCheckProcess OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a process was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the process state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"264","varname":"IcingaCheckProcess_String_OverrideNotFound","format":null},"79":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"79","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"72":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"72","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"141":{"settings":{"visibility":"visible"},"description":"Used to specify headers as Array. Like: -Headers \u0027Accept:application/json\u0027","caption":"Headers","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"141","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"63":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"63","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"249":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"249","varname":"IcingaCheckProcess_Object_CPUWarning","format":null},"163":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"163","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"258":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"258","varname":"IcingaCheckProcess_Object_TotalCPUCritical","format":null},"206":{"settings":{"visibility":"visible"},"description":"Warning threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"206","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"175":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"175","varname":"IcingaCheckMemory_Array_ExcludePageFile","format":null},"139":{"settings":{"visibility":"visible"},"description":"Used to specify the URL of the host to check http as string. Use \u0027http://\u0027 or \u0027https://\u0027 to actively chose a protocol. Likewise \u0027:80\u0027 or any other port number to specify a port, etc.","caption":"Url","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"139","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"110":{"settings":{"visibility":"visible"},"description":"Defines the end point on which timeframe the plugin will stop to read event log information.\nUsing 2h as argument as example, will ignore all events of the past 2 hours from the time the plugin was executed. This should be\nused in combination with the \"-After\" argument. As example, you could provide \"-After 6h\" to start reading all eventlogs from the past\n6 hours, and use \"-Before 2h\" to skip the last 2 hours. In this scenario, would receive 4 hours of eventlogs, while the last 2 hours\nhave been ignored.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will stop reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will stop reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will ignore eventlogs of the past 4 hours\n\"1d\": Will ignore eventlogs of the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 6h Before 2h v\n|-------------|------------------|------|\n8:00 10:00 14:00 16:00\n| Not fetched | Fetched | Not fetched```","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"110","varname":"IcingaCheckEventlog_Object_Before","format":null},"101":{"settings":{"datalist":"IcingaCheckEventlog IncludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be included. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"IncludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"101","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"318":{"settings":{"visibility":"visible"},"description":"A single or a list of ports to check on the target address","caption":"Ports","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"318","varname":"IcingaCheckTCP_Array_Ports","format":null},"274":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"274","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"265":{"settings":{"visibility":"visible"},"description":"Define a list of process names which are excluded from the final result. Only the process name is required without \u0027.exe\u0027 at the end.","caption":"ExcludeProcess","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"265","varname":"IcingaCheckProcess_Array_ExcludeProcess","format":null},"348":{"settings":{"visibility":"visible"},"description":"Allows to filter for names of updates being included in the total update count, allowing a specific monitoring and filtering of certain updates\nbeyond the provided categories","caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"348","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"256":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"256","varname":"IcingaCheckProcess_Object_TotalMemoryCritical","format":null},"78":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"78","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"247":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"247","varname":"IcingaCheckProcess_Object_MemoryWarning","format":null},"69":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to exclude from checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"ExcludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"69","varname":"IcingaCheckDiskHealth_Array_ExcludeFriendlyName","format":null},"299":{"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":"299","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"151":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"151","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"301":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"301","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"162":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"162","varname":"IcingaCheckICMP_String_Hostname","format":null},"173":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"173","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null},"297":{"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":"297","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"210":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"210","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"286":{"settings":{"datalist":"IcingaCheckScheduledTask 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":"286","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"201":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"201","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"153":{"settings":{"visibility":"visible"},"description":"By default the plugin will return UNKNOWN in case a connection to a webserver is not possible. By using this\nflag, the result will be modified from UNKNOWN to CRITICAL","caption":"ConnectionErrAsCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"153","varname":"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit","format":null}}} +{"DataList":{"IcingaCheckNetworkInterface IfOperationalStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"administrator"},"IcingaCheckFirewall Verbosity":{"list_name":"IcingaCheckFirewall 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":"administrator"},"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"administrator"},"IcingaCheckPartitionSpace Verbosity":{"list_name":"IcingaCheckPartitionSpace 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":"administrator"},"IcingaCheckHTTPStatus Verbosity":{"list_name":"IcingaCheckHTTPStatus 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":"administrator"},"IcingaCheckNLA Verbosity":{"list_name":"IcingaCheckNLA 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":"administrator"},"IcingaCheckNetworkInterface IfTeamStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"administrator"},"IcingaCheckMemory Verbosity":{"list_name":"IcingaCheckMemory 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":"administrator"},"IcingaCheckService Verbosity":{"list_name":"IcingaCheckService 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":"administrator"},"IcingaCheckEventlog ExcludeEntryType":{"list_name":"IcingaCheckEventlog ExcludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"administrator"},"IcingaCheckScheduledTask Verbosity":{"list_name":"IcingaCheckScheduledTask 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":"administrator"},"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":"administrator"},"IcingaCheckNetworkInterface IfConnectionStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"administrator"},"IcingaCheckUsedPartitionSpace Verbosity":{"list_name":"IcingaCheckUsedPartitionSpace 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":"administrator"},"IcingaCheckCheckSum Verbosity":{"list_name":"IcingaCheckCheckSum 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":"administrator"},"IcingaCheckCPU Verbosity":{"list_name":"IcingaCheckCPU 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":"administrator"},"IcingaCheckHttpJsonResponse Verbosity":{"list_name":"IcingaCheckHttpJsonResponse 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":"administrator"},"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":"administrator"},"IcingaCheckNetworkInterface IfOperationalStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfOperationalStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Dormant","entry_name":"Dormant","format":"string"},{"allowed_roles":null,"entry_value":"NotPresent","entry_name":"NotPresent","format":"string"},{"allowed_roles":null,"entry_value":"LowerLayerDown","entry_name":"LowerLayerDown","format":"string"}],"owner":"administrator"},"IcingaCheckEventlog IncludeEntryType":{"list_name":"IcingaCheckEventlog IncludeEntryType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Information","entry_name":"Information","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Error","entry_name":"Error","format":"string"},{"allowed_roles":null,"entry_value":"SuccessAudit","entry_name":"SuccessAudit","format":"string"},{"allowed_roles":null,"entry_value":"FailureAudit","entry_name":"FailureAudit","format":"string"}],"owner":"administrator"},"IcingaCheckMPIO Verbosity":{"list_name":"IcingaCheckMPIO 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":"administrator"},"IcingaCheckDirectory Verbosity":{"list_name":"IcingaCheckDirectory 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":"administrator"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"None","entry_name":"None","format":"string"},{"allowed_roles":null,"entry_value":"*","entry_name":"*","format":"string"},{"allowed_roles":null,"entry_value":"LocalMachine","entry_name":"LocalMachine","format":"string"},{"allowed_roles":null,"entry_value":"CurrentUser","entry_name":"CurrentUser","format":"string"}],"owner":"administrator"},"IcingaCheckProcessCount Verbosity":{"list_name":"IcingaCheckProcessCount 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":"administrator"},"IcingaCheckCertificate Verbosity":{"list_name":"IcingaCheckCertificate 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":"administrator"},"IcingaCheckHttpJsonResponse StatusOnRequestError":{"list_name":"IcingaCheckHttpJsonResponse StatusOnRequestError","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"OK","entry_name":"OK","format":"string"}],"owner":"administrator"},"IcingaCheckService OverrideNotFound":{"list_name":"IcingaCheckService OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"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":"administrator"},"IcingaCheckEventlog Verbosity":{"list_name":"IcingaCheckEventlog 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":"administrator"},"IcingaCheckNetworkInterface Verbosity":{"list_name":"IcingaCheckNetworkInterface 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":"administrator"},"IcingaCheckScheduledTask State":{"list_name":"IcingaCheckScheduledTask State","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Queued","entry_name":"Queued","format":"string"},{"allowed_roles":null,"entry_value":"Ready","entry_name":"Ready","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"}],"owner":"administrator"},"IcingaCheckService FilterStartupType":{"list_name":"IcingaCheckService FilterStartupType","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Boot","entry_name":"Boot","format":"string"},{"allowed_roles":null,"entry_value":"System","entry_name":"System","format":"string"},{"allowed_roles":null,"entry_value":"Automatic","entry_name":"Automatic","format":"string"},{"allowed_roles":null,"entry_value":"Manual","entry_name":"Manual","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"IcingaCheckPerfCounter Verbosity":{"list_name":"IcingaCheckPerfCounter 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":"administrator"},"IcingaCheckService Status":{"list_name":"IcingaCheckService Status","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Stopped","entry_name":"Stopped","format":"string"},{"allowed_roles":null,"entry_value":"StartPending","entry_name":"StartPending","format":"string"},{"allowed_roles":null,"entry_value":"StopPending","entry_name":"StopPending","format":"string"},{"allowed_roles":null,"entry_value":"Running","entry_name":"Running","format":"string"},{"allowed_roles":null,"entry_value":"ContinuePending","entry_name":"ContinuePending","format":"string"},{"allowed_roles":null,"entry_value":"PausePending","entry_name":"PausePending","format":"string"},{"allowed_roles":null,"entry_value":"Paused","entry_name":"Paused","format":"string"}],"owner":"administrator"},"IcingaCheckNetworkInterface IfAdminStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfAdminStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Testing","entry_name":"Testing","format":"string"}],"owner":"administrator"},"IcingaCheckProcess Verbosity":{"list_name":"IcingaCheckProcess 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":"administrator"},"IcingaCheckService OverrideNotOk":{"list_name":"IcingaCheckService OverrideNotOk","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"},"IcingaCheckTimeSync Verbosity":{"list_name":"IcingaCheckTimeSync 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":"administrator"},"IcingaCheckUptime Verbosity":{"list_name":"IcingaCheckUptime 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":"administrator"},"IcingaCheckNetworkInterface IfTeamStatusCrit":{"list_name":"IcingaCheckNetworkInterface IfTeamStatusCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Up","entry_name":"Up","format":"string"},{"allowed_roles":null,"entry_value":"Down","entry_name":"Down","format":"string"},{"allowed_roles":null,"entry_value":"Degraded","entry_name":"Degraded","format":"string"}],"owner":"administrator"},"IcingaCheckCheckSum Algorithm":{"list_name":"IcingaCheckCheckSum Algorithm","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"SHA1","entry_name":"SHA1","format":"string"},{"allowed_roles":null,"entry_value":"SHA256","entry_name":"SHA256","format":"string"},{"allowed_roles":null,"entry_value":"SHA384","entry_name":"SHA384","format":"string"},{"allowed_roles":null,"entry_value":"SHA512","entry_name":"SHA512","format":"string"},{"allowed_roles":null,"entry_value":"MD5","entry_name":"MD5","format":"string"}],"owner":"administrator"},"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":"administrator"},"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":"administrator"},"IcingaCheckNetworkInterface IfConnectionStatusWarn":{"list_name":"IcingaCheckNetworkInterface IfConnectionStatusWarn","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Disconnected","entry_name":"Disconnected","format":"string"},{"allowed_roles":null,"entry_value":"Connecting","entry_name":"Connecting","format":"string"},{"allowed_roles":null,"entry_value":"Connected","entry_name":"Connected","format":"string"},{"allowed_roles":null,"entry_value":"Disconnecting","entry_name":"Disconnecting","format":"string"},{"allowed_roles":null,"entry_value":"HardwareNotPresent","entry_name":"HardwareNotPresent","format":"string"},{"allowed_roles":null,"entry_value":"HardwareDisabled","entry_name":"HardwareDisabled","format":"string"},{"allowed_roles":null,"entry_value":"HardwareMalfunction","entry_name":"HardwareMalfunction","format":"string"},{"allowed_roles":null,"entry_value":"MediaDisconnected","entry_name":"MediaDisconnected","format":"string"},{"allowed_roles":null,"entry_value":"Authenticating","entry_name":"Authenticating","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationSucceeded","entry_name":"AuthenticationSucceeded","format":"string"},{"allowed_roles":null,"entry_value":"AuthenticationFailed","entry_name":"AuthenticationFailed","format":"string"},{"allowed_roles":null,"entry_value":"InvalidAddress","entry_name":"InvalidAddress","format":"string"},{"allowed_roles":null,"entry_value":"CredentialsRequired","entry_name":"CredentialsRequired","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"}],"owner":"administrator"},"IcingaCheckDiskHealth Verbosity":{"list_name":"IcingaCheckDiskHealth 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":"administrator"},"IcingaCheckUpdates Verbosity":{"list_name":"IcingaCheckUpdates 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":"administrator"},"IcingaCheckNLA Profile":{"list_name":"IcingaCheckNLA Profile","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"DomainAuthenticated","entry_name":"DomainAuthenticated","format":"string"},{"allowed_roles":null,"entry_value":"Public","entry_name":"Public","format":"string"},{"allowed_roles":null,"entry_value":"Private","entry_name":"Private","format":"string"}],"owner":"administrator"},"PowerShell ExecutionPolicies":{"list_name":"PowerShell ExecutionPolicies","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"AllSigned","entry_name":"AllSigned","format":"string"},{"allowed_roles":null,"entry_value":"Bypass","entry_name":"Bypass","format":"string"},{"allowed_roles":null,"entry_value":"Default","entry_name":"Default","format":"string"},{"allowed_roles":null,"entry_value":"RemoteSigned","entry_name":"RemoteSigned","format":"string"},{"allowed_roles":null,"entry_value":"Restricted","entry_name":"Restricted","format":"string"},{"allowed_roles":null,"entry_value":"Undefined","entry_name":"Undefined","format":"string"},{"allowed_roles":null,"entry_value":"Unrestricted","entry_name":"Unrestricted","format":"string"}],"owner":"administrator"},"IcingaCheckICMP Verbosity":{"list_name":"IcingaCheckICMP 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":"administrator"},"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit":{"list_name":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"},{"allowed_roles":null,"entry_value":"Other","entry_name":"Other","format":"string"},{"allowed_roles":null,"entry_value":"Enabled","entry_name":"Enabled","format":"string"},{"allowed_roles":null,"entry_value":"Disabled","entry_name":"Disabled","format":"string"},{"allowed_roles":null,"entry_value":"ShuttingDown","entry_name":"ShuttingDown","format":"string"},{"allowed_roles":null,"entry_value":"NotApplicable","entry_name":"NotApplicable","format":"string"},{"allowed_roles":null,"entry_value":"EnabledButOffline","entry_name":"EnabledButOffline","format":"string"},{"allowed_roles":null,"entry_value":"InTest","entry_name":"InTest","format":"string"},{"allowed_roles":null,"entry_value":"Deferred","entry_name":"Deferred","format":"string"},{"allowed_roles":null,"entry_value":"Quiesce","entry_name":"Quiesce","format":"string"},{"allowed_roles":null,"entry_value":"Starting","entry_name":"Starting","format":"string"}],"owner":"administrator"},"IcingaCheckUsers Verbosity":{"list_name":"IcingaCheckUsers 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":"administrator"},"IcingaCheckUNCPath Verbosity":{"list_name":"IcingaCheckUNCPath 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":"administrator"},"IcingaCheckTCP Verbosity":{"list_name":"IcingaCheckTCP 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":"administrator"},"IcingaCheckProcess OverrideNotFound":{"list_name":"IcingaCheckProcess OverrideNotFound","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Ok","entry_name":"Ok","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Critical","entry_name":"Critical","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"administrator"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"datafield_id":178,"is_required":"n","var_filter":null},{"datafield_id":179,"is_required":"n","var_filter":null},{"datafield_id":180,"is_required":"n","var_filter":null},{"datafield_id":181,"is_required":"n","var_filter":null},{"datafield_id":182,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMPIO","arguments":{"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMPIO_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"value":"$IcingaCheckMPIO_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMPIO_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMPIO_Object_Critical$"},"Warning":{"value":"$IcingaCheckMPIO_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckMPIO_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMPIO"}},"Invoke-IcingaCheckUsers":{"fields":[{"datafield_id":379,"is_required":"n","var_filter":null},{"datafield_id":380,"is_required":"n","var_filter":null},{"datafield_id":381,"is_required":"n","var_filter":null},{"datafield_id":382,"is_required":"n","var_filter":null},{"datafield_id":383,"is_required":"n","var_filter":null},{"datafield_id":384,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsers","arguments":{"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsers_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Warning":{"value":"$IcingaCheckUsers_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUsers_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Username":{"value":{"body":"var arr = macro(\"$IcingaCheckUsers_Array_Username$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Username":{"value":"$IcingaCheckUsers_Array_Username$"},"ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckUsers_Object_Critical$"},"Warning":{"value":"$IcingaCheckUsers_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUsers_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUsers"}},"Invoke-IcingaCheckCertificate":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckCertificate","arguments":{"-CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$","order":"9"},"-CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$","order":"4"},"-Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$","order":"12"},"-CertSubject":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertSubject$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CertStore":{"set_if":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCertificate_String_CertStore$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$","set_if_format":"string","order":"99"},"-ExcludePattern":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_ExcludePattern$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false,"IcingaCheckCertificate_Switchparameter_Recurse":false,"ifw_api_arguments":{"CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$"},"CertPaths":{"value":"$IcingaCheckCertificate_Array_CertPaths$"},"CertName":{"value":"$IcingaCheckCertificate_Array_CertName$"},"CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$"},"Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$"},"ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$"},"CertThumbprint":{"value":"$IcingaCheckCertificate_Array_CertThumbprint$"},"CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$"},"CertSubject":{"value":"$IcingaCheckCertificate_Array_CertSubject$"},"IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$"},"Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$"},"CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$"},"WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$"},"ExcludePattern":{"value":"$IcingaCheckCertificate_Array_ExcludePattern$"},"Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$"}},"ifw_api_command":"Invoke-IcingaCheckCertificate","IcingaCheckCertificate_Switchparameter_Trusted":false}},"Invoke-IcingaCheckMemory":{"fields":[{"datafield_id":169,"is_required":"n","var_filter":null},{"datafield_id":170,"is_required":"n","var_filter":null},{"datafield_id":171,"is_required":"n","var_filter":null},{"datafield_id":172,"is_required":"n","var_filter":null},{"datafield_id":173,"is_required":"n","var_filter":null},{"datafield_id":174,"is_required":"n","var_filter":null},{"datafield_id":175,"is_required":"n","var_filter":null},{"datafield_id":176,"is_required":"n","var_filter":null},{"datafield_id":177,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMemory","arguments":{"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckMemory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-Warning":{"value":"$IcingaCheckMemory_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckMemory_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$","order":"4"},"-IncludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_IncludePageFile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckMemory_Object_Critical$"},"ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$"},"PageFileWarning":{"value":"$IcingaCheckMemory_Object_PageFileWarning$"},"PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$"},"IncludePageFile":{"value":"$IcingaCheckMemory_Array_IncludePageFile$"},"Warning":{"value":"$IcingaCheckMemory_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$"},"ExcludePageFile":{"value":"$IcingaCheckMemory_Array_ExcludePageFile$"},"Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckMemory"}},"Invoke-IcingaCheckPartitionSpace":{"fields":[{"datafield_id":224,"is_required":"n","var_filter":null},{"datafield_id":225,"is_required":"n","var_filter":null},{"datafield_id":226,"is_required":"n","var_filter":null},{"datafield_id":227,"is_required":"n","var_filter":null},{"datafield_id":228,"is_required":"n","var_filter":null},{"datafield_id":229,"is_required":"n","var_filter":null},{"datafield_id":230,"is_required":"n","var_filter":null},{"datafield_id":231,"is_required":"n","var_filter":null},{"datafield_id":232,"is_required":"n","var_filter":null},{"datafield_id":233,"is_required":"n","var_filter":null},{"datafield_id":234,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-RequiredPartition":{"value":{"body":"var arr = macro(\"$IcingaCheckPartitionSpace_Array_RequiredPartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckPartitionSpace_Int32_Verbosity$"},"RequiredPartition":{"value":"$IcingaCheckPartitionSpace_Array_RequiredPartition$"},"ThresholdInterval":{"value":"$IcingaCheckPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckPartitionSpace_Array_Include$"}},"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckPartitionSpace_Switchparameter_NoPerfData":false,"ifw_api_command":"Invoke-IcingaCheckPartitionSpace"}},"Invoke-IcingaCheckHTTPStatus":{"fields":[{"datafield_id":136,"is_required":"n","var_filter":null},{"datafield_id":137,"is_required":"n","var_filter":null},{"datafield_id":138,"is_required":"n","var_filter":null},{"datafield_id":139,"is_required":"n","var_filter":null},{"datafield_id":140,"is_required":"n","var_filter":null},{"datafield_id":141,"is_required":"n","var_filter":null},{"datafield_id":142,"is_required":"n","var_filter":null},{"datafield_id":143,"is_required":"n","var_filter":null},{"datafield_id":144,"is_required":"n","var_filter":null},{"datafield_id":145,"is_required":"n","var_filter":null},{"datafield_id":146,"is_required":"n","var_filter":null},{"datafield_id":147,"is_required":"n","var_filter":null},{"datafield_id":148,"is_required":"n","var_filter":null},{"datafield_id":149,"is_required":"n","var_filter":null},{"datafield_id":150,"is_required":"n","var_filter":null},{"datafield_id":151,"is_required":"n","var_filter":null},{"datafield_id":152,"is_required":"n","var_filter":null},{"datafield_id":153,"is_required":"n","var_filter":null},{"datafield_id":154,"is_required":"n","var_filter":null},{"datafield_id":155,"is_required":"n","var_filter":null},{"datafield_id":156,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$","order":"16"},"-Content":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Content$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-ProxyUsername":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyUsername$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_Password$\u0027)","order":"9"},"-Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$","order":"2"},"-ProxyServer":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_ProxyServer$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"set_if":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHTTPStatus_String_VHost$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Url":{"value":"$IcingaCheckHTTPStatus_Array_Url$"},"Verbosity":{"value":"$IcingaCheckHTTPStatus_Int32_Verbosity$"},"Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHTTPStatus_String_Username$"},"Password":{"value":"$IcingaCheckHTTPStatus_Securestring_Password$"},"Negate":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_Negate$"},"ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$"},"VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$"},"Content":{"value":"$IcingaCheckHTTPStatus_Array_Content$"},"AddOutputContent":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_AddOutputContent$"},"IgnoreSSL":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL$"},"ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$"},"Warning":{"value":"$IcingaCheckHTTPStatus_Object_Warning$"},"Headers":{"value":"$IcingaCheckHTTPStatus_Array_Headers$"},"Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$"},"StatusCode":{"value":"$IcingaCheckHTTPStatus_Array_StatusCode$"},"NoPerfData":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_NoPerfData$"},"ProxyServer":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$"},"ConnectionErrAsCrit":{"set_if":"$IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit$"},"Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$"},"ProxyPassword":{"value":"$IcingaCheckHTTPStatus_Securestring_ProxyPassword$"}},"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent":false,"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit":false,"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL":false,"ifw_api_command":"Invoke-IcingaCheckHTTPStatus","IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"Invoke-IcingaCheckNLA":{"fields":[{"datafield_id":220,"is_required":"n","var_filter":null},{"datafield_id":221,"is_required":"n","var_filter":null},{"datafield_id":222,"is_required":"n","var_filter":null},{"datafield_id":223,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNLA","arguments":{"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"},"-Profile":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_Profile$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_Profile$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNLA_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckNLA_String_Profile$"},"NICs":{"value":"$IcingaCheckNLA_Array_NICs$"},"ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$"},"Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckNLA"}},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":4,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckBiosSerial_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$"}},"ifw_api_command":"Invoke-IcingaCheckBiosSerial"}},"Invoke-IcingaCheckEventlog":{"fields":[{"datafield_id":93,"is_required":"n","var_filter":null},{"datafield_id":94,"is_required":"n","var_filter":null},{"datafield_id":95,"is_required":"n","var_filter":null},{"datafield_id":96,"is_required":"n","var_filter":null},{"datafield_id":97,"is_required":"n","var_filter":null},{"datafield_id":98,"is_required":"n","var_filter":null},{"datafield_id":99,"is_required":"n","var_filter":null},{"datafield_id":100,"is_required":"n","var_filter":null},{"datafield_id":101,"is_required":"n","var_filter":null},{"datafield_id":102,"is_required":"n","var_filter":null},{"datafield_id":103,"is_required":"n","var_filter":null},{"datafield_id":104,"is_required":"n","var_filter":null},{"datafield_id":105,"is_required":"n","var_filter":null},{"datafield_id":106,"is_required":"n","var_filter":null},{"datafield_id":107,"is_required":"n","var_filter":null},{"datafield_id":108,"is_required":"n","var_filter":null},{"datafield_id":109,"is_required":"n","var_filter":null},{"datafield_id":110,"is_required":"n","var_filter":null},{"datafield_id":111,"is_required":"n","var_filter":null},{"datafield_id":112,"is_required":"n","var_filter":null},{"datafield_id":113,"is_required":"n","var_filter":null},{"datafield_id":114,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"17"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-LogName":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_LogName$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckEventlog_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"14"},"-AcknowledgeId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_AcknowledgeId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"16"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"19"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"20"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-ProblemId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ProblemId$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"15"},"-DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckEventlog_Object_Warning$","order":"2"},"-IncludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeUsername$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false,"ifw_api_arguments":{"IncludeEventId":{"value":"$IcingaCheckEventlog_Array_IncludeEventId$"},"DisableTimeCache":{"set_if":"$IcingaCheckEventlog_Switchparameter_DisableTimeCache$"},"ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$"},"AcknowledgeId":{"value":"$IcingaCheckEventlog_Array_AcknowledgeId$"},"ExcludeEventId":{"value":"$IcingaCheckEventlog_Array_ExcludeEventId$"},"Before":{"value":"$IcingaCheckEventlog_Object_Before$"},"IncludeEntryType":{"value":"$IcingaCheckEventlog_Array_IncludeEntryType$"},"LogName":{"value":"$IcingaCheckEventlog_String_LogName$"},"ProblemId":{"value":"$IcingaCheckEventlog_Array_ProblemId$"},"ExcludeEntryType":{"value":"$IcingaCheckEventlog_Array_ExcludeEntryType$"},"IncludeSource":{"value":"$IcingaCheckEventlog_Array_IncludeSource$"},"Warning":{"value":"$IcingaCheckEventlog_Object_Warning$"},"MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$"},"Critical":{"value":"$IcingaCheckEventlog_Object_Critical$"},"ExcludeUsername":{"value":"$IcingaCheckEventlog_Array_ExcludeUsername$"},"After":{"value":"$IcingaCheckEventlog_Object_After$"},"IncludeUsername":{"value":"$IcingaCheckEventlog_Array_IncludeUsername$"},"NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$"},"ExcludeSource":{"value":"$IcingaCheckEventlog_Array_ExcludeSource$"},"IncludeMessage":{"value":"$IcingaCheckEventlog_Array_IncludeMessage$"},"ExcludeMessage":{"value":"$IcingaCheckEventlog_Array_ExcludeMessage$"},"Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckEventlog","IcingaCheckEventlog_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckDiskHealth":{"fields":[{"datafield_id":63,"is_required":"n","var_filter":null},{"datafield_id":64,"is_required":"n","var_filter":null},{"datafield_id":65,"is_required":"n","var_filter":null},{"datafield_id":66,"is_required":"n","var_filter":null},{"datafield_id":67,"is_required":"n","var_filter":null},{"datafield_id":68,"is_required":"n","var_filter":null},{"datafield_id":69,"is_required":"n","var_filter":null},{"datafield_id":70,"is_required":"n","var_filter":null},{"datafield_id":71,"is_required":"n","var_filter":null},{"datafield_id":72,"is_required":"n","var_filter":null},{"datafield_id":73,"is_required":"n","var_filter":null},{"datafield_id":74,"is_required":"n","var_filter":null},{"datafield_id":75,"is_required":"n","var_filter":null},{"datafield_id":76,"is_required":"n","var_filter":null},{"datafield_id":77,"is_required":"n","var_filter":null},{"datafield_id":78,"is_required":"n","var_filter":null},{"datafield_id":79,"is_required":"n","var_filter":null},{"datafield_id":80,"is_required":"n","var_filter":null},{"datafield_id":81,"is_required":"n","var_filter":null},{"datafield_id":82,"is_required":"n","var_filter":null},{"datafield_id":83,"is_required":"n","var_filter":null},{"datafield_id":84,"is_required":"n","var_filter":null},{"datafield_id":85,"is_required":"n","var_filter":null},{"datafield_id":86,"is_required":"n","var_filter":null},{"datafield_id":87,"is_required":"n","var_filter":null},{"datafield_id":88,"is_required":"n","var_filter":null},{"datafield_id":89,"is_required":"n","var_filter":null},{"datafield_id":90,"is_required":"n","var_filter":null},{"datafield_id":91,"is_required":"n","var_filter":null},{"datafield_id":92,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"16"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"18"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDiskHealth_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"15"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"12"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"23"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"11"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"14"},"-ExcludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"7"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"22"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"19"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"20"},"-IncludeFriendlyName":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"24"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"26"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"8"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"9"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"17"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"25"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"10"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"13"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"21"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$"},"NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$"},"DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$"},"CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$"},"Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$"},"DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$"},"ExcludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$"},"IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$"},"DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$"},"DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$"},"ExcludeDisk":{"value":"$IcingaCheckDiskHealth_Array_ExcludeDisk$"},"IncludeDisk":{"value":"$IcingaCheckDiskHealth_Array_IncludeDisk$"},"DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$"},"IncludeFriendlyName":{"value":"$IcingaCheckDiskHealth_Array_IncludeFriendlyName$"},"DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$"},"DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$"},"DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$"},"ExcludePartition":{"value":"$IcingaCheckDiskHealth_Array_ExcludePartition$"},"IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$"},"DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$"},"DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$"},"DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$"},"DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$"},"DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$"},"DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$"},"ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$"},"DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$"},"DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$"},"IncludePartition":{"value":"$IcingaCheckDiskHealth_Array_IncludePartition$"},"DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$"}},"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"ifw_api_command":"Invoke-IcingaCheckDiskHealth","IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false}},"Invoke-IcingaCheckProcess":{"fields":[{"datafield_id":244,"is_required":"n","var_filter":null},{"datafield_id":245,"is_required":"n","var_filter":null},{"datafield_id":246,"is_required":"n","var_filter":null},{"datafield_id":247,"is_required":"n","var_filter":null},{"datafield_id":248,"is_required":"n","var_filter":null},{"datafield_id":249,"is_required":"n","var_filter":null},{"datafield_id":250,"is_required":"n","var_filter":null},{"datafield_id":251,"is_required":"n","var_filter":null},{"datafield_id":252,"is_required":"n","var_filter":null},{"datafield_id":253,"is_required":"n","var_filter":null},{"datafield_id":254,"is_required":"n","var_filter":null},{"datafield_id":255,"is_required":"n","var_filter":null},{"datafield_id":256,"is_required":"n","var_filter":null},{"datafield_id":257,"is_required":"n","var_filter":null},{"datafield_id":258,"is_required":"n","var_filter":null},{"datafield_id":259,"is_required":"n","var_filter":null},{"datafield_id":260,"is_required":"n","var_filter":null},{"datafield_id":261,"is_required":"n","var_filter":null},{"datafield_id":262,"is_required":"n","var_filter":null},{"datafield_id":263,"is_required":"n","var_filter":null},{"datafield_id":264,"is_required":"n","var_filter":null},{"datafield_id":265,"is_required":"n","var_filter":null},{"datafield_id":266,"is_required":"n","var_filter":null},{"datafield_id":267,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcess","arguments":{"-TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$","order":"17"},"-NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$","order":"23"},"-TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$","order":"16"},"-MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$","order":"4"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"20"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$","order":"14"},"-TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$","order":"12"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcess_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$","order":"3"},"-CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$","order":"6"},"-TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$","order":"10"},"-ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$","order":"8"},"-TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$","order":"18"},"-CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$","order":"7"},"-ExcludeProcess":{"value":{"body":"var arr = macro(\"$IcingaCheckProcess_Array_ExcludeProcess$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"22"},"-TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$","order":"15"},"-MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$","order":"5"},"-PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$","order":"2"},"-TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$","order":"19"},"-TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$","order":"11"},"-TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$","order":"13"},"-ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$","order":"9"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckProcess_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"TotalThreadCountWarning":{"value":"$IcingaCheckProcess_Object_TotalThreadCountWarning$"},"ThreadCountWarning":{"value":"$IcingaCheckProcess_Object_ThreadCountWarning$"},"NoPerfData":{"set_if":"$IcingaCheckProcess_Switchparameter_NoPerfData$"},"CPUCritical":{"value":"$IcingaCheckProcess_Object_CPUCritical$"},"TotalPageFileCritical":{"value":"$IcingaCheckProcess_Object_TotalPageFileCritical$"},"ThresholdInterval":{"value":"$IcingaCheckProcess_String_ThresholdInterval$"},"ExcludeProcess":{"value":"$IcingaCheckProcess_Array_ExcludeProcess$"},"TotalPageFileWarning":{"value":"$IcingaCheckProcess_Object_TotalPageFileWarning$"},"PageFileWarning":{"value":"$IcingaCheckProcess_Object_PageFileWarning$"},"ThreadCountCritical":{"value":"$IcingaCheckProcess_Object_ThreadCountCritical$"},"TotalCPUWarning":{"value":"$IcingaCheckProcess_Object_TotalCPUWarning$"},"PageFileCritical":{"value":"$IcingaCheckProcess_Object_PageFileCritical$"},"Process":{"value":"$IcingaCheckProcess_Array_Process$"},"TotalProcessCountWarning":{"value":"$IcingaCheckProcess_Object_TotalProcessCountWarning$"},"CPUWarning":{"value":"$IcingaCheckProcess_Object_CPUWarning$"},"TotalMemoryCritical":{"value":"$IcingaCheckProcess_Object_TotalMemoryCritical$"},"TotalMemoryWarning":{"value":"$IcingaCheckProcess_Object_TotalMemoryWarning$"},"TotalThreadCountCritical":{"value":"$IcingaCheckProcess_Object_TotalThreadCountCritical$"},"OverrideNotFound":{"value":"$IcingaCheckProcess_String_OverrideNotFound$"},"MemoryWarning":{"value":"$IcingaCheckProcess_Object_MemoryWarning$"},"Verbosity":{"value":"$IcingaCheckProcess_Int32_Verbosity$"},"TotalProcessCountCritical":{"value":"$IcingaCheckProcess_Object_TotalProcessCountCritical$"},"MemoryCritical":{"value":"$IcingaCheckProcess_Object_MemoryCritical$"},"TotalCPUCritical":{"value":"$IcingaCheckProcess_Object_TotalCPUCritical$"}},"ifw_api_command":"Invoke-IcingaCheckProcess"}},"Invoke-IcingaCheckCheckSum":{"fields":[{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null},{"datafield_id":22,"is_required":"n","var_filter":null},{"datafield_id":23,"is_required":"n","var_filter":null},{"datafield_id":24,"is_required":"n","var_filter":null},{"datafield_id":25,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckCheckSum","arguments":{"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Algorithm":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Algorithm$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Hash":{"set_if":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCheckSum_String_Hash$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Path":{"value":"$IcingaCheckCheckSum_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$"},"Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$"},"Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$"},"NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$"},"Hash":{"value":"$IcingaCheckCheckSum_String_Hash$"}},"ifw_api_command":"Invoke-IcingaCheckCheckSum"}},"Invoke-IcingaCheckScheduledTask":{"fields":[{"datafield_id":274,"is_required":"n","var_filter":null},{"datafield_id":275,"is_required":"n","var_filter":null},{"datafield_id":276,"is_required":"n","var_filter":null},{"datafield_id":277,"is_required":"n","var_filter":null},{"datafield_id":278,"is_required":"n","var_filter":null},{"datafield_id":279,"is_required":"n","var_filter":null},{"datafield_id":280,"is_required":"n","var_filter":null},{"datafield_id":281,"is_required":"n","var_filter":null},{"datafield_id":282,"is_required":"n","var_filter":null},{"datafield_id":283,"is_required":"n","var_filter":null},{"datafield_id":284,"is_required":"n","var_filter":null},{"datafield_id":285,"is_required":"n","var_filter":null},{"datafield_id":286,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"9"},"-CriticalNextRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalNextRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"10"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"5"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_CriticalLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"8"},"-IgnoreExitCodes":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"6"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"11"},"-WarningLastRunTime":{"set_if":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckScheduledTask_String_WarningLastRunTime$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"7"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false,"ifw_api_arguments":{"CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$"},"ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$"},"TaskName":{"value":"$IcingaCheckScheduledTask_Array_TaskName$"},"WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$"},"WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$"},"CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$"},"CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$"},"IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$"},"IgnoreExitCodes":{"value":"$IcingaCheckScheduledTask_Array_IgnoreExitCodes$"},"WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$"},"State":{"value":"$IcingaCheckScheduledTask_Array_State$"},"NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckScheduledTask","IcingaCheckScheduledTask_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckFirewall":{"fields":[{"datafield_id":115,"is_required":"n","var_filter":null},{"datafield_id":116,"is_required":"n","var_filter":null},{"datafield_id":117,"is_required":"n","var_filter":null},{"datafield_id":118,"is_required":"n","var_filter":null},{"datafield_id":119,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckFirewall","arguments":{"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckFirewall_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Profile":{"value":"$IcingaCheckFirewall_Array_Profile$"},"Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckFirewall_Switchparameter_NoPerfData$"},"Enabled":{"set_if":"$IcingaCheckFirewall_Switchparameter_Enabled$"}},"ifw_api_command":"Invoke-IcingaCheckFirewall","IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"datafield_id":183,"is_required":"n","var_filter":null},{"datafield_id":184,"is_required":"n","var_filter":null},{"datafield_id":185,"is_required":"n","var_filter":null},{"datafield_id":186,"is_required":"n","var_filter":null},{"datafield_id":187,"is_required":"n","var_filter":null},{"datafield_id":188,"is_required":"n","var_filter":null},{"datafield_id":189,"is_required":"n","var_filter":null},{"datafield_id":190,"is_required":"n","var_filter":null},{"datafield_id":191,"is_required":"n","var_filter":null},{"datafield_id":192,"is_required":"n","var_filter":null},{"datafield_id":193,"is_required":"n","var_filter":null},{"datafield_id":194,"is_required":"n","var_filter":null},{"datafield_id":195,"is_required":"n","var_filter":null},{"datafield_id":196,"is_required":"n","var_filter":null},{"datafield_id":197,"is_required":"n","var_filter":null},{"datafield_id":198,"is_required":"n","var_filter":null},{"datafield_id":199,"is_required":"n","var_filter":null},{"datafield_id":200,"is_required":"n","var_filter":null},{"datafield_id":201,"is_required":"n","var_filter":null},{"datafield_id":202,"is_required":"n","var_filter":null},{"datafield_id":203,"is_required":"n","var_filter":null},{"datafield_id":204,"is_required":"n","var_filter":null},{"datafield_id":205,"is_required":"n","var_filter":null},{"datafield_id":206,"is_required":"n","var_filter":null},{"datafield_id":207,"is_required":"n","var_filter":null},{"datafield_id":208,"is_required":"n","var_filter":null},{"datafield_id":209,"is_required":"n","var_filter":null},{"datafield_id":210,"is_required":"n","var_filter":null},{"datafield_id":211,"is_required":"n","var_filter":null},{"datafield_id":212,"is_required":"n","var_filter":null},{"datafield_id":213,"is_required":"n","var_filter":null},{"datafield_id":214,"is_required":"n","var_filter":null},{"datafield_id":215,"is_required":"n","var_filter":null},{"datafield_id":216,"is_required":"n","var_filter":null},{"datafield_id":217,"is_required":"n","var_filter":null},{"datafield_id":218,"is_required":"n","var_filter":null},{"datafield_id":219,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$","order":"25"},"-DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$","order":"22"},"-PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$","order":"13"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckNetworkInterface_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$","order":"23"},"-PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$","order":"11"},"-DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$","order":"21"},"-IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$","order":"29"},"-PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$","order":"16"},"-PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$","order":"17"},"-IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$","order":"26"},"-IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$","set_if_format":"string","order":"99"},"-DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$","order":"19"},"-PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$","order":"12"},"-DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$","order":"18"},"-IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$","order":"27"},"-LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$","order":"24"},"-IncludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$","order":"20"},"-PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$","order":"10"},"-PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$","order":"14"},"-IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$","order":"34"},"-IncludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$","order":"6"},"-PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$","order":"15"},"-Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$","order":"35"},"-IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$","order":"32"},"-IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$","order":"28"},"-IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$","order":"33"},"-IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$","order":"31"},"-ExcludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$","order":"9"},"-IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$","order":"30"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden":false,"IcingaCheckNetworkInterface_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$"},"IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$"},"IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$"},"Verbosity":{"value":"$IcingaCheckNetworkInterface_Object_Verbosity$"},"DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$"},"NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$"},"PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$"},"IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$"},"IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$"},"IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$"},"ExcludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$"},"DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$"},"IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$"},"PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$"},"PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$"},"IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$"},"DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$"},"PacketReceivedDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$"},"ExcludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$"},"PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$"},"PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$"},"DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$"},"PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$"},"LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$"},"DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$"},"PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$"},"LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$"},"IncludeInterfaceTeam":{"value":"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$"},"DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$"},"PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$"},"IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$"},"IncludeNetworkDevice":{"value":"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$"},"PacketReceivedSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$"},"IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$"},"IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$"},"ThresholdInterval":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$"},"PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$"}},"ifw_api_command":"Invoke-IcingaCheckNetworkInterface"}},"Invoke-IcingaCheckHttpJsonResponse":{"fields":[{"datafield_id":120,"is_required":"n","var_filter":null},{"datafield_id":121,"is_required":"n","var_filter":null},{"datafield_id":122,"is_required":"n","var_filter":null},{"datafield_id":123,"is_required":"n","var_filter":null},{"datafield_id":124,"is_required":"n","var_filter":null},{"datafield_id":125,"is_required":"n","var_filter":null},{"datafield_id":126,"is_required":"n","var_filter":null},{"datafield_id":127,"is_required":"n","var_filter":null},{"datafield_id":128,"is_required":"n","var_filter":null},{"datafield_id":129,"is_required":"n","var_filter":null},{"datafield_id":130,"is_required":"n","var_filter":null},{"datafield_id":131,"is_required":"n","var_filter":null},{"datafield_id":132,"is_required":"n","var_filter":null},{"datafield_id":133,"is_required":"n","var_filter":null},{"datafield_id":134,"is_required":"n","var_filter":null},{"datafield_id":135,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHttpJsonResponse","arguments":{"-ServerPath":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerPath$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$","order":"13"},"-StatusOnRequestError":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHttpJsonResponse_Securestring_Password$\u0027)","order":"6"},"-Username":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_Username$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"},"-ValuePaths":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValuePaths$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"8"},"-ValueTypes":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_ValueTypes$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-ServerUri":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_ServerUri$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Critical":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Critical$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"11"},"-IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$","set_if_format":"string","order":"99"},"-Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$","order":"7"},"-Warning":{"value":{"body":"var arr = macro(\"$IcingaCheckHttpJsonResponse_Array_Warning$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"10"},"-QueryParameter":{"set_if":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckHttpJsonResponse_String_QueryParameter$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults":false,"ifw_api_arguments":{"QueryParameter":{"value":"$IcingaCheckHttpJsonResponse_String_QueryParameter$"},"Timeout":{"value":"$IcingaCheckHttpJsonResponse_Int32_Timeout$"},"Username":{"value":"$IcingaCheckHttpJsonResponse_String_Username$"},"Password":{"value":"$IcingaCheckHttpJsonResponse_Securestring_Password$"},"ValueTypes":{"value":"$IcingaCheckHttpJsonResponse_Array_ValueTypes$"},"ThresholdInterval":{"value":"$IcingaCheckHttpJsonResponse_String_ThresholdInterval$"},"IgnoreSSL":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL$"},"ServerPath":{"value":"$IcingaCheckHttpJsonResponse_String_ServerPath$"},"NoPerfData":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData$"},"Warning":{"value":"$IcingaCheckHttpJsonResponse_Array_Warning$"},"Critical":{"value":"$IcingaCheckHttpJsonResponse_Array_Critical$"},"ValuePaths":{"value":"$IcingaCheckHttpJsonResponse_Array_ValuePaths$"},"StatusOnRequestError":{"value":"$IcingaCheckHttpJsonResponse_String_StatusOnRequestError$"},"NegateStringResults":{"set_if":"$IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults$"},"Verbosity":{"value":"$IcingaCheckHttpJsonResponse_Int32_Verbosity$"},"ServerUri":{"value":"$IcingaCheckHttpJsonResponse_String_ServerUri$"}},"ifw_api_command":"Invoke-IcingaCheckHttpJsonResponse","IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL":false,"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckDirectory":{"fields":[{"datafield_id":37,"is_required":"n","var_filter":null},{"datafield_id":38,"is_required":"n","var_filter":null},{"datafield_id":39,"is_required":"n","var_filter":null},{"datafield_id":40,"is_required":"n","var_filter":null},{"datafield_id":41,"is_required":"n","var_filter":null},{"datafield_id":42,"is_required":"n","var_filter":null},{"datafield_id":43,"is_required":"n","var_filter":null},{"datafield_id":44,"is_required":"n","var_filter":null},{"datafield_id":45,"is_required":"n","var_filter":null},{"datafield_id":46,"is_required":"n","var_filter":null},{"datafield_id":47,"is_required":"n","var_filter":null},{"datafield_id":48,"is_required":"n","var_filter":null},{"datafield_id":49,"is_required":"n","var_filter":null},{"datafield_id":50,"is_required":"n","var_filter":null},{"datafield_id":51,"is_required":"n","var_filter":null},{"datafield_id":52,"is_required":"n","var_filter":null},{"datafield_id":53,"is_required":"n","var_filter":null},{"datafield_id":54,"is_required":"n","var_filter":null},{"datafield_id":55,"is_required":"n","var_filter":null},{"datafield_id":56,"is_required":"n","var_filter":null},{"datafield_id":57,"is_required":"n","var_filter":null},{"datafield_id":58,"is_required":"n","var_filter":null},{"datafield_id":59,"is_required":"n","var_filter":null},{"datafield_id":60,"is_required":"n","var_filter":null},{"datafield_id":61,"is_required":"n","var_filter":null},{"datafield_id":62,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$","order":"7"},"-CreationOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"18"},"-FileSizeGreaterThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeGreaterThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"20"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"22"},"-ChangeOlderThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeOlderThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"16"},"-ChangeYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"15"},"-FileSizeSmallerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_FileSizeSmallerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"21"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-CreationTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"17"},"-CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$","set_if_format":"string","order":"99"},"-CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$","order":"11"},"-WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$","order":"8"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_CreationYoungerThan$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"19"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$","order":"6"},"-WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$","order":"12"},"-WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$","order":"10"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"},"-CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$","order":"9"},"-CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$","order":"13"},"-ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$","set_if_format":"string","order":"99"},"-ChangeTimeEqual":{"set_if":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckDirectory_String_ChangeTimeEqual$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"14"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_CountFolderAsFile":false,"ifw_api_arguments":{"CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$"},"WarningAverageFile":{"value":"$IcingaCheckDirectory_Object_WarningAverageFile$"},"CriticalAverageFile":{"value":"$IcingaCheckDirectory_Object_CriticalAverageFile$"},"WarningLargestFile":{"value":"$IcingaCheckDirectory_Object_WarningLargestFile$"},"CriticalLargestFile":{"value":"$IcingaCheckDirectory_Object_CriticalLargestFile$"},"WarningSmallestFile":{"value":"$IcingaCheckDirectory_Object_WarningSmallestFile$"},"NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$"},"ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$"},"CountFolderAsFile":{"set_if":"$IcingaCheckDirectory_Switchparameter_CountFolderAsFile$"},"ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$"},"CriticalSmallestFile":{"value":"$IcingaCheckDirectory_Object_CriticalSmallestFile$"},"CriticalTotalSize":{"value":"$IcingaCheckDirectory_Object_CriticalTotalSize$"},"FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$"},"WarningTotalSize":{"value":"$IcingaCheckDirectory_Object_WarningTotalSize$"},"ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$"},"FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$"},"Warning":{"value":"$IcingaCheckDirectory_Object_Warning$"},"Critical":{"value":"$IcingaCheckDirectory_Object_Critical$"},"ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$"},"ShowFileList":{"set_if":"$IcingaCheckDirectory_Switchparameter_ShowFileList$"},"FileNames":{"value":"$IcingaCheckDirectory_Array_FileNames$"},"CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$"},"Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$"},"Path":{"value":"$IcingaCheckDirectory_String_Path$"},"CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$"},"Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$"}},"IcingaCheckDirectory_Switchparameter_ShowFileList":false,"ifw_api_command":"Invoke-IcingaCheckDirectory","IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}},"Invoke-IcingaCheckUNCPath":{"fields":[{"datafield_id":336,"is_required":"n","var_filter":null},{"datafield_id":337,"is_required":"n","var_filter":null},{"datafield_id":338,"is_required":"n","var_filter":null},{"datafield_id":339,"is_required":"n","var_filter":null},{"datafield_id":340,"is_required":"n","var_filter":null},{"datafield_id":341,"is_required":"n","var_filter":null},{"datafield_id":342,"is_required":"n","var_filter":null},{"datafield_id":343,"is_required":"n","var_filter":null},{"datafield_id":344,"is_required":"n","var_filter":null},{"datafield_id":345,"is_required":"n","var_filter":null},{"datafield_id":346,"is_required":"n","var_filter":null},{"datafield_id":347,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUNCPath","arguments":{"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"8"},"-Path":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_Path$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"10"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"9"},"-Password":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckUNCPath_Securestring_Password$\u0027)","order":"4"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"6"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-User":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_User$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_User$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-DisplayAlias":{"set_if":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUNCPath_String_DisplayAlias$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace":false,"ifw_api_arguments":{"WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$"},"DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$"},"Path":{"value":"$IcingaCheckUNCPath_String_Path$"},"ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$"},"CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$"},"Password":{"value":"$IcingaCheckUNCPath_Securestring_Password$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUNCPath_Switchparameter_CheckUsedSpace$"},"Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$"},"Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$"},"User":{"value":"$IcingaCheckUNCPath_String_User$"}},"ifw_api_command":"Invoke-IcingaCheckUNCPath","IcingaCheckUNCPath_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckPerfCounter":{"fields":[{"datafield_id":235,"is_required":"n","var_filter":null},{"datafield_id":236,"is_required":"n","var_filter":null},{"datafield_id":237,"is_required":"n","var_filter":null},{"datafield_id":238,"is_required":"n","var_filter":null},{"datafield_id":239,"is_required":"n","var_filter":null},{"datafield_id":240,"is_required":"n","var_filter":null},{"datafield_id":241,"is_required":"n","var_filter":null},{"datafield_id":242,"is_required":"n","var_filter":null},{"datafield_id":243,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"7"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckPerfCounter_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_IncludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ExcludeCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_ExcludeCounter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false,"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_arguments":{"PerfCounter":{"value":"$IcingaCheckPerfCounter_Array_PerfCounter$"},"ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$"},"ExcludeCounter":{"value":"$IcingaCheckPerfCounter_Array_ExcludeCounter$"},"Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$"},"Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$"},"IncludeCounter":{"value":"$IcingaCheckPerfCounter_Array_IncludeCounter$"},"Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckPerfCounter"}},"Invoke-IcingaCheckICMP":{"fields":[{"datafield_id":157,"is_required":"n","var_filter":null},{"datafield_id":158,"is_required":"n","var_filter":null},{"datafield_id":159,"is_required":"n","var_filter":null},{"datafield_id":160,"is_required":"n","var_filter":null},{"datafield_id":161,"is_required":"n","var_filter":null},{"datafield_id":162,"is_required":"n","var_filter":null},{"datafield_id":163,"is_required":"n","var_filter":null},{"datafield_id":164,"is_required":"n","var_filter":null},{"datafield_id":165,"is_required":"n","var_filter":null},{"datafield_id":166,"is_required":"n","var_filter":null},{"datafield_id":167,"is_required":"n","var_filter":null},{"datafield_id":168,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_Hostname$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckICMP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$"},"Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$"},"Hostname":{"value":"$IcingaCheckICMP_String_Hostname$"},"CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$"},"WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$"},"NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckICMP_Object_Critical$"},"IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$"},"Warning":{"value":"$IcingaCheckICMP_Object_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$"},"PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$"},"IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$"}},"ifw_api_command":"Invoke-IcingaCheckICMP","IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"datafield_id":369,"is_required":"n","var_filter":null},{"datafield_id":370,"is_required":"n","var_filter":null},{"datafield_id":371,"is_required":"n","var_filter":null},{"datafield_id":372,"is_required":"n","var_filter":null},{"datafield_id":373,"is_required":"n","var_filter":null},{"datafield_id":374,"is_required":"n","var_filter":null},{"datafield_id":375,"is_required":"n","var_filter":null},{"datafield_id":376,"is_required":"n","var_filter":null},{"datafield_id":377,"is_required":"n","var_filter":null},{"datafield_id":378,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","arguments":{"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Include$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$","set_if_format":"string","order":"99"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$"},"ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckUsedPartitionSpace_Object_Critical$"},"Exclude":{"value":"$IcingaCheckUsedPartitionSpace_Array_Exclude$"},"Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$"},"IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$"},"SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$"},"CheckUsedSpace":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace$"},"Include":{"value":"$IcingaCheckUsedPartitionSpace_Array_Include$"}},"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"ifw_api_command":"Invoke-IcingaCheckUsedPartitionSpace","IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData":false,"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{"IcingaPowerShellBase_String_ExecutionPolicy":"ByPass"},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"arguments":{"-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 \u0027Error:\u0027 $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \u0027icinga-powershell-*\u0027 )`r`n\u0027Module-Path:\u0027`r`n$$($$Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command \u0027$ifw_api_command$\u0027 ","order":"0"},"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"value":"-NoProfile","skip_key":true,"order":"-3"},"-NoLogo":{"value":"-NoLogo","skip_key":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckService":{"fields":[{"datafield_id":287,"is_required":"n","var_filter":null},{"datafield_id":288,"is_required":"n","var_filter":null},{"datafield_id":289,"is_required":"n","var_filter":null},{"datafield_id":290,"is_required":"n","var_filter":null},{"datafield_id":291,"is_required":"n","var_filter":null},{"datafield_id":292,"is_required":"n","var_filter":null},{"datafield_id":293,"is_required":"n","var_filter":null},{"datafield_id":294,"is_required":"n","var_filter":null},{"datafield_id":295,"is_required":"n","var_filter":null},{"datafield_id":296,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckService","arguments":{"-FilterStartupType":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_FilterStartupType$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"8"},"-OverrideNotOk":{"set_if":"var str = macro(\"$IcingaCheckService_String_OverrideNotOk$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_OverrideNotOk$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"6"},"-OverrideNotFound":{"set_if":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_OverrideNotFound$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"7"},"-Status":{"set_if":"var str = macro(\"$IcingaCheckService_String_Status$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckService_String_Status$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Service":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Service$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$"},"MitigateUnknown":{"set_if":"$IcingaCheckService_Switchparameter_MitigateUnknown$"},"OverrideNotOk":{"value":"$IcingaCheckService_String_OverrideNotOk$"},"FilterStartupType":{"value":"$IcingaCheckService_Array_FilterStartupType$"},"Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$"},"Service":{"value":"$IcingaCheckService_Array_Service$"},"NoPerfData":{"set_if":"$IcingaCheckService_Switchparameter_NoPerfData$"},"Status":{"value":"$IcingaCheckService_String_Status$"},"OverrideNotFound":{"value":"$IcingaCheckService_String_OverrideNotFound$"},"Exclude":{"value":"$IcingaCheckService_Array_Exclude$"}},"ifw_api_command":"Invoke-IcingaCheckService","IcingaCheckService_Switchparameter_MitigateUnknown":false}},"Invoke-IcingaCheckCPU":{"fields":[{"datafield_id":26,"is_required":"n","var_filter":null},{"datafield_id":27,"is_required":"n","var_filter":null},{"datafield_id":28,"is_required":"n","var_filter":null},{"datafield_id":29,"is_required":"n","var_filter":null},{"datafield_id":30,"is_required":"n","var_filter":null},{"datafield_id":31,"is_required":"n","var_filter":null},{"datafield_id":32,"is_required":"n","var_filter":null},{"datafield_id":33,"is_required":"n","var_filter":null},{"datafield_id":34,"is_required":"n","var_filter":null},{"datafield_id":35,"is_required":"n","var_filter":null},{"datafield_id":36,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckCPU","arguments":{"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"6"},"-SocketFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckCPU_Array_SocketFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Core":{"set_if":"var str = macro(\"$IcingaCheckCPU_String_Core$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckCPU_String_Core$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$","set_if_format":"string","order":"99"},"-DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$","set_if_format":"string","order":"99"},"-OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_OverallOnly":false,"ifw_api_arguments":{"DisableProcessList":{"set_if":"$IcingaCheckCPU_Switchparameter_DisableProcessList$"},"ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$"},"SocketFilter":{"value":"$IcingaCheckCPU_Array_SocketFilter$"},"NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$"},"Critical":{"value":"$IcingaCheckCPU_Object_Critical$"},"Core":{"value":"$IcingaCheckCPU_String_Core$"},"OverallOnly":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallOnly$"},"Warning":{"value":"$IcingaCheckCPU_Object_Warning$"},"Limit100Percent":{"set_if":"$IcingaCheckCPU_Switchparameter_Limit100Percent$"},"OverallTotalAsSum":{"set_if":"$IcingaCheckCPU_Switchparameter_OverallTotalAsSum$"},"Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$"}},"IcingaCheckCPU_Switchparameter_NoPerfData":false,"IcingaCheckCPU_Switchparameter_DisableProcessList":false,"IcingaCheckCPU_Switchparameter_OverallTotalAsSum":false,"ifw_api_command":"Invoke-IcingaCheckCPU","IcingaCheckCPU_Switchparameter_Limit100Percent":false}},"Invoke-IcingaCheckTCP":{"fields":[{"datafield_id":317,"is_required":"n","var_filter":null},{"datafield_id":318,"is_required":"n","var_filter":null},{"datafield_id":319,"is_required":"n","var_filter":null},{"datafield_id":320,"is_required":"n","var_filter":null},{"datafield_id":321,"is_required":"n","var_filter":null},{"datafield_id":322,"is_required":"n","var_filter":null},{"datafield_id":323,"is_required":"n","var_filter":null},{"datafield_id":324,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTCP","arguments":{"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Address":{"set_if":"var str = macro(\"$IcingaCheckTCP_String_Address$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTCP_String_Address$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTCP_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Ports":{"value":{"body":"var arr = macro(\"$IcingaCheckTCP_Array_Ports$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"ifw_api_arguments":{"ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$"},"Ports":{"value":"$IcingaCheckTCP_Array_Ports$"},"Critical":{"value":"$IcingaCheckTCP_Object_Critical$"},"Negate":{"set_if":"$IcingaCheckTCP_Switchparameter_Negate$"},"Address":{"value":"$IcingaCheckTCP_String_Address$"},"Warning":{"value":"$IcingaCheckTCP_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTCP_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTCP","IcingaCheckTCP_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUptime":{"fields":[{"datafield_id":364,"is_required":"n","var_filter":null},{"datafield_id":365,"is_required":"n","var_filter":null},{"datafield_id":366,"is_required":"n","var_filter":null},{"datafield_id":367,"is_required":"n","var_filter":null},{"datafield_id":368,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUptime","arguments":{"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-Warning":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Warning$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Warning$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Critical":{"set_if":"var str = macro(\"$IcingaCheckUptime_String_Critical$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUptime_String_Critical$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUptime_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"Critical":{"value":"$IcingaCheckUptime_String_Critical$"},"Warning":{"value":"$IcingaCheckUptime_String_Warning$"},"ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$"},"NoPerfData":{"set_if":"$IcingaCheckUptime_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckUptime"}},"Invoke-IcingaCheckStoragePool":{"fields":[{"datafield_id":297,"is_required":"n","var_filter":null},{"datafield_id":298,"is_required":"n","var_filter":null},{"datafield_id":299,"is_required":"n","var_filter":null},{"datafield_id":300,"is_required":"n","var_filter":null},{"datafield_id":301,"is_required":"n","var_filter":null},{"datafield_id":302,"is_required":"n","var_filter":null},{"datafield_id":303,"is_required":"n","var_filter":null},{"datafield_id":304,"is_required":"n","var_filter":null},{"datafield_id":305,"is_required":"n","var_filter":null},{"datafield_id":306,"is_required":"n","var_filter":null},{"datafield_id":307,"is_required":"n","var_filter":null},{"datafield_id":308,"is_required":"n","var_filter":null},{"datafield_id":309,"is_required":"n","var_filter":null},{"datafield_id":310,"is_required":"n","var_filter":null},{"datafield_id":311,"is_required":"n","var_filter":null},{"datafield_id":312,"is_required":"n","var_filter":null},{"datafield_id":313,"is_required":"n","var_filter":null},{"datafield_id":314,"is_required":"n","var_filter":null},{"datafield_id":315,"is_required":"n","var_filter":null},{"datafield_id":316,"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"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckStoragePool_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"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\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","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,"ifw_api_arguments":{"ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$"},"NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$"},"HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$"},"ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$"},"TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$"},"RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$"},"HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$"},"IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$"},"IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$"},"ExcludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_ExcludeStoragePool$"},"SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$"},"RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$"},"TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$"},"IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$"},"CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$"},"FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$"},"Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$"},"FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$"},"IncludeStoragePool":{"value":"$IcingaCheckStoragePool_Array_IncludeStoragePool$"},"CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$"}},"ifw_api_command":"Invoke-IcingaCheckStoragePool","IcingaCheckStoragePool_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUpdates":{"fields":[{"datafield_id":348,"is_required":"n","var_filter":null},{"datafield_id":349,"is_required":"n","var_filter":null},{"datafield_id":350,"is_required":"n","var_filter":null},{"datafield_id":351,"is_required":"n","var_filter":null},{"datafield_id":352,"is_required":"n","var_filter":null},{"datafield_id":353,"is_required":"n","var_filter":null},{"datafield_id":354,"is_required":"n","var_filter":null},{"datafield_id":355,"is_required":"n","var_filter":null},{"datafield_id":356,"is_required":"n","var_filter":null},{"datafield_id":357,"is_required":"n","var_filter":null},{"datafield_id":358,"is_required":"n","var_filter":null},{"datafield_id":359,"is_required":"n","var_filter":null},{"datafield_id":360,"is_required":"n","var_filter":null},{"datafield_id":361,"is_required":"n","var_filter":null},{"datafield_id":362,"is_required":"n","var_filter":null},{"datafield_id":363,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUpdates","arguments":{"-WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$","order":"7"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"13"},"-WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$","order":"12"},"-WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$","order":"9"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckUpdates_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$","order":"11"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$","order":"10"},"-CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$","order":"8"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$","set_if_format":"string","order":"99"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"2"},"-WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$","order":"5"},"-CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false,"IcingaCheckUpdates_Switchparameter_WarnOnReboot":false,"IcingaCheckUpdates_Switchparameter_CritOnReboot":false,"ifw_api_arguments":{"WarningRollups":{"value":"$IcingaCheckUpdates_Object_WarningRollups$"},"CriticalSecurity":{"value":"$IcingaCheckUpdates_Object_CriticalSecurity$"},"CriticalRollups":{"value":"$IcingaCheckUpdates_Object_CriticalRollups$"},"NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$"},"WarningDefender":{"value":"$IcingaCheckUpdates_Object_WarningDefender$"},"ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$"},"WarningSecurity":{"value":"$IcingaCheckUpdates_Object_WarningSecurity$"},"CriticalOther":{"value":"$IcingaCheckUpdates_Object_CriticalOther$"},"CriticalDefender":{"value":"$IcingaCheckUpdates_Object_CriticalDefender$"},"WarnOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_WarnOnReboot$"},"Warning":{"value":"$IcingaCheckUpdates_Object_Warning$"},"Critical":{"value":"$IcingaCheckUpdates_Object_Critical$"},"CritOnReboot":{"set_if":"$IcingaCheckUpdates_Switchparameter_CritOnReboot$"},"Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$"},"UpdateFilter":{"value":"$IcingaCheckUpdates_Array_UpdateFilter$"},"WarningOther":{"value":"$IcingaCheckUpdates_Object_WarningOther$"}},"ifw_api_command":"Invoke-IcingaCheckUpdates"}},"Invoke-IcingaCheckProcessCount":{"fields":[{"datafield_id":268,"is_required":"n","var_filter":null},{"datafield_id":269,"is_required":"n","var_filter":null},{"datafield_id":270,"is_required":"n","var_filter":null},{"datafield_id":271,"is_required":"n","var_filter":null},{"datafield_id":272,"is_required":"n","var_filter":null},{"datafield_id":273,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcessCount","arguments":{"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckProcessCount_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n\r\nif (len(arr) == 0) {\r\n return \"@()\";\r\n}\r\n\r\nvar psarr = 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(\",\");\r\n\r\nreturn \"@(\" + psarr + \")\";","type":"Function"},"order":"4"},"-Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"ifw_api_arguments":{"Process":{"value":"$IcingaCheckProcessCount_Array_Process$"},"ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$"},"Critical":{"value":"$IcingaCheckProcessCount_Object_Critical$"},"Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckProcessCount_Switchparameter_NoPerfData$"},"Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckProcessCount","IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckTimeSync":{"fields":[{"datafield_id":325,"is_required":"n","var_filter":null},{"datafield_id":326,"is_required":"n","var_filter":null},{"datafield_id":327,"is_required":"n","var_filter":null},{"datafield_id":328,"is_required":"n","var_filter":null},{"datafield_id":329,"is_required":"n","var_filter":null},{"datafield_id":330,"is_required":"n","var_filter":null},{"datafield_id":331,"is_required":"n","var_filter":null},{"datafield_id":332,"is_required":"n","var_filter":null},{"datafield_id":333,"is_required":"n","var_filter":null},{"datafield_id":334,"is_required":"n","var_filter":null},{"datafield_id":335,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTimeSync","arguments":{"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_ThresholdInterval$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"100"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"set_if":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\"); if (len(str) == 0) { return false; }; return true;","set_if_format":"expression","value":{"body":"var str = macro(\"$IcingaCheckTimeSync_String_Server$\");\r\nvar argLen = len(str);\r\n\r\nif (argLen == 0) {\r\n return;\r\n}\r\n\r\nif (argLen != 0 \u0026\u0026 str.substr(0,1) == \"\u0027\" \u0026\u0026 str.substr(argLen - 1, argLen) == \"\u0027\") {\r\n return str;\r\n}\r\n\r\nreturn (\"\u0027\" + str + \"\u0027\");","type":"Function"},"order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_IPV4":false,"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"ifw_api_arguments":{"IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$"},"TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$"},"ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$"},"Server":{"value":"$IcingaCheckTimeSync_String_Server$"},"Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$"},"Port":{"value":"$IcingaCheckTimeSync_Int32_Port$"},"Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$"},"Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$"},"NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$"},"IgnoreService":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IgnoreService$"},"Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$"}},"ifw_api_command":"Invoke-IcingaCheckTimeSync","IcingaCheckTimeSync_Switchparameter_IgnoreService":false}}},"Datafield":{"51":{"settings":{"visibility":"visible"},"description":"Will add the count of folders on top of the file count, allowing to include it within the threshold check.","caption":"CountFolderAsFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"51","varname":"IcingaCheckDirectory_Switchparameter_CountFolderAsFile","format":null},"364":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"364","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"319":{"settings":{"visibility":"visible"},"description":"A single or a list of ports to check on the target address","caption":"Ports","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"319","varname":"IcingaCheckTCP_Array_Ports","format":null},"375":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"375","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"346":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"346","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"378":{"settings":{"datalist":"IcingaCheckUsedPartitionSpace 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":"378","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"294":{"settings":{"datalist":"IcingaCheckService OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a service was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the service state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"294","varname":"IcingaCheckService_String_OverrideNotFound","format":null},"90":{"settings":{"visibility":"visible"},"description":"Set this to include only disks that have drive letters like C:, D:, ..., assigned to them. Can be combined with include/exclude filters","caption":"CheckLogicalOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"90","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name, Issuer and Thumbprint.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"13","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"31":{"settings":{"visibility":"visible"},"description":"If this flag is set, the Warning and Critical thresholds will only apply to the `Overall Load` metric instead of all\nreturned cores. Requires that the plugin either fetches all cores with `*` or `Total` for the -Core argument","caption":"OverallOnly","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"31","varname":"IcingaCheckCPU_Switchparameter_OverallOnly","format":null},"81":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"81","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"192":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PackteReceivedErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"192","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"111":{"settings":{"visibility":"visible"},"description":"Allows to limit the amount of log entries fetched by Get-WinEvent, to increase performance and reduce system load impact\nShould match the average amount of log files written for the intended time range filtered","caption":"MaxEntries","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"111","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"284":{"settings":{"visibility":"visible"},"description":"By default every task which did not exit with 0 will be handled as critical. If you set this flag,\nthe exit code of the task is ignored during check execution","caption":"IgnoreLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"284","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"122":{"settings":{"visibility":"visible"},"description":"Path for the request, example \"/v1/my_endpoint\"","caption":"ServerPath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"122","varname":"IcingaCheckHttpJsonResponse_String_ServerPath","format":null},"60":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"5MB\", which translates to the filze size 5 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 5 MB or less are considered within the check.","caption":"FileSizeSmallerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"60","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"150":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"150","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"363":{"settings":{"datalist":"IcingaCheckUpdates 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":"363","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"372":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"372","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"341":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"341","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"180":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the number of path defined.\nUse for example 6: for alerting for less than 6 MPIO paths available","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"180","varname":"IcingaCheckMPIO_Object_Critical","format":null},"293":{"settings":{"datalist":"IcingaCheckService OverrideNotOk","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a service is not returning OK.\nBy default, it will report CRITICAL but you can set with this argument if the service state should be\nOK, WARNING, CRITICAL or UNKNOWN instead","caption":"OverrideNotOk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"293","varname":"IcingaCheckService_String_OverrideNotOk","format":null},"236":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"236","varname":"IcingaCheckPerfCounter_Array_PerfCounter","format":null},"282":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"282","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"233":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"233","varname":"IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"310":{"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":"310","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"222":{"settings":{"datalist":"IcingaCheckNLA 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":"222","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"211":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"211","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"53":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been changed 20 days ago are considered within the check.","caption":"ChangeTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"53","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"128":{"settings":{"visibility":"visible"},"description":"Value types of each parameter. Supported Types: Numeric, Boolean, DateTime, String Example: \"myAlias01:Numeric\",\"myAlias02:DateTime\"","caption":"ValueTypes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"128","varname":"IcingaCheckHttpJsonResponse_Array_ValueTypes","format":null},"71":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"71","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"250":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"250","varname":"IcingaCheckProcess_Object_CPUCritical","format":null},"125":{"settings":{"visibility":"hidden"},"description":"Credentials to use for basic auth","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"125","varname":"IcingaCheckHttpJsonResponse_Securestring_Password","format":null},"149":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"149","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"134":{"settings":{"datalist":"IcingaCheckHttpJsonResponse 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":"134","varname":"IcingaCheckHttpJsonResponse_Int32_Verbosity","format":null},"158":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for the response time in ms","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"158","varname":"IcingaCheckICMP_Object_Warning","format":null},"94":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"94","varname":"IcingaCheckEventlog_Object_Warning","format":null},"238":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"238","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"109":{"settings":{"visibility":"visible"},"description":"Defines the starting point on which timeframe the plugin will start to read event log information.\nUsing 4h as argument as example, will provide all entries from the time the plugin was executed to the past 4 hours.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will start reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will start reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will read the past 4 hours\n\"1d\": Will read the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 4h v\n|--------------------|-----------------|\n10:00 12:00 16:00\n| Not fetched | Fetched |```","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"109","varname":"IcingaCheckEventlog_Object_After","format":null},"323":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"323","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","format":null},"99":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be included.","caption":"IncludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"99","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"292":{"settings":{"visibility":"visible"},"description":"This will tell the plugin to return OK instead of UNKNOWN, in case no service was added to this\ncheck","caption":"MitigateUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"292","varname":"IcingaCheckService_Switchparameter_MitigateUnknown","format":null},"88":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Offline` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreOfflineDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"88","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"283":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the next run time\nof a task and the current time. The NextRunTime is an offset of the next time the task will run to the current time, therefore increasing over time.\nNegative NextRunTime values mean the task is scheduled in the future\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"283","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null},"224":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"224","varname":"IcingaCheckPartitionSpace_String_ThresholdInterval","format":null},"217":{"settings":{"visibility":"visible"},"description":"Set this argument if you want to include hidden network Adapter for checks. It is a network which is available but is not\nbroadcasting its ID.","caption":"IncludeHidden","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"217","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"55":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date older then 20 days are considered within the check.","caption":"ChangeOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"55","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"340":{"settings":{"visibility":"visible"},"description":"Modifies the plugin output to not display the value provided within the `-Path` argument but to use this string value\ninstead of shorten the output and make it more visual appealing.","caption":"DisplayAlias","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"340","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"43":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"43","varname":"IcingaCheckDirectory_Object_WarningTotalSize","format":null},"143":{"settings":{"visibility":"visible"},"description":"Used to specify a username as string to authenticate with. Authentication is only possible with \u0027https://\u0027. Use with: -Password","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"143","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"61":{"settings":{"datalist":"IcingaCheckDirectory 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":"61","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"152":{"settings":{"visibility":"visible"},"description":"Adds the returned content of a website to the plugin output for debugging purpose","caption":"AddOutputContent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"152","varname":"IcingaCheckHTTPStatus_Switchparameter_AddOutputContent","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"WarningEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"240":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, excluding the provided counters. Allows\nwildcard \"*\" usage","caption":"ExcludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"240","varname":"IcingaCheckPerfCounter_Array_ExcludeCounter","format":null},"159":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for the response time in ms","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"159","varname":"IcingaCheckICMP_Object_Critical","format":null},"374":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"374","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"20":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"20","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"184":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to include for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"184","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"195":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"195","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"209":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"209","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"103":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be included.","caption":"IncludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"103","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"382":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"382","varname":"IcingaCheckUsers_Object_Critical","format":null},"325":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"325","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"334":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"334","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"311":{"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":"311","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"276":{"settings":{"datalist":"IcingaCheckScheduledTask State","behavior":"strict","data_type":"array"},"description":"The state a task should currently have for the plugin to return [OK]","caption":"State","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"276","varname":"IcingaCheckScheduledTask_Array_State","format":null},"54":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a change date younger then 20 days are considered within the check.","caption":"ChangeYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"54","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"267":{"settings":{"datalist":"IcingaCheckProcess 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":"267","varname":"IcingaCheckProcess_Int32_Verbosity","format":null},"45":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"45","varname":"IcingaCheckDirectory_Object_WarningSmallestFile","format":null},"254":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"254","varname":"IcingaCheckProcess_Object_TotalPageFileCritical","format":null},"76":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"76","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"245":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"245","varname":"IcingaCheckProcess_Object_PageFileWarning","format":null},"67":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to exclude from checks. Example C:, D:","caption":"ExcludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"67","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"350":{"settings":{"visibility":"visible"},"description":"The warning threshold for the total pending update count on the Windows machine","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"350","varname":"IcingaCheckUpdates_Object_Warning","format":null},"259":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"259","varname":"IcingaCheckProcess_Object_TotalThreadCountWarning","format":null},"248":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"248","varname":"IcingaCheckProcess_Object_MemoryCritical","format":null},"171":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"171","varname":"IcingaCheckMemory_Object_Critical","format":null},"123":{"settings":{"visibility":"visible"},"description":"Query parameter for the request without ?, example \"command=example\"","caption":"QueryParameter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"123","varname":"IcingaCheckHttpJsonResponse_String_QueryParameter","format":null},"28":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckCPU_Object_Critical","format":null},"207":{"settings":{"visibility":"visible"},"description":"Critical threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"207","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"335":{"settings":{"datalist":"IcingaCheckTimeSync 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":"335","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"366":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"366","varname":"IcingaCheckUptime_String_Critical","format":null},"317":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"317","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"52":{"settings":{"visibility":"visible"},"description":"Allows to add the file list to the plugin output. Beware that this will cause your database to grow and\nperformance might be slower on huge directories!","caption":"ShowFileList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"52","varname":"IcingaCheckDirectory_Switchparameter_ShowFileList","format":null},"261":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"261","varname":"IcingaCheckProcess_Object_TotalProcessCountWarning","format":null},"349":{"settings":{"visibility":"visible"},"description":"Allows to filter for names of updates being included in the total update count, allowing a specific monitoring and filtering of certain updates\nbeyond the provided categories","caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"349","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"257":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"257","varname":"IcingaCheckProcess_Object_TotalCPUWarning","format":null},"358":{"settings":{"visibility":"visible"},"description":"The warning threshold for all other updates on the Windows machine","caption":"WarningOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"358","varname":"IcingaCheckUpdates_Object_WarningOther","format":null},"15":{"settings":{"visibility":"visible"},"description":"Used to specify an array of paths on your system, where certificate files are. Use with CertName.","caption":"CertPaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"68":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to include for checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"IncludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"68","varname":"IcingaCheckDiskHealth_Array_IncludeFriendlyName","format":null},"235":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"235","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"37":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"37","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"92":{"settings":{"datalist":"IcingaCheckDiskHealth 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":"92","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"26":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"26","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"244":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"244","varname":"IcingaCheckProcess_String_ThresholdInterval","format":null},"38":{"settings":{"visibility":"visible"},"description":"Used to specify a path.\ne.g. \u0027C:\\Users\\Icinga\\Downloads\u0027","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"38","varname":"IcingaCheckDirectory_String_Path","format":null},"29":{"settings":{"visibility":"visible"},"description":"Used to specify a single core to check for. For the average load across all cores use `_Total`","caption":"Core","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"29","varname":"IcingaCheckCPU_String_Core","format":null},"285":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"285","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"309":{"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":"309","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"113":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"113","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a date. The start date of the certificate has to be past the date specified, otherwise the check results in critical. Use carefully.\nUse format like: \u0027yyyy-MM-dd\u0027","caption":"CriticalStart","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"365":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"365","varname":"IcingaCheckUptime_String_Warning","format":null},"5":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"5","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"347":{"settings":{"datalist":"IcingaCheckUNCPath 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":"347","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"356":{"settings":{"visibility":"visible"},"description":"The warning threshold for the Microsoft Defender update count on the Windows machine","caption":"WarningDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"356","varname":"IcingaCheckUpdates_Object_WarningDefender","format":null},"42":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"42","varname":"IcingaCheckDirectory_Object_Warning","format":null},"359":{"settings":{"visibility":"visible"},"description":"The critical threshold for all other updates on the Windows machine","caption":"CriticalOther","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"359","varname":"IcingaCheckUpdates_Object_CriticalOther","format":null},"133":{"settings":{"visibility":"visible"},"description":"Negate the conditions set for string parameters. When this is set to true, WarnIfLike/CritIfLike is used instead of WarnIfNotLike/CritIfNotLike for Strings","caption":"NegateStringResults","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"133","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NegateStringResults","format":null},"36":{"settings":{"datalist":"IcingaCheckCPU 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":"36","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"91":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"91","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"27":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckCPU_Object_Warning","format":null},"307":{"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":"307","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"115":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"115","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical range for the end date of an certificate. In this case a string.\nAllowed units include: ms, s, m, h, d, w, M, y","caption":"CriticalEnd","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"70":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"70","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"4":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"4","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null},"361":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\ncritical if one is pending","caption":"CritOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"361","varname":"IcingaCheckUpdates_Switchparameter_CritOnReboot","format":null},"140":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"140","varname":"IcingaCheckHTTPStatus_String_VHost","format":null},"357":{"settings":{"visibility":"visible"},"description":"The critical threshold for the Microsoft Defender update count on the Windows machine","caption":"CriticalDefender","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"357","varname":"IcingaCheckUpdates_Object_CriticalDefender","format":null},"237":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"237","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"281":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return critical based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"281","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","format":null},"226":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"226","varname":"IcingaCheckPartitionSpace_Object_Critical","format":null},"215":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"215","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"129":{"settings":{"visibility":"visible"},"description":"Warning thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"129","varname":"IcingaCheckHttpJsonResponse_Array_Warning","format":null},"145":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy username as string to authenticate with. Use with: -ProxyPassword \u0026 -ProxyServer","caption":"ProxyUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"145","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null},"138":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time critical threshold in seconds, everything past that threshold is considered a CRITICAL.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"138","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"193":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing\nthem from being deliverable to a higher-layer protocol. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteReceivedErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"193","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"168":{"settings":{"datalist":"IcingaCheckICMP 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":"168","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"179":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the number of path defined.\nUse for example 8: for alerting for less than 8 MPIO paths available","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"179","varname":"IcingaCheckMPIO_Object_Warning","format":null},"242":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"242","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"186":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to exclude for checks. Example OutboundGroup, ClusterInterface","caption":"ExcludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"186","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"105":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be included.","caption":"IncludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"105","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"95":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"95","varname":"IcingaCheckEventlog_Object_Critical","format":null},"327":{"settings":{"visibility":"visible"},"description":"The maximum acceptable offset between the local clock and the NTP Server, in seconds e.g. if you allow up to 0.5s timeoffset you can also enter 500ms.\nInvoke-IcingaCheckTimeSync will return OK, if there is no difference between them,\nWARNING, if the time difference exceeds the Warning threshold,\nCRITICAL, if the time difference exceeds the Critical threshold.","caption":"TimeOffset","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"327","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"84":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"84","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"108":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as acknowledged. These event IDs will be compared to the provided ProblemIds.\nIf no event ID for a ProblemId is found it will be marked as a problem. If you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds.\nIf you have multiple ProblemIds but only one AcknowledgeId, you need to add the AcknowledgeId multiple times to this array.","caption":"AcknowledgeId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"108","varname":"IcingaCheckEventlog_Array_AcknowledgeId","format":null},"228":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"228","varname":"IcingaCheckPartitionSpace_Array_Exclude","format":null},"25":{"settings":{"datalist":"IcingaCheckCheckSum 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":"25","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"227":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be included. If not set, the check expects that all not excluded partitions should be checked.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Include","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"227","varname":"IcingaCheckPartitionSpace_Array_Include","format":null},"214":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the current network interface operational status.","caption":"IfOperationalStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"214","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"278":{"settings":{"visibility":"visible"},"description":"Defines a warning threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"WarningMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"278","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"56":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have been created 20 days ago are considered within the check.","caption":"CreationTimeEqual","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"56","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"269":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"269","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"47":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"47","varname":"IcingaCheckDirectory_Object_WarningLargestFile","format":null},"74":{"settings":{"visibility":"visible"},"description":"Warning threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"74","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"144":{"settings":{"visibility":"hidden"},"description":"Used to specify a password as securestring to authenticate with. Authentication is only possible with \u0027https://\u0027.Use with: -Username","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"144","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"155":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"155","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"166":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv6 addresses for ICMP calls by using a hostname","caption":"IPv6","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"166","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"177":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"177","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"188":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"188","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"30":{"settings":{"visibility":"visible"},"description":"Allows to specify one or mutlitple sockets by using their socket id. Not matching socket id\u0027s will not be evaluated\nby the plugin.","caption":"SocketFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"30","varname":"IcingaCheckCPU_Array_SocketFilter","format":null},"205":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"205","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"185":{"settings":{"visibility":"visible"},"description":"Specify the index id, interface name or connection name of network adapters you want to exclude for checks. Example 4, 3, *LAN*, *Ethernet*","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"185","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"384":{"settings":{"datalist":"IcingaCheckUsers 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":"384","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"194":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors. It is possible to enter e.g. 10% as threshold value if you want a percentage comparison. Default (c)","caption":"PackteOutboundErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"194","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"102":{"settings":{"datalist":"IcingaCheckEventlog ExcludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be excluded. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"ExcludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"102","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"10":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027None\u0027, \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027.\nUse \u0027None\u0027 if you do not want to check the certificate store (Default)","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"10","varname":"IcingaCheckCertificate_String_CertStore","format":null},"142":{"settings":{"visibility":"visible"},"description":"Used to specify the timeout in seconds of the webrequest as integer. The default is 10 for 10 seconds.","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"142","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"326":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"326","varname":"IcingaCheckTimeSync_String_Server","format":null},"85":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"85","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"337":{"settings":{"visibility":"visible"},"description":"The path to a volume or network share you want to monitor, like \"\\\\example.com\\Home\" or \"C:\\ClusterSharedVolume\\Volume1\"","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"337","varname":"IcingaCheckUNCPath_String_Path","format":null},"229":{"settings":{"visibility":"visible"},"description":"Allows to define a list of partitions which should be included in the check.\ne.g. \u0027C:\u0027,\u0027D:\u0027\n\nIn case they are missing, the plugin will report CRITICAL","caption":"RequiredPartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"229","varname":"IcingaCheckPartitionSpace_Array_RequiredPartition","format":null},"239":{"settings":{"visibility":"visible"},"description":"An [array] of strings to filter for, only including the provided counters. Allows\nwildcard \"*\" usage","caption":"IncludeCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"239","varname":"IcingaCheckPerfCounter_Array_IncludeCounter","format":null},"315":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"315","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"58":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date younger then 20 days are considered within the check.","caption":"CreationYoungerThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"58","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"272":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"272","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"49":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns warning for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"WarningAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"49","varname":"IcingaCheckDirectory_Object_WarningAverageFile","format":null},"277":{"settings":{"visibility":"visible"},"description":"A list of exit codes which will be considered as [OK]. By default every task which did not exit with 0 will be handled as critical.","caption":"IgnoreExitCodes","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"277","varname":"IcingaCheckScheduledTask_Array_IgnoreExitCodes","format":null},"266":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"266","varname":"IcingaCheckProcess_Switchparameter_NoPerfData","format":null},"44":{"settings":{"visibility":"visible"},"description":"Checks the total folder size of all files of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalTotalSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"44","varname":"IcingaCheckDirectory_Object_CriticalTotalSize","format":null},"255":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"255","varname":"IcingaCheckProcess_Object_TotalMemoryWarning","format":null},"77":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.","caption":"DiskQueueAvgLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"77","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"17":{"settings":{"visibility":"visible"},"description":"Includes sub-directories and entries while looking for certificates on a given path","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"66":{"settings":{"visibility":"visible"},"description":"Specify the partition drive letters for disks to include for checks. Example C:, D:","caption":"IncludePartition","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"66","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"304":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"304","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"161":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027CRITICAL\u0027 for possible packet loss in %","caption":"CriticalPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"161","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"204":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including\nframing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceReceivedBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"204","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"21":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckCheckSum_String_Path","format":null},"383":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"383","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"328":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Warning threshold e.g 10ms or 0.01s","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"328","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"339":{"settings":{"visibility":"hidden"},"description":"The password to authenticate the given user for. Has to be a secure string","caption":"Password","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"339","varname":"IcingaCheckUNCPath_Securestring_Password","format":null},"130":{"settings":{"visibility":"visible"},"description":"Critical thresholds using icinga-powershell syntax. Example: \"myNumericAlias01:~:2\",\"myDateTimeAlias:-10d\", \"myBooleanAlias:True\"","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"130","varname":"IcingaCheckHttpJsonResponse_Array_Critical","format":null},"367":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"367","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"316":{"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":"316","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"376":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"376","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"271":{"settings":{"visibility":"visible"},"description":"Used to specify an array of processes to count and match against. e.g. conhost,wininit","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"271","varname":"IcingaCheckProcessCount_Array_Process","format":null},"345":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"345","varname":"IcingaCheckUNCPath_Switchparameter_CheckUsedSpace","format":null},"253":{"settings":{"visibility":"visible"},"description":"Compares page file usage for all processes with the same name against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the total process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalPageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"253","varname":"IcingaCheckProcess_Object_TotalPageFileWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Thumbprints, which are used to determine what certificate to check, within the CertStore.","caption":"CertThumbprint","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"16":{"settings":{"visibility":"visible"},"description":"Used to specify an array of certificate names of certificate files to check. Use with CertPaths.","caption":"CertName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"16","varname":"IcingaCheckCertificate_Array_CertName","format":null},"121":{"settings":{"visibility":"visible"},"description":"Base URI of the server, example \"https://example.comm\"","caption":"ServerUri","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"121","varname":"IcingaCheckHttpJsonResponse_String_ServerUri","format":null},"34":{"settings":{"visibility":"visible"},"description":"If this flag is set, the plugin will limit the CPU usage for each thread to 100%. This happens on systems with Intel TurboBoost or AMD PBO (Precision Boost Overdrive) enabled.\nRead more about this behavior on the Microsoft docs: https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/cpu-usage-exceeds-100","caption":"Limit100Percent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"34","varname":"IcingaCheckCPU_Switchparameter_Limit100Percent","format":null},"220":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"220","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"298":{"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":"298","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"82":{"settings":{"visibility":"visible"},"description":"Warning threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"82","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"289":{"settings":{"visibility":"visible"},"description":"Allows to exclude services which might come in handy for checking services which are configured to start automatically\non Windows but are not running and weren\u0027t exited properly.","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"289","varname":"IcingaCheckService_Array_Exclude","format":null},"305":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"305","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"202":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"202","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"381":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"381","varname":"IcingaCheckUsers_Object_Warning","format":null},"308":{"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":"308","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null},"112":{"settings":{"visibility":"visible"},"description":"Switch to disable the time cache on a check. If this parameter is set the time cache is disabled.\nAfter the check has been run once, the next check instance will filter through the eventlog from the point the last check ended.\nThis is due to the time cache, when disabled the whole eventlog is checked instead.","caption":"DisableTimeCache","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"112","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"39":{"settings":{"visibility":"visible"},"description":"Used to specify an array of filenames or expressions to match against results to filter for specific files.\n\ne.g \u0027*.txt\u0027, \u0027*.sql\u0027, finds all files ending with .txt and .sql","caption":"FileNames","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"39","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"93":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"93","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to switch on trusted behavior. Whether to check, If the certificate is trusted by the system root.\nWill return Critical in case of untrusted.\n\nNote: it is currently required that the root and intermediate CA is known and trusted by the local system.","caption":"Trusted","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"172":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\n It is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"172","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"160":{"settings":{"visibility":"visible"},"description":"Threshold on which the plugin will return \u0027WARNING\u0027 for possible packet loss in %","caption":"WarningPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"160","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"377":{"settings":{"visibility":"visible"},"description":"Switches the behaviour of the plugin from checking with threshold for the free space (default) to the remaining (used) space instead","caption":"CheckUsedSpace","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"377","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace","format":null},"344":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"CriticalTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"344","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"355":{"settings":{"visibility":"visible"},"description":"The critical threshold for the rollup update count on the Windows machine","caption":"CriticalRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"355","varname":"IcingaCheckUpdates_Object_CriticalRollups","format":null},"252":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"252","varname":"IcingaCheckProcess_Object_ThreadCountCritical","format":null},"243":{"settings":{"datalist":"IcingaCheckPerfCounter 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":"243","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null},"32":{"settings":{"visibility":"visible"},"description":"Changes the output of the overall total load to report the sum of all sockets combined instead of the default\naverage of all sockets","caption":"OverallTotalAsSum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"32","varname":"IcingaCheckCPU_Switchparameter_OverallTotalAsSum","format":null},"231":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"231","varname":"IcingaCheckPartitionSpace_Switchparameter_NoPerfData","format":null},"23":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckCheckSum_String_Hash","format":null},"303":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"303","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"83":{"settings":{"visibility":"visible"},"description":"Critical threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgTransSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"83","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"191":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"191","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"306":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"306","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null},"270":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"270","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"114":{"settings":{"datalist":"IcingaCheckEventlog 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":"114","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"127":{"settings":{"visibility":"visible"},"description":"paths to look for values in the JSON object that is checked, including an alias for each parameter. Example: \"myAlias01:value01\",\"myAlias02:nested.object.value02\", \"myAlias03:\u0027object\u0027.\u0027my.Par.With.Dots\u0027\"","caption":"ValuePaths","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"127","varname":"IcingaCheckHttpJsonResponse_Array_ValuePaths","format":null},"136":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"136","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"131":{"settings":{"visibility":"visible"},"description":"Disables SSL verification and allows the connection to endpoints with self-signed certificates as example","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"131","varname":"IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL","format":null},"241":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element was found and\nprevent the plugin from exiting UNKNOWN and returns OK instead","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"241","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"371":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"371","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"342":{"settings":{"visibility":"visible"},"description":"A critical threshold for the shares free space in either % or byte units, like \"20%:\" or \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"342","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"170":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. In this case an string value.\nThe string has to be like, \"20B\", \"20KB\", \"20MB\", \"20GB\", \"20TB\", \"20PB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"170","varname":"IcingaCheckMemory_Object_Warning","format":null},"353":{"settings":{"visibility":"visible"},"description":"The critical threshold for the security update count on the Windows machine","caption":"CriticalSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"353","varname":"IcingaCheckUpdates_Object_CriticalSecurity","format":null},"97":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be included.","caption":"IncludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"97","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"24":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"24","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"291":{"settings":{"datalist":"IcingaCheckService FilterStartupType","behavior":"strict","data_type":"array"},"description":"Allows to include only services with a specific startup type inside the monitoring,\nin case you check for a list of specific services by using `-Service`","caption":"FilterStartupType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"291","varname":"IcingaCheckService_Array_FilterStartupType","format":null},"221":{"settings":{"datalist":"IcingaCheckNLA Profile","behavior":"strict","data_type":"string"},"description":"Used to specify the profile to check. Available profiles are \u0027DomainAuthenticated\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"221","varname":"IcingaCheckNLA_String_Profile","format":null},"212":{"settings":{"datalist":"IcingaCheckNetworkInterface IfAdminStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the network Interface administrative status.","caption":"IfAdminStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"212","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"41":{"settings":{"visibility":"visible"},"description":"Checks the resulting file count of the provided filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"41","varname":"IcingaCheckDirectory_Object_Critical","format":null},"260":{"settings":{"visibility":"visible"},"description":"Compares thread usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalThreadCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"260","varname":"IcingaCheckProcess_Object_TotalThreadCountCritical","format":null},"126":{"settings":{"visibility":"visible"},"description":"Timeout in seconds before the http request is aborted. Defaults to 30","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"126","varname":"IcingaCheckHttpJsonResponse_Int32_Timeout","format":null},"146":{"settings":{"visibility":"hidden"},"description":"Used to specify a proxy password as securestring to authenticate with. Use with: -ProxyUsername \u0026 -ProxyServer","caption":"ProxyPassword","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"146","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"137":{"settings":{"visibility":"visible"},"description":"Used to specify the webrequest response time warning threshold in seconds, everything past that threshold is considered a WARNING.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"137","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"157":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"157","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"19":{"settings":{"datalist":"IcingaCheckCertificate 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":"19","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"164":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"164","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"169":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"169","varname":"IcingaCheckMemory_String_ThresholdInterval","format":null},"178":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"178","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"187":{"settings":{"visibility":"visible"},"description":"Specify the name of network interface teams you want to include for checks. Example OutboundGroup, ClusterInterface","caption":"IncludeInterfaceTeam","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"187","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"196":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"196","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"104":{"settings":{"visibility":"visible"},"description":"Used to specify an array of messages within the eventlog to be excluded.","caption":"ExcludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"104","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"332":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"332","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"96":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"96","varname":"IcingaCheckEventlog_String_LogName","format":null},"331":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"331","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"87":{"settings":{"visibility":"visible"},"description":"Critical threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"87","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"313":{"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":"313","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"218":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"218","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"370":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"370","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"89":{"settings":{"visibility":"visible"},"description":"Ignores any disk which is having the state `Read Only` and returns `Ok` instead of `Warning` for this specific state","caption":"IgnoreReadOnlyDisks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"89","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"279":{"settings":{"visibility":"visible"},"description":"Defines a critical threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"CriticalMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"279","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"57":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20d\", which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y.\n\nThereby all files which have a creation date older then 20 days are considered within the check.","caption":"CreationOlderThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"57","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"268":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"268","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"46":{"settings":{"visibility":"visible"},"description":"Checks the smallest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalSmallestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"46","varname":"IcingaCheckDirectory_Object_CriticalSmallestFile","format":null},"75":{"settings":{"visibility":"visible"},"description":"Critical threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.\nIt also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the\ntime interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests\nare awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the\ndisk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue\nminus the number of spindles on the disks. For good performance, this difference should average less than two.","caption":"DiskQueueLenCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"75","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"64":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to include for checks. Example 0, 1","caption":"IncludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"64","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"154":{"settings":{"visibility":"visible"},"description":"Use this flag to ignore SSL errors in case your endpoints are not trusted by the client or you are using self-signed certificates.","caption":"IgnoreSSL","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"154","varname":"IcingaCheckHTTPStatus_Switchparameter_IgnoreSSL","format":null},"167":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"167","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"176":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"176","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"189":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface.","caption":"PacketReceivedSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"189","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"198":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"198","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"14":{"settings":{"visibility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null},"197":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded\neven though no errors had been detected to prevent their delivery to a higher-layer protocol. It is possible to enter e.g. 10% as\nthreshold value if you want a percentage comparison. Default (c)","caption":"PacketReceivedDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"197","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"336":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"336","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"369":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"369","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"314":{"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":"314","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"59":{"settings":{"visibility":"visible"},"description":"String that expects input format like \"20MB\", which translates to the filze size 20 MB. Allowed units: B, KB, MB, GB, TB.\n\nThereby all files with a size of 20 MB or larger are considered within the check.","caption":"FileSizeGreaterThan","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"59","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"273":{"settings":{"datalist":"IcingaCheckProcessCount 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":"273","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"48":{"settings":{"visibility":"visible"},"description":"Checks the largest file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalLargestFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"48","varname":"IcingaCheckDirectory_Object_CriticalLargestFile","format":null},"262":{"settings":{"visibility":"visible"},"description":"Compares process count for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalProcessCountCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"262","varname":"IcingaCheckProcess_Object_TotalProcessCountCritical","format":null},"251":{"settings":{"visibility":"visible"},"description":"Compares each single process thread usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"ThreadCountWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"251","varname":"IcingaCheckProcess_Object_ThreadCountWarning","format":null},"18":{"settings":{"visibility":"visible"},"description":"Will return `OK` instead of `UNKNOWN`, in case no certificates for the given filter and path were found","caption":"IgnoreEmpty","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckCertificate_Switchparameter_IgnoreEmpty","format":null},"65":{"settings":{"visibility":"visible"},"description":"Specify the index id of disks you want to exclude from checks. Example 0, 1","caption":"ExcludeDisk","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"65","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"296":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"296","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"287":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"287","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"295":{"settings":{"datalist":"IcingaCheckService 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":"295","varname":"IcingaCheckService_Int32_Verbosity","format":null},"199":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded\neven though no errors had been detected to prevent transmission. It is possible to enter e.g. 10% as threshold value if you want\na percentage comparison. Default (c)","caption":"PacketOutboundDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"199","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"100":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be excluded.","caption":"ExcludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"100","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"329":{"settings":{"visibility":"visible"},"description":"Used to specify a offset Critical threshold e.g 20ms or 0.02s.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"329","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"338":{"settings":{"visibility":"visible"},"description":"Provide a username and/or domain to run this check for. The format can either be \u0027domain\\user\u0027 or \u0027domain@user\u0027","caption":"User","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"338","varname":"IcingaCheckUNCPath_String_User","format":null},"120":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"120","varname":"IcingaCheckHttpJsonResponse_String_ThresholdInterval","format":null},"368":{"settings":{"datalist":"IcingaCheckUptime 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":"368","varname":"IcingaCheckUptime_Int32_Verbosity","format":null},"379":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"379","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"263":{"settings":{"visibility":"visible"},"description":"Allows to filter for a list of processes with a given name. Use the process name without file ending, like \u0027.exe\u0027.","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"263","varname":"IcingaCheckProcess_Array_Process","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify an array of Subjects, which are used to determine what certificate to check, within the CertStore.","caption":"CertSubject","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"80":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.","caption":"DiskWriteByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"80","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"183":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"183","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"230":{"settings":{"visibility":"visible"},"description":"Overrides the default behaviour of the plugin in case no check element is left for being checked (if all elements are filtered out for example).\nInstead of returning `Unknown` the plugin will return `Ok` instead if this argument is set.","caption":"IgnoreEmptyChecks","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"230","varname":"IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"35":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"35","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"182":{"settings":{"datalist":"IcingaCheckMPIO 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":"182","varname":"IcingaCheckMPIO_Object_Verbosity","format":null},"200":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"200","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"288":{"settings":{"visibility":"visible"},"description":"Used to specify an array of services which should be checked against the status. Supports \u0027*\u0027 for\nwildcards.","caption":"Service","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"288","varname":"IcingaCheckService_Array_Service","format":null},"50":{"settings":{"visibility":"visible"},"description":"Checks the average file size found for the given filters and input and returns critical for the provided threshold.\n\nFollows the Icinga plugin threshold guidelines.","caption":"CriticalAverageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"50","varname":"IcingaCheckDirectory_Object_CriticalAverageFile","format":null},"203":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing\ncharacters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceSentBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"203","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"380":{"settings":{"visibility":"visible"},"description":"Used to specify an array of usernames to match against. e.g \u0027Administrator\u0027, \u0027Icinga\u0027","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"380","varname":"IcingaCheckUsers_Array_Username","format":null},"116":{"settings":{"visibility":"visible"},"description":"Used to specify an array of profiles to check. Available profiles are \u0027Domain\u0027, \u0027Public\u0027, \u0027Private\u0027","caption":"Profile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"116","varname":"IcingaCheckFirewall_Array_Profile","format":null},"362":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"362","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"373":{"settings":{"visibility":"visible"},"description":"Used to specify an array of partitions to be excluded.\ne.g. \u0027C:\u0027,\u0027D:\u0027","caption":"Exclude","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"373","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"246":{"settings":{"visibility":"visible"},"description":"Compares each single process page file usage against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the process page file usage for the entire page file space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"246","varname":"IcingaCheckProcess_Object_PageFileCritical","format":null},"351":{"settings":{"visibility":"visible"},"description":"The critical threshold for the total pending update count on the Windows machine","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"351","varname":"IcingaCheckUpdates_Object_Critical","format":null},"190":{"settings":{"visibility":"visible"},"description":"Warning threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface.","caption":"PacketSentSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"190","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"354":{"settings":{"visibility":"visible"},"description":"The warning threshold for the rollup update count on the Windows machine","caption":"WarningRollups","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"354","varname":"IcingaCheckUpdates_Object_WarningRollups","format":null},"320":{"settings":{"visibility":"visible"},"description":"By default the plugin will return [CRITICAL] in case connections to a port are not possible. By setting this argument,\nthe plugin will return [CRITICAL] for successful connections instead","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"320","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"33":{"settings":{"visibility":"visible"},"description":"Disables the reporting of the top 10 CPU consuming process list","caption":"DisableProcessList","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"33","varname":"IcingaCheckCPU_Switchparameter_DisableProcessList","format":null},"232":{"settings":{"visibility":"visible"},"description":"Allows to set Unknown partitions to Ok in case no metrics could be loaded.","caption":"SkipUnknown","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"232","varname":"IcingaCheckPartitionSpace_Switchparameter_SkipUnknown","format":null},"22":{"settings":{"datalist":"IcingaCheckCheckSum Algorithm","behavior":"strict","data_type":"string"},"description":"Used to specify a string, which contains the algorithm to be used.\n\nAllowed algorithms: \u0027SHA1\u0027, \u0027SHA256\u0027, \u0027SHA384\u0027, \u0027SHA512\u0027, \u0027MD5\u0027","caption":"Algorithm","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"22","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"223":{"settings":{"visibility":"visible"},"description":"Used to specify the NICs where to check the filewall profile. When not presented every nic which is active will be checked","caption":"NICs","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"223","varname":"IcingaCheckNLA_Array_NICs","format":null},"302":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"302","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"118":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"118","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"330":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"330","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"40":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"40","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"117":{"settings":{"visibility":"visible"},"description":"Used to specify whether the firewall profiles should be enabled or disabled.\n\n-Enabled $TRUE translates to enabled, while not being specified translates to disabled.","caption":"Enabled","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"117","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"124":{"settings":{"visibility":"visible"},"description":"Credentials to use for basic auth","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"124","varname":"IcingaCheckHttpJsonResponse_String_Username","format":null},"148":{"settings":{"visibility":"visible"},"description":"Used to specify an array of regex-match-strings to match against the content of the webrequest response.","caption":"Content","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"148","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"135":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"135","varname":"IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData","format":null},"290":{"settings":{"datalist":"IcingaCheckService Status","behavior":"strict","data_type":"string"},"description":"Status for the specified service or services to check against.","caption":"Status","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"290","varname":"IcingaCheckService_String_Status","format":null},"181":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"181","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"343":{"settings":{"visibility":"visible"},"description":"A warning threshold for the shares total free space in byte units, like \"50GB:\"\nPlease note that this value is decreasing over time, therefor you will have to use the plugin handler and add \":\" at the end\nof your input to check for \"current value \u003c threshold\" like in the previous example\n\nAllowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB","caption":"WarningTotal","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"343","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"352":{"settings":{"visibility":"visible"},"description":"The warning threshold for the security update count on the Windows machine","caption":"WarningSecurity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"352","varname":"IcingaCheckUpdates_Object_WarningSecurity","format":null},"106":{"settings":{"visibility":"visible"},"description":"Used to specify an array of message sources within the eventlog to be excluded.","caption":"ExcludeSource","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"106","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"322":{"settings":{"visibility":"visible"},"description":"A critical threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"322","varname":"IcingaCheckTCP_Object_Critical","format":null},"98":{"settings":{"visibility":"visible"},"description":"Used to specify an array of events identified by their id to be excluded.","caption":"ExcludeEventId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"98","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"333":{"settings":{"visibility":"visible"},"description":"Ignores the W32Time service during check execution and will not throw warning or critical in case the service is not running","caption":"IgnoreService","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"333","varname":"IcingaCheckTimeSync_Switchparameter_IgnoreService","format":null},"234":{"settings":{"datalist":"IcingaCheckPartitionSpace 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":"234","varname":"IcingaCheckPartitionSpace_Int32_Verbosity","format":null},"225":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. This can either be a byte-value type like \u002710GB\u0027\nor a %-value, like \u002710%\u0027","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"225","varname":"IcingaCheckPartitionSpace_Object_Warning","format":null},"216":{"settings":{"datalist":"IcingaCheckNetworkInterface IfConnectionStatusCrit","behavior":"strict","data_type":"string"},"description":"Critical threshold for the state of the network adapter connection to the network.","caption":"IfConnectionStatusCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"216","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"300":{"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":"300","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"213":{"settings":{"datalist":"IcingaCheckNetworkInterface IfOperationalStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the current network interface operational status.","caption":"IfOperationalStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"213","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"119":{"settings":{"datalist":"IcingaCheckFirewall 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":"119","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null},"73":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"73","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"62":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"62","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"147":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"147","varname":"IcingaCheckHTTPStatus_String_ProxyServer","format":null},"360":{"settings":{"visibility":"visible"},"description":"Checks if there is a pending reboot on the system to finalize Windows Updates and returns\nwarning if one is pending","caption":"WarnOnReboot","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"360","varname":"IcingaCheckUpdates_Switchparameter_WarnOnReboot","format":null},"156":{"settings":{"datalist":"IcingaCheckHTTPStatus 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":"156","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"132":{"settings":{"datalist":"IcingaCheckHttpJsonResponse StatusOnRequestError","behavior":"strict","data_type":"string"},"description":"Status to set when the webservice cannot be reached or an error (e.g. 500) is returned - default is Unknown\nSee https://icinga.com/docs/icinga-for-windows/latest/plugins/doc/10-Icinga-Plugins/ for description of threshold values","caption":"StatusOnRequestError","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"132","varname":"IcingaCheckHttpJsonResponse_String_StatusOnRequestError","format":null},"165":{"settings":{"visibility":"visible"},"description":"Force the usage of IPv4 addresses for ICMP calls by using a hostname","caption":"IPv4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"165","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"174":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"174","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"208":{"settings":{"datalist":"IcingaCheckNetworkInterface IfTeamStatusWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the Status of a network Interface Teams.","caption":"IfTeamStatusWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"208","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"280":{"settings":{"visibility":"visible"},"description":"Allows to specify a time interval, on which the check will return warning based on the last run time\nof a task and the current time. The LastRunTime is an offset of the last time the task run to the current time, therefore increasing over time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningLastRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"280","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"324":{"settings":{"datalist":"IcingaCheckTCP 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":"324","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"107":{"settings":{"visibility":"visible"},"description":"Used to specify an array of event IDs that should be marked as problems. These event IDs will be compared to the provided AcknowledgeIds.\nIf no event ID for an AcknowledgeId is found after the corresponding problem event ID has occurred, it will be marked as a problem.\nIf you provide multiple ProblemIds, you must specify the same number of AcknowledgeIds. If you have multiple ProblemIds but only one AcknowledgeId,\nyou need to add the AcknowledgeId multiple times to the AcknowledgeIds array.","caption":"ProblemId","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"107","varname":"IcingaCheckEventlog_Array_ProblemId","format":null},"321":{"settings":{"visibility":"visible"},"description":"A warning threshold for the connection time in seconds. Allows the usage of unit additions, like 100ms.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"321","varname":"IcingaCheckTCP_Object_Warning","format":null},"86":{"settings":{"visibility":"visible"},"description":"Warning threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)","caption":"DiskAvgWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"86","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"312":{"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":"312","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"219":{"settings":{"datalist":"IcingaCheckNetworkInterface 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":"219","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"275":{"settings":{"visibility":"visible"},"description":"A list of tasks to check for. If your tasks contain spaces, wrap them around a \u0027 to ensure they are\nproperly handled as string","caption":"TaskName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"275","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"264":{"settings":{"datalist":"IcingaCheckProcess OverrideNotFound","behavior":"strict","data_type":"string"},"description":"This argument will allow you to override the default behavior of the plugin in case a process was not found on the\nsystem. By default, it will report UNKNOWN but you can set with this argument if the process state should be\nOK, WARNING or CRITICAL instead","caption":"OverrideNotFound","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"264","varname":"IcingaCheckProcess_String_OverrideNotFound","format":null},"79":{"settings":{"visibility":"visible"},"description":"Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"79","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"72":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"72","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"141":{"settings":{"visibility":"visible"},"description":"Used to specify headers as Array. Like: -Headers \u0027Accept:application/json\u0027","caption":"Headers","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"141","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"63":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"63","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"249":{"settings":{"visibility":"visible"},"description":"Compares each single process cpu usage against the given threshold. Will throw warning if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"CPUWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"249","varname":"IcingaCheckProcess_Object_CPUWarning","format":null},"163":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"163","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"258":{"settings":{"visibility":"visible"},"description":"Compares cpu usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalCPUCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"258","varname":"IcingaCheckProcess_Object_TotalCPUCritical","format":null},"206":{"settings":{"visibility":"visible"},"description":"Warning threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface.","caption":"LinkSpeedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"206","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"175":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"175","varname":"IcingaCheckMemory_Array_ExcludePageFile","format":null},"139":{"settings":{"visibility":"visible"},"description":"Used to specify the URL of the host to check http as string. Use \u0027http://\u0027 or \u0027https://\u0027 to actively chose a protocol. Likewise \u0027:80\u0027 or any other port number to specify a port, etc.","caption":"Url","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"139","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"110":{"settings":{"visibility":"visible"},"description":"Defines the end point on which timeframe the plugin will stop to read event log information.\nUsing 2h as argument as example, will ignore all events of the past 2 hours from the time the plugin was executed. This should be\nused in combination with the \"-After\" argument. As example, you could provide \"-After 6h\" to start reading all eventlogs from the past\n6 hours, and use \"-Before 2h\" to skip the last 2 hours. In this scenario, would receive 4 hours of eventlogs, while the last 2 hours\nhave been ignored.\nFor thresholds you can be very specific by providing the time in a time format or by using simple time metrics by their units. Examples:\n\n\"2024/01/01 12:00:00\": Will stop reading eventlogs after the 1st January 2024 12:00 CET\n\"2024/01/15\": Will stop reading eventlogs after the 15th January 2024 00:00 CET\n\"4h\": Will ignore eventlogs of the past 4 hours\n\"1d\": Will ignore eventlogs of the past day (24 hours)\n\nAllowed units for time metrics: ms, s, m, h, d, w, M, y\n\nExample\n``` Start of EventLog Plugin Execution\nv After 6h Before 2h v\n|-------------|------------------|------|\n8:00 10:00 14:00 16:00\n| Not fetched | Fetched | Not fetched```","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"110","varname":"IcingaCheckEventlog_Object_Before","format":null},"101":{"settings":{"datalist":"IcingaCheckEventlog IncludeEntryType","behavior":"strict","data_type":"array"},"description":"Used to specify an array of entry types within the eventlog to be included. Please note that\n`SuccessAudit` and `FailureAudit` only apply to the `Security` EventLog.","caption":"IncludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"101","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"2":{"settings":{"datalist":"PowerShell ExecutionPolicies","behavior":"strict","data_type":"string"},"description":"Defines with which Execution Policy the PowerShell is started","caption":"PowerShell Execution Policy","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"2","varname":"IcingaPowerShellBase_String_ExecutionPolicy","format":null},"318":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"318","varname":"IcingaCheckTCP_String_Address","format":null},"274":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"274","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"265":{"settings":{"visibility":"visible"},"description":"Define a list of process names which are excluded from the final result. Only the process name is required without \u0027.exe\u0027 at the end.","caption":"ExcludeProcess","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"265","varname":"IcingaCheckProcess_Array_ExcludeProcess","format":null},"348":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"348","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"256":{"settings":{"visibility":"visible"},"description":"Compares memory usage for all processes with the same name against the given threshold. Will throw critical if exceeded.\nSupports % unit to compare the total process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"TotalMemoryCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"256","varname":"IcingaCheckProcess_Object_TotalMemoryCritical","format":null},"78":{"settings":{"visibility":"visible"},"description":"Warning threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.","caption":"DiskReadByteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"78","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"247":{"settings":{"visibility":"visible"},"description":"Compares each single process memory usage against the given threshold. Will throw warning if exceeded.\nSupports % unit to compare the process memory usage for the entire memory space available.\n\nFollows the Icinga Plugin threshold guidelines.","caption":"MemoryWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"247","varname":"IcingaCheckProcess_Object_MemoryWarning","format":null},"69":{"settings":{"visibility":"visible"},"description":"Specify the friendly name of disks you want to exclude from checks. Example \"Samsung SSD 970 EVO Plus 1TB\"","caption":"ExcludeFriendlyName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"69","varname":"IcingaCheckDiskHealth_Array_ExcludeFriendlyName","format":null},"299":{"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":"299","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"151":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"151","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"301":{"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":"301","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"162":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"162","varname":"IcingaCheckICMP_String_Hostname","format":null},"173":{"settings":{"visibility":"visible"},"description":"Allows to check the used page file and compare it against a size value, like \"200MB\"\nThis is using the default Icinga threshold handling.\nIt is possible to enter e.g. 10% as threshold value if you want a percentage comparison.","caption":"PageFileCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"173","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null},"297":{"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/110-Installation/06-Collect-Metrics-over-Time/ 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":"297","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"210":{"settings":{"datalist":"IcingaCheckNetworkInterface IfSlaveEnabledStateWarn","behavior":"strict","data_type":"string"},"description":"Warning threshold for the State of a network Interface Team-Members/Slaves.","caption":"IfSlaveEnabledStateWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"210","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"286":{"settings":{"datalist":"IcingaCheckScheduledTask 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":"286","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"201":{"settings":{"visibility":"visible"},"description":"Critical threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter,\nincluding framing characters. It is also possible to enter e.g. 10% as threshold value, if you want a percentage comparison. Defaults to (B)","caption":"DeviceTotalBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"201","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"153":{"settings":{"visibility":"visible"},"description":"By default the plugin will return UNKNOWN in case a connection to a webserver is not possible. By using this\nflag, the result will be modified from UNKNOWN to CRITICAL","caption":"ConnectionErrAsCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"153","varname":"IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit","format":null}}} diff --git a/config/icinga/Invoke-IcingaCheckPerfcounter.conf b/config/icinga/Invoke-IcingaCheckPerfCounter.conf similarity index 97% rename from config/icinga/Invoke-IcingaCheckPerfcounter.conf rename to config/icinga/Invoke-IcingaCheckPerfCounter.conf index a6247d7b..f78cd1e8 100644 --- a/config/icinga/Invoke-IcingaCheckPerfcounter.conf +++ b/config/icinga/Invoke-IcingaCheckPerfCounter.conf @@ -1,148 +1,148 @@ -object CheckCommand "Invoke-IcingaCheckPerfCounter" { - import "PowerShell Base" - - arguments += { - "-PerfCounter" = { - description = "Used to specify an array of performance counter to check against." - value = {{ - var arr = macro("$IcingaCheckPerfCounter_Array_PerfCounter$"); - if (len(arr) == 0) { - return "@()"; - } - var psarr = arr.map( - x => if (typeof(x) == String) { - var argLen = len(x); - if (argLen != 0 && x.substr(0,1) == "'" && x.substr(argLen - 1, argLen) == "'") { - x; - } else { - "'" + x + "'"; - } - } else { - x; - } - ).join(","); - return "@(" + psarr + ")"; - }} - order = 2 - } - "-Verbosity" = { - description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])" - value = "$IcingaCheckPerfCounter_Int32_Verbosity$" - order = 7 - } - "-ThresholdInterval" = { - set_if = {{ - var str = macro("$IcingaCheckPerfCounter_String_ThresholdInterval$"); if (len(str) == 0) { return false; }; return true; - }} - 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/110-Installation/06-Collect-Metrics-over-Time/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring." - value = {{ - var str = macro("$IcingaCheckPerfCounter_String_ThresholdInterval$"); - var argLen = len(str); - if (argLen == 0) { - return; - } - if (argLen != 0 && str.substr(0,1) == "'" && str.substr(argLen - 1, argLen) == "'") { - return str; - } - return ("'" + str + "'"); - }} - order = 100 - } - "-IgnoreEmptyChecks" = { - set_if = "$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$" - order = 99 - } - "-Warning" = { - description = "Used to specify a Warning threshold." - value = "$IcingaCheckPerfCounter_Object_Warning$" - order = 3 - } - "-Critical" = { - description = "Used to specify a Critical threshold." - value = "$IcingaCheckPerfCounter_Object_Critical$" - order = 4 - } - "-NoPerfData" = { - set_if = "$IcingaCheckPerfCounter_Switchparameter_NoPerfData$" - order = 99 - } - "-IncludeCounter" = { - description = "An [array] of strings to filter for, only including the provided counters. Allows wildcard '*' usage" - value = {{ - var arr = macro("$IcingaCheckPerfCounter_Array_IncludeCounter$"); - if (len(arr) == 0) { - return "@()"; - } - var psarr = arr.map( - x => if (typeof(x) == String) { - var argLen = len(x); - if (argLen != 0 && x.substr(0,1) == "'" && x.substr(argLen - 1, argLen) == "'") { - x; - } else { - "'" + x + "'"; - } - } else { - x; - } - ).join(","); - return "@(" + psarr + ")"; - }} - order = 5 - } - "-ExcludeCounter" = { - description = "An [array] of strings to filter for, excluding the provided counters. Allows wildcard '*' usage" - value = {{ - var arr = macro("$IcingaCheckPerfCounter_Array_ExcludeCounter$"); - if (len(arr) == 0) { - return "@()"; - } - var psarr = arr.map( - x => if (typeof(x) == String) { - var argLen = len(x); - if (argLen != 0 && x.substr(0,1) == "'" && x.substr(argLen - 1, argLen) == "'") { - x; - } else { - "'" + x + "'"; - } - } else { - x; - } - ).join(","); - return "@(" + psarr + ")"; - }} - order = 6 - } - } - vars.IcingaCheckPerfCounter_Switchparameter_NoPerfData = false - vars.IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks = false - vars.ifw_api_arguments = { - "PerfCounter" = { - value = "$IcingaCheckPerfCounter_Array_PerfCounter$" - } - "ThresholdInterval" = { - value = "$IcingaCheckPerfCounter_String_ThresholdInterval$" - } - "ExcludeCounter" = { - value = "$IcingaCheckPerfCounter_Array_ExcludeCounter$" - } - "Critical" = { - value = "$IcingaCheckPerfCounter_Object_Critical$" - } - "IgnoreEmptyChecks" = { - set_if = "$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$" - } - "Warning" = { - value = "$IcingaCheckPerfCounter_Object_Warning$" - } - "NoPerfData" = { - set_if = "$IcingaCheckPerfCounter_Switchparameter_NoPerfData$" - } - "IncludeCounter" = { - value = "$IcingaCheckPerfCounter_Array_IncludeCounter$" - } - "Verbosity" = { - value = "$IcingaCheckPerfCounter_Int32_Verbosity$" - } - } - vars.ifw_api_command = "invoke-icingacheckperfcounter" -} +object CheckCommand "Invoke-IcingaCheckPerfCounter" { + import "PowerShell Base" + + arguments += { + "-PerfCounter" = { + description = "Used to specify an array of performance counter to check against." + value = {{ + var arr = macro("$IcingaCheckPerfCounter_Array_PerfCounter$"); + if (len(arr) == 0) { + return "@()"; + } + var psarr = arr.map( + x => if (typeof(x) == String) { + var argLen = len(x); + if (argLen != 0 && x.substr(0,1) == "'" && x.substr(argLen - 1, argLen) == "'") { + x; + } else { + "'" + x + "'"; + } + } else { + x; + } + ).join(","); + return "@(" + psarr + ")"; + }} + order = 2 + } + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])" + value = "$IcingaCheckPerfCounter_Int32_Verbosity$" + order = 7 + } + "-ThresholdInterval" = { + set_if = {{ + var str = macro("$IcingaCheckPerfCounter_String_ThresholdInterval$"); if (len(str) == 0) { return false; }; return true; + }} + 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/110-Installation/06-Collect-Metrics-over-Time/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring." + value = {{ + var str = macro("$IcingaCheckPerfCounter_String_ThresholdInterval$"); + var argLen = len(str); + if (argLen == 0) { + return; + } + if (argLen != 0 && str.substr(0,1) == "'" && str.substr(argLen - 1, argLen) == "'") { + return str; + } + return ("'" + str + "'"); + }} + order = 100 + } + "-IgnoreEmptyChecks" = { + set_if = "$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$" + order = 99 + } + "-Warning" = { + description = "Used to specify a Warning threshold." + value = "$IcingaCheckPerfCounter_Object_Warning$" + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold." + value = "$IcingaCheckPerfCounter_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckPerfCounter_Switchparameter_NoPerfData$" + order = 99 + } + "-IncludeCounter" = { + description = "An [array] of strings to filter for, only including the provided counters. Allows wildcard '*' usage" + value = {{ + var arr = macro("$IcingaCheckPerfCounter_Array_IncludeCounter$"); + if (len(arr) == 0) { + return "@()"; + } + var psarr = arr.map( + x => if (typeof(x) == String) { + var argLen = len(x); + if (argLen != 0 && x.substr(0,1) == "'" && x.substr(argLen - 1, argLen) == "'") { + x; + } else { + "'" + x + "'"; + } + } else { + x; + } + ).join(","); + return "@(" + psarr + ")"; + }} + order = 5 + } + "-ExcludeCounter" = { + description = "An [array] of strings to filter for, excluding the provided counters. Allows wildcard '*' usage" + value = {{ + var arr = macro("$IcingaCheckPerfCounter_Array_ExcludeCounter$"); + if (len(arr) == 0) { + return "@()"; + } + var psarr = arr.map( + x => if (typeof(x) == String) { + var argLen = len(x); + if (argLen != 0 && x.substr(0,1) == "'" && x.substr(argLen - 1, argLen) == "'") { + x; + } else { + "'" + x + "'"; + } + } else { + x; + } + ).join(","); + return "@(" + psarr + ")"; + }} + order = 6 + } + } + vars.IcingaCheckPerfCounter_Switchparameter_NoPerfData = false + vars.IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks = false + vars.ifw_api_arguments = { + "PerfCounter" = { + value = "$IcingaCheckPerfCounter_Array_PerfCounter$" + } + "ThresholdInterval" = { + value = "$IcingaCheckPerfCounter_String_ThresholdInterval$" + } + "ExcludeCounter" = { + value = "$IcingaCheckPerfCounter_Array_ExcludeCounter$" + } + "Critical" = { + value = "$IcingaCheckPerfCounter_Object_Critical$" + } + "IgnoreEmptyChecks" = { + set_if = "$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$" + } + "Warning" = { + value = "$IcingaCheckPerfCounter_Object_Warning$" + } + "NoPerfData" = { + set_if = "$IcingaCheckPerfCounter_Switchparameter_NoPerfData$" + } + "IncludeCounter" = { + value = "$IcingaCheckPerfCounter_Array_IncludeCounter$" + } + "Verbosity" = { + value = "$IcingaCheckPerfCounter_Int32_Verbosity$" + } + } + vars.ifw_api_command = "invoke-icingacheckperfcounter" +} diff --git a/config/icinga/Invoke-IcingaCheckService.conf b/config/icinga/Invoke-IcingaCheckService.conf index 40744e99..efea4297 100644 --- a/config/icinga/Invoke-IcingaCheckService.conf +++ b/config/icinga/Invoke-IcingaCheckService.conf @@ -50,7 +50,25 @@ object CheckCommand "Invoke-IcingaCheckService" { "-Verbosity" = { description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])" value = "$IcingaCheckService_Int32_Verbosity$" - order = 7 + order = 8 + } + "-OverrideNotOk" = { + set_if = {{ + var str = macro("$IcingaCheckService_String_OverrideNotOk$"); if (len(str) == 0) { return false; }; return true; + }} + description = "This argument will allow you to override the default behavior of the plugin in case a service is not returning OK. By default, it will report CRITICAL but you can set with this argument if the service state should be OK, WARNING, CRITICAL or UNKNOWN instead" + value = {{ + var str = macro("$IcingaCheckService_String_OverrideNotOk$"); + var argLen = len(str); + if (argLen == 0) { + return; + } + if (argLen != 0 && str.substr(0,1) == "'" && str.substr(argLen - 1, argLen) == "'") { + return str; + } + return ("'" + str + "'"); + }} + order = 6 } "-OverrideNotFound" = { set_if = {{ @@ -68,7 +86,7 @@ object CheckCommand "Invoke-IcingaCheckService" { } return ("'" + str + "'"); }} - order = 6 + order = 7 } "-Status" = { set_if = {{ @@ -147,6 +165,9 @@ object CheckCommand "Invoke-IcingaCheckService" { "MitigateUnknown" = { set_if = "$IcingaCheckService_Switchparameter_MitigateUnknown$" } + "OverrideNotOk" = { + value = "$IcingaCheckService_String_OverrideNotOk$" + } "FilterStartupType" = { value = "$IcingaCheckService_Array_FilterStartupType$" } diff --git a/config/icinga/Plugins_Bundle.conf b/config/icinga/Plugins_Bundle.conf index 94e56ee7..184742ed 100644 --- a/config/icinga/Plugins_Bundle.conf +++ b/config/icinga/Plugins_Bundle.conf @@ -3702,7 +3702,7 @@ object CheckCommand "Invoke-IcingaCheckUNCPath" { order = 10 } "-CriticalTotal" = { - description = "A critical threshold for the shares free space in either % or byte units, like '20%:' or '50GB:' Please note that this value is decreasing over time, therefor you will have to use the plugin handler and add ':' at the end of your input to check for 'current value < threshold' like in the previous example Allowed units: %, B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB" + description = "A warning threshold for the shares total free space in byte units, like '50GB:' Please note that this value is decreasing over time, therefor you will have to use the plugin handler and add ':' at the end of your input to check for 'current value < threshold' like in the previous example Allowed units: B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB" value = "$IcingaCheckUNCPath_Object_CriticalTotal$" order = 9 } @@ -4281,7 +4281,25 @@ object CheckCommand "Invoke-IcingaCheckService" { "-Verbosity" = { description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])" value = "$IcingaCheckService_Int32_Verbosity$" - order = 7 + order = 8 + } + "-OverrideNotOk" = { + set_if = {{ + var str = macro("$IcingaCheckService_String_OverrideNotOk$"); if (len(str) == 0) { return false; }; return true; + }} + description = "This argument will allow you to override the default behavior of the plugin in case a service is not returning OK. By default, it will report CRITICAL but you can set with this argument if the service state should be OK, WARNING, CRITICAL or UNKNOWN instead" + value = {{ + var str = macro("$IcingaCheckService_String_OverrideNotOk$"); + var argLen = len(str); + if (argLen == 0) { + return; + } + if (argLen != 0 && str.substr(0,1) == "'" && str.substr(argLen - 1, argLen) == "'") { + return str; + } + return ("'" + str + "'"); + }} + order = 6 } "-OverrideNotFound" = { set_if = {{ @@ -4299,7 +4317,7 @@ object CheckCommand "Invoke-IcingaCheckService" { } return ("'" + str + "'"); }} - order = 6 + order = 7 } "-Status" = { set_if = {{ @@ -4378,6 +4396,9 @@ object CheckCommand "Invoke-IcingaCheckService" { "MitigateUnknown" = { set_if = "$IcingaCheckService_Switchparameter_MitigateUnknown$" } + "OverrideNotOk" = { + value = "$IcingaCheckService_String_OverrideNotOk$" + } "FilterStartupType" = { value = "$IcingaCheckService_Array_FilterStartupType$" } @@ -4995,7 +5016,7 @@ object CheckCommand "Invoke-IcingaCheckUpdates" { order = 99 } "-CriticalOther" = { - description = "The critical threshold for the total pending update count on the Windows machine" + description = "The critical threshold for all other updates on the Windows machine" value = "$IcingaCheckUpdates_Object_CriticalOther$" order = 12 } @@ -5033,12 +5054,12 @@ object CheckCommand "Invoke-IcingaCheckUpdates" { order = 3 } "-CriticalDefender" = { - description = "The critical threshold for the total pending update count on the Windows machine" + description = "The critical threshold for the Microsoft Defender update count on the Windows machine" value = "$IcingaCheckUpdates_Object_CriticalDefender$" order = 10 } "-CriticalRollups" = { - description = "The critical threshold for the total pending update count on the Windows machine" + description = "The critical threshold for the rollup update count on the Windows machine" value = "$IcingaCheckUpdates_Object_CriticalRollups$" order = 8 } @@ -5080,7 +5101,7 @@ object CheckCommand "Invoke-IcingaCheckUpdates" { order = 5 } "-CriticalSecurity" = { - description = "The critical threshold for the total pending update count on the Windows machine" + description = "The critical threshold for the security update count on the Windows machine" value = "$IcingaCheckUpdates_Object_CriticalSecurity$" order = 6 } diff --git a/doc/10-Icinga-Plugins.md b/doc/10-Icinga-Plugins.md index 5b1e3148..722fe24a 100644 --- a/doc/10-Icinga-Plugins.md +++ b/doc/10-Icinga-Plugins.md @@ -26,32 +26,32 @@ icinga> icinga { Invoke-IcingaCheckCPU -Warning 20 -Critical 40 -Core _Total -Th | Plugin Name | Description | | --- | --- | -| [Invoke-IcingaCheckUsedPartitionSpace](plugins/16-Invoke-IcingaCheckUsedPartitionSpace.md) | Checks how much space on a partition is used. | -| [Invoke-IcingaCheckScheduledTask](plugins/19-Invoke-IcingaCheckScheduledTask.md) | Checks the current state for a list of specified tasks based on their name and prints the result | | [Invoke-IcingaCheckBiosSerial](plugins/01-Invoke-IcingaCheckBiosSerial.md) | Finds out the Bios Serial | +| [Invoke-IcingaCheckCPU](plugins/04-Invoke-IcingaCheckCPU.md) | Checks cpu usage of cores. | +| [Invoke-IcingaCheckCertificate](plugins/02-Invoke-IcingaCheckCertificate.md) | Check whether a certificate is still trusted and when it runs out or starts. | +| [Invoke-IcingaCheckCheckSum](plugins/03-Invoke-IcingaCheckCheckSum.md) | Checks hash against file hash of a file | +| [Invoke-IcingaCheckDiskHealth](plugins/20-Invoke-IcingaCheckDiskHealth.md) | Checks availability, state and utilization of the physical hard disk | | [Invoke-IcingaCheckEventlog](plugins/06-Invoke-IcingaCheckEventlog.md) | Checks how many eventlog occurrences of a given type there are. | +| [Invoke-IcingaCheckFirewall](plugins/07-Invoke-IcingaCheckFirewall.md) | Checks whether a firewall module is enabled or not | | [Invoke-IcingaCheckHttpJsonResponse](plugins/28-Invoke-IcingaCheckHttpJsonResponse.md) | Retrieves a JSON-Object via Request and performs desired checks | +| [Invoke-IcingaCheckICMP](plugins/08-Invoke-IcingaCheckICMP.md) | Checks via ICMP requests to a target destination for response time and availability | +| [Invoke-IcingaCheckMPIO](plugins/26-Invoke-IcingaCheckMPIO.md) | Monitors the number of paths for each MPIO driver on your system. | +| [Invoke-IcingaCheckMemory](plugins/09-Invoke-IcingaCheckMemory.md) | Checks on memory usage | +| [Invoke-IcingaCheckNLA](plugins/10-Invoke-IcingaCheckNLA.md) | Checks whether the network location awareness(NLA) found the correct firewall profile for a given network adapter | | [Invoke-IcingaCheckNetworkInterface](plugins/21-Invoke-IcingaCheckNetworkInterface.md) | Checks availability, state and Usage of Network interfaces and Interface Teams | +| [Invoke-IcingaCheckPerfcounter](plugins/11-Invoke-IcingaCheckPerfcounter.md) | Performs checks on various performance counter | +| [Invoke-IcingaCheckProcess](plugins/27-Invoke-IcingaCheckProcess.md) | A plugin to check thread, cpu, memory and pagefile usage for each single process | | [Invoke-IcingaCheckProcessCount](plugins/12-Invoke-IcingaCheckProcessCount.md) | Checks how many processes of a process exist. | -| [Invoke-IcingaCheckUsers](plugins/17-Invoke-IcingaCheckUsers.md) | Checks how many users are logged on to the host | -| [Invoke-IcingaCheckService](plugins/13-Invoke-IcingaCheckService.md) | Checks if defined services have a specific status or checks for all automatic services and if they are running and have not been terminated with exit code 0 | -| [Invoke-IcingaCheckCPU](plugins/04-Invoke-IcingaCheckCPU.md) | Checks cpu usage of cores. | +| [Invoke-IcingaCheckScheduledTask](plugins/19-Invoke-IcingaCheckScheduledTask.md) | Checks the current state for a list of specified tasks based on their name and prints the result | +| [Invoke-IcingaCheckStoragePool](plugins/21-Invoke-IcingaCheckStoragePool.md) | Checks availability, utilization and state of a StoragePool. | +| [Invoke-IcingaCheckTCP](plugins/23-Invoke-IcingaCheckTCP.md) | Checks the connection for an address and a range of ports and fetches the connection status including the time require to connect. | +| [Invoke-IcingaCheckTimeSync](plugins/18-Invoke-IcingaCheckTimeSync.md) | Gets Network Time Protocol time(SMTP/NTP) from a specified server | | [Invoke-IcingaCheckUNCPath](plugins/24-Invoke-IcingaCheckUNCPath.md) | Checks a given path / unc path and determines the size of the volume including free space | | [Invoke-IcingaCheckUpdates](plugins/14-Invoke-IcingaCheckUpdates.md) | Checks how many updates are to be applied | -| [Invoke-IcingaCheckTimeSync](plugins/18-Invoke-IcingaCheckTimeSync.md) | Gets Network Time Protocol time(SMTP/NTP) from a specified server | -| [Invoke-IcingaCheckDiskHealth](plugins/20-Invoke-IcingaCheckDiskHealth.md) | Checks availability, state and utilization of the physical hard disk | -| [Invoke-IcingaCheckTCP](plugins/23-Invoke-IcingaCheckTCP.md) | Checks the connection for an address and a range of ports and fetches the connection status including the time require to connect. | -| [Invoke-IcingaCheckHTTPStatus](plugins/25-Invoke-IcingaCheckHTTPStatus.md) | Checks the response time, the return code and content of HTTP requests. | -| [Invoke-IcingaCheckFirewall](plugins/07-Invoke-IcingaCheckFirewall.md) | Checks whether a firewall module is enabled or not | -| [Invoke-IcingaCheckPerfcounter](plugins/11-Invoke-IcingaCheckPerfcounter.md) | Performs checks on various performance counter | -| [Invoke-IcingaCheckMemory](plugins/09-Invoke-IcingaCheckMemory.md) | Checks on memory usage | | [Invoke-IcingaCheckUptime](plugins/15-Invoke-IcingaCheckUptime.md) | Checks how long a Windows system has been up for. | -| [Invoke-IcingaCheckCheckSum](plugins/03-Invoke-IcingaCheckCheckSum.md) | Checks hash against file hash of a file | -| [Invoke-IcingaCheckMPIO](plugins/26-Invoke-IcingaCheckMPIO.md) | Monitors the number of paths for each MPIO driver on your system. | -| [Invoke-IcingaCheckNLA](plugins/10-Invoke-IcingaCheckNLA.md) | Checks whether the network location awareness(NLA) found the correct firewall profile for a given network adapter | -| [Invoke-IcingaCheckICMP](plugins/08-Invoke-IcingaCheckICMP.md) | Checks via ICMP requests to a target destination for response time and availability | -| [Invoke-IcingaCheckCertificate](plugins/02-Invoke-IcingaCheckCertificate.md) | Check whether a certificate is still trusted and when it runs out or starts. | -| [Invoke-IcingaCheckStoragePool](plugins/21-Invoke-IcingaCheckStoragePool.md) | Checks availability, utilization and state of a StoragePool. | +| [Invoke-IcingaCheckUsedPartitionSpace](plugins/16-Invoke-IcingaCheckUsedPartitionSpace.md) | Checks how much space on a partition is used. | +| [Invoke-IcingaCheckUsers](plugins/17-Invoke-IcingaCheckUsers.md) | Checks how many users are logged on to the host | | [Invoke-IcingaCheckDirectory](plugins/05-Invoke-IcingaCheckDirectory.md) | Checks for amount of files within a directory depending on the set filters | -| [Invoke-IcingaCheckProcess](plugins/27-Invoke-IcingaCheckProcess.md) | A plugin to check thread, cpu, memory and pagefile usage for each single process | +| [Invoke-IcingaCheckService](plugins/13-Invoke-IcingaCheckService.md) | Checks if defined services have a specific status or checks for all automatic services and if they are running and have not been terminated with exit code 0 | +| [Invoke-IcingaCheckHTTPStatus](plugins/25-Invoke-IcingaCheckHTTPStatus.md) | Checks the response time, the return code and content of HTTP requests. | diff --git a/doc/31-Changelog.md b/doc/31-Changelog.md index f3441cc5..456a2ac4 100644 --- a/doc/31-Changelog.md +++ b/doc/31-Changelog.md @@ -11,6 +11,10 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic [Issue and PRs](https://github.com/Icinga/icinga-powershell-plugins/milestone/22) +### Enhancements + +* [#451](https://github.com/Icinga/icinga-powershell-plugins/pull/451) Adds support to override the plugin output for `Invoke-IcingaCheckService` with `-OverrideNotOk` in for thresholds not matching the service running state + ## 1.13.1 (2025-05-08) ### Breaking Changes diff --git a/doc/plugins/13-Invoke-IcingaCheckService.md b/doc/plugins/13-Invoke-IcingaCheckService.md index a95783ba..820fb771 100644 --- a/doc/plugins/13-Invoke-IcingaCheckService.md +++ b/doc/plugins/13-Invoke-IcingaCheckService.md @@ -29,6 +29,7 @@ To execute this plugin you will require to grant the following user permissions. | Status | String | false | Running | Status for the specified service or services to check against. | | FilterStartupType | Array | false | @() | Allows to include only services with a specific startup type inside the monitoring,
in case you check for a list of specific services by using `-Service` | | MitigateUnknown | SwitchParameter | false | False | This will tell the plugin to return OK instead of UNKNOWN, in case no service was added to this
check | +| OverrideNotOk | String | false | Critical | This argument will allow you to override the default behavior of the plugin in case a service is not returning OK.
By default, it will report CRITICAL but you can set with this argument if the service state should be
OK, WARNING, CRITICAL or UNKNOWN instead | | OverrideNotFound | String | false | Unknown | This argument will allow you to override the default behavior of the plugin in case a service was not found on the
system. By default, it will report UNKNOWN but you can set with this argument if the service state should be
OK, WARNING or CRITICAL instead | | Verbosity | Int32 | false | 0 | Changes the behavior of the plugin output which check states are printed:
0 (default): Only service checks/packages with state not OK will be printed
1: Only services with not OK will be printed including OK checks of affected check packages including Package config
2: Everything will be printed regardless of the check state
3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK]) | | NoPerfData | SwitchParameter | false | False | Disables the performance data output of this plugin | diff --git a/icinga-powershell-plugins.psd1 b/icinga-powershell-plugins.psd1 index 0570b36b..d389aa16 100644 --- a/icinga-powershell-plugins.psd1 +++ b/icinga-powershell-plugins.psd1 @@ -12,51 +12,51 @@ ) FunctionsToExport = @( 'Import-IcingaPowerShellComponentPlugins', - 'Invoke-IcingaCheckPartitionSpace', - 'Invoke-IcingaCheckUsedPartitionSpace', - 'Invoke-IcingaCheckScheduledTask', 'Invoke-IcingaCheckBiosSerial', + 'Invoke-IcingaCheckCPU', + 'Invoke-IcingaCheckCertificate', + 'Invoke-IcingaCheckCheckSum', + 'Invoke-IcingaCheckDiskHealth', 'Invoke-IcingaCheckEventlog', + 'Invoke-IcingaCheckFirewall', 'Invoke-IcingaCheckHttpJsonResponse', + 'Invoke-IcingaCheckICMP', + 'Invoke-IcingaCheckMPIO', + 'Invoke-IcingaCheckMemory', + 'Invoke-IcingaCheckNLA', 'Invoke-IcingaCheckNetworkInterface', + 'Invoke-IcingaCheckPerfCounter', + 'Invoke-IcingaCheckProcess', 'Invoke-IcingaCheckProcessCount', - 'Invoke-IcingaCheckUsers', - 'Invoke-IcingaCheckService', - 'Invoke-IcingaCheckCPU', + 'Invoke-IcingaCheckScheduledTask', + 'Invoke-IcingaCheckStoragePool', + 'Invoke-IcingaCheckTCP', + 'Invoke-IcingaCheckTimeSync', 'Invoke-IcingaCheckUNCPath', 'Invoke-IcingaCheckUpdates', - 'Invoke-IcingaCheckTimeSync', - 'Invoke-IcingaCheckDiskHealth', - 'Invoke-IcingaCheckTCP', - 'Invoke-IcingaCheckHTTPStatus', - 'Invoke-IcingaCheckFirewall', - 'Invoke-IcingaCheckPerfCounter', - 'Invoke-IcingaCheckMemory', 'Invoke-IcingaCheckUptime', - 'Invoke-IcingaCheckCheckSum', - 'Invoke-IcingaCheckMPIO', - 'Invoke-IcingaCheckNLA', - 'Invoke-IcingaCheckICMP', - 'Invoke-IcingaCheckCertificate', - 'Invoke-IcingaCheckStoragePool', + 'Invoke-IcingaCheckPartitionSpace', + 'Invoke-IcingaCheckUsedPartitionSpace', + 'Invoke-IcingaCheckUsers', 'Invoke-IcingaCheckDirectory', - 'Invoke-IcingaCheckProcess', - 'Get-IcingaMemoryPerformanceCounter', - 'Get-IcingaMemory', + 'Invoke-IcingaCheckService', + 'Invoke-IcingaCheckHTTPStatus', + 'Get-IcingaBios', 'Get-IcingaCPUs', 'Get-IcingaCPUCount', - 'Get-IcingaWindowsUpdatesPending', - 'Get-IcingaUpdatesHotfix', - 'Get-IcingaUpdatesInstalled', - 'Get-IcingaUsers', - 'Get-IcingaWindows', - 'Get-IcingaServiceCheckName', - 'Get-IcingaProcessData', 'Get-IcingaPhysicalDiskInfo', 'Get-IcingaDiskInformation', 'Get-IcingaDiskPartitions', 'Get-IcingaHttpResponse', - 'Get-IcingaBios' + 'Get-IcingaMemoryPerformanceCounter', + 'Get-IcingaMemory', + 'Get-IcingaProcessData', + 'Get-IcingaServiceCheckName', + 'Get-IcingaUpdatesHotfix', + 'Get-IcingaUpdatesInstalled', + 'Get-IcingaWindowsUpdatesPending', + 'Get-IcingaUsers', + 'Get-IcingaWindows' ) CmdletsToExport = @( ) diff --git a/plugins/Invoke-IcingaCheckService.psm1 b/plugins/Invoke-IcingaCheckService.psm1 index 875b70b9..b921a42f 100644 --- a/plugins/Invoke-IcingaCheckService.psm1 +++ b/plugins/Invoke-IcingaCheckService.psm1 @@ -51,6 +51,13 @@ .PARAMETER MitigateUnknown This will tell the plugin to return OK instead of UNKNOWN, in case no service was added to this check +.PARAMETER WarningOnly + This will convert all non-OK states into WARNING states. This can be useful if you want to monitor + services but don't want to get a critical alert in case a service is not running. +.PARAMETER OverrideNotOk + This argument will allow you to override the default behavior of the plugin in case a service is not returning OK. + By default, it will report CRITICAL but you can set with this argument if the service state should be + OK, WARNING, CRITICAL or UNKNOWN instead .PARAMETER OverrideNotFound This argument will allow you to override the default behavior of the plugin in case a service was not found on the system. By default, it will report UNKNOWN but you can set with this argument if the service state should be @@ -82,16 +89,18 @@ function Invoke-IcingaCheckService() [array]$FilterStartupType = @(), [switch]$MitigateUnknown = $FALSE, [ValidateSet('Ok', 'Warning', 'Critical', 'Unknown')] + [string]$OverrideNotOk = 'Critical', + [ValidateSet('Ok', 'Warning', 'Critical', 'Unknown')] [string]$OverrideNotFound = 'Unknown', [ValidateSet(0, 1, 2, 3)] [int]$Verbosity = 0, - [switch]$NoPerfData + [switch]$NoPerfData = $FALSE ); - $ServicesPackage = New-IcingaCheckPackage -Name 'Services' -OperatorAnd -Verbose $Verbosity -AddSummaryHeader -IgnoreEmptyPackage:$MitigateUnknown; - $ServicesCountPackage = New-IcingaCheckPackage -Name 'Count Services' -OperatorAnd -Verbose $Verbosity -Hidden; - $FetchedServices = @{}; - $ServiceSummary = $null; + $ServicesPackage = New-IcingaCheckPackage -Name 'Services' -OperatorAnd -Verbose $Verbosity -AddSummaryHeader -IgnoreEmptyPackage:$MitigateUnknown; + $ServicesCountPackage = New-IcingaCheckPackage -Name 'Count Services' -OperatorAnd -Verbose $Verbosity -Hidden; + $FetchedServices = @{}; + $ServiceSummary = $null; # Automatic load auto start services and check for errors in case no service # to check for is configured @@ -108,24 +117,21 @@ function Invoke-IcingaCheckService() # Check if the service is running if ($autoservice.configuration.Status.Raw -eq $ProviderEnums.ServiceStatus.Running) { - $ServicesPackage.AddCheck( - (New-IcingaWindowsServiceCheckObject -Status 'Running' -Service $autoservice -NoPerfData) - ); + $chk = New-IcingaWindowsServiceCheckObject -Status 'Running' -Service $autoservice -NoPerfData -OverrideNotOk $OverrideNotOk; + $ServicesPackage.AddCheck($chk); continue; } # Service is not running but the ExitCode is 0 -> this is fine and should not raise a critical if ($autoservice.configuration.ExitCode -eq 0) { - $ServicesPackage.AddCheck( - (New-IcingaWindowsServiceCheckObject -Status 'Stopped' -Service $autoservice -NoPerfData) - ); + $chk = New-IcingaWindowsServiceCheckObject -Status 'Stopped' -Service $autoservice -NoPerfData -OverrideNotOk $OverrideNotOk; + $ServicesPackage.AddCheck($chk); continue; } - # Services which should be running, but are not - $ServicesPackage.AddCheck( - (New-IcingaWindowsServiceCheckObject -Status 'Running' -Service $autoservice -NoPerfData) - ); + # Should be running but is not + $chk = New-IcingaWindowsServiceCheckObject -Status 'Running' -Service $autoservice -NoPerfData -OverrideNotOk $OverrideNotOk; + $ServicesPackage.AddCheck($chk); } } else { $FetchedServices = Get-IcingaServices -Service $Service -Exclude $Exclude; @@ -135,10 +141,8 @@ function Invoke-IcingaCheckService() continue; } } - $ServicesPackage.AddCheck( - (New-IcingaWindowsServiceCheckObject -Status $Status -Service $services) - ); - + $chk = New-IcingaWindowsServiceCheckObject -Status $Status -Service $services -OverrideNotOk $OverrideNotOk; + $ServicesPackage.AddCheck($chk); $ServiceSummary = Add-IcingaServiceSummary -ServiceStatus $services.configuration.Status.Raw -ServiceData $ServiceSummary; } } @@ -226,7 +230,7 @@ function Invoke-IcingaCheckService() (New-IcingaCheck -Name 'service count' -Value $ServiceSummary.ServicesCounted -MetricIndex 'summary' -MetricName 'count') ); - $ServicesPackage.AddCheck($ServicesCountPackage) + $ServicesPackage.AddCheck($ServicesCountPackage); } return (New-IcingaCheckResult -Name 'Services' -Check $ServicesPackage -NoPerfData $NoPerfData -Compile); diff --git a/provider/private/services/New-IcingaWindowsServiceCheckObject.psm1 b/provider/private/services/New-IcingaWindowsServiceCheckObject.psm1 index 804d9a81..fa0faeaa 100644 --- a/provider/private/services/New-IcingaWindowsServiceCheckObject.psm1 +++ b/provider/private/services/New-IcingaWindowsServiceCheckObject.psm1 @@ -29,15 +29,36 @@ function New-IcingaWindowsServiceCheckObject() $Service, [ValidateSet('Stopped', 'StartPending', 'StopPending', 'Running', 'ContinuePending', 'PausePending', 'Paused')] $Status, - [switch]$NoPerfData + [ValidateSet('Ok', 'Warning', 'Critical', 'Unknown')] + [string]$OverrideNotOk = 'Critical', + [switch]$NoPerfData = $FALSE ); $ServiceName = Get-IcingaServiceCheckName -ServiceInput $Service.metadata.DisplayName -Service $Service; $ConvertedStatus = ConvertTo-ServiceStatusCode -Status $Status; $StatusRaw = $Service.configuration.Status.raw; - $IcingaCheck = New-IcingaCheck -Name $ServiceName -Value $StatusRaw -ObjectExists $Service -Translation $ProviderEnums.ServiceStatusName -MetricIndex $Service.metadata.ServiceName -MetricName 'state' -NoPerfData:$NoPerfData; - $IcingaCheck.CritIfNotMatch($ConvertedStatus) | Out-Null; + + switch ($OverrideNotOk.ToLower()) { + 'ok' { + $IcingaCheck.WarnIfNotMatch($ConvertedStatus) | Out-Null; + $IcingaCheck.SetOk($null, $TRUE) | Out-Null; + break; + }; + 'warning' { + $IcingaCheck.WarnIfNotMatch($ConvertedStatus) | Out-Null; + break; + }; + 'critical' { + $IcingaCheck.CritIfNotMatch($ConvertedStatus) | Out-Null; + break; + }; + 'unknown' { + $IcingaCheck.WarnIfNotMatch($ConvertedStatus) | Out-Null; + $IcingaCheck.SetUnknown($null, $TRUE) | Out-Null; + break; + }; + } return $IcingaCheck; }