diff --git a/config/director/Invoke-IcingaCheckBiosSerial.json b/config/director/Invoke-IcingaCheckBiosSerial.json index 485ee801..5e566ea9 100644 --- a/config/director/Invoke-IcingaCheckBiosSerial.json +++ b/config/director/Invoke-IcingaCheckBiosSerial.json @@ -1 +1 @@ -{"DataList":{},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","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 \u0027Invoke-IcingaCheckBiosSerial\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"Datafield":{"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"-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 \u0027Invoke-IcingaCheckBiosSerial\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCPU.json b/config/director/Invoke-IcingaCheckCPU.json index fb894ff4..93eaf6f7 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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckCPU":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckCPU","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 \u0027Invoke-IcingaCheckCPU\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$","order":"100"},"-Core":{"value":"$IcingaCheckCPU_String_Core$","order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckCPU_Object_Warning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckCPU_Object_Critical","format":null},"6":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"5":{"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":"5","varname":"IcingaCheckCPU_String_Core","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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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}],"object_name":"Invoke-IcingaCheckCPU","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 \u0027Invoke-IcingaCheckCPU\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$","order":"100"},"-Core":{"value":"$IcingaCheckCPU_String_Core$","order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_NoPerfData":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":{"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":"9","varname":"IcingaCheckCPU_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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckCPU_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":"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":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCertificate.json b/config/director/Invoke-IcingaCheckCertificate.json index cfa8e452..9a3baa13 100644 --- a/config/director/Invoke-IcingaCheckCertificate.json +++ b/config/director/Invoke-IcingaCheckCertificate.json @@ -1 +1 @@ -{"DataList":{"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":"stein"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"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":"stein"}},"Command":{"Invoke-IcingaCheckCertificate":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null}],"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-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 \u0027Invoke-IcingaCheckCertificate\u0027 ","order":"0"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$","order":"100"},"-CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_Recurse":false,"IcingaCheckCertificate_Switchparameter_Trusted":false,"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"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":"16","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"5":{"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":"5","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"12":{"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":"12","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name and Issuer.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"8":{"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":"8","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null},"9":{"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":"9","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"14":{"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":"14","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"7":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"7","varname":"IcingaCheckCertificate_String_CertStore","format":null},"15":{"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":"15","varname":"IcingaCheckCertificate_Switchparameter_IgnoreEmpty","format":null},"6":{"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":"6","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"4":{"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":"4","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"13":{"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":"13","varname":"IcingaCheckCertificate_Array_CertName","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":"stein"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"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":"stein"},"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":"stein"}},"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-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 \u0027Invoke-IcingaCheckCertificate\u0027 ","order":"0"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$","order":"100"},"-CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_Recurse":false,"IcingaCheckCertificate_Switchparameter_Trusted":false,"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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 and Issuer.","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 \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 17e560ef..b25ece28 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":"stein"},"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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckCheckSum":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckCheckSum","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 \u0027Invoke-IcingaCheckCheckSum\u0027 ","order":"0"},"-Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Hash":{"value":"$IcingaCheckCheckSum_String_Hash$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Path":{"value":"$IcingaCheckCheckSum_String_Path$","order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"3":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckCheckSum_String_Path","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"6":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"5":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckCheckSum_String_Hash","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":"stein"},"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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"-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 \u0027Invoke-IcingaCheckCheckSum\u0027 ","order":"0"},"-Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Hash":{"value":"$IcingaCheckCheckSum_String_Hash$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Path":{"value":"$IcingaCheckCheckSum_String_Path$","order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false}}},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 200f662b..8bfbd26b 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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckDirectory":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"value":"$IcingaCheckDirectory_String_Path$","order":"2"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"14"},"-CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$","order":"10"},"-FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$","order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$","order":"8"},"-ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$","order":"7"},"-FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$","order":"13"},"-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 \u0027Invoke-IcingaCheckDirectory\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$","order":"100"},"-CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$","order":"9"},"-ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$","order":"6"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$","order":"11"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}}},"Datafield":{"16":{"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":"16","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckDirectory_String_Path","format":null},"5":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"12":{"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":"12","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"10":{"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":"10","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"8":{"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":"8","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"17":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"11":{"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":"11","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"9":{"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":"9","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"14":{"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":"14","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. Follows the Icinga plugin threshold","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckDirectory_Object_Warning","format":null},"15":{"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":"15","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. Follows the Icinga plugin threshold","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckDirectory_Object_Critical","format":null},"4":{"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":"4","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"13":{"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":"13","varname":"IcingaCheckDirectory_String_CreationYoungerThan","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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"value":"$IcingaCheckDirectory_String_Path$","order":"2"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"14"},"-CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$","order":"10"},"-FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$","order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$","order":"8"},"-ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$","order":"7"},"-FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$","order":"13"},"-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 \u0027Invoke-IcingaCheckDirectory\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$","order":"100"},"-CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$","order":"9"},"-ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$","order":"6"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$","order":"11"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}}},"Datafield":{"16":{"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":"16","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","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},"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},"18":{"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":"18","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"12":{"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":"12","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"10":{"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":"10","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","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 threshold. Follows the Icinga plugin threshold","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckDirectory_Object_Critical","format":null},"17":{"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":"17","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"11":{"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":"11","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. Follows the Icinga plugin threshold","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckDirectory_Object_Warning","format":null},"14":{"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":"14","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"15":{"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":"15","varname":"IcingaCheckDirectory_String_CreationYoungerThan","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},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"13":{"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":"13","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null}}} diff --git a/config/director/Invoke-IcingaCheckDiskHealth.json b/config/director/Invoke-IcingaCheckDiskHealth.json index 4b389aba..dfc54e8f 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":"stein"}},"Command":{"Invoke-IcingaCheckDiskHealth":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null},{"datafield_id":18,"is_required":"n","var_filter":null},{"datafield_id":19,"is_required":"n","var_filter":null},{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null},{"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-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"14"},"-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 \u0027Invoke-IcingaCheckDiskHealth\u0027 ","order":"0"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$","order":"100"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"12"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"13"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"10"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"21"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"9"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"20"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"17"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"18"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"22"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"24"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"6"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"7"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"15"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"23"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"8"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"11"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"19"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false,"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"11":{"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":"11","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"3":{"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":"3","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"20":{"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":"20","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"12":{"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":"12","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"10":{"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":"10","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"17":{"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":"17","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"13":{"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":"13","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"27":{"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":"27","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"18":{"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":"18","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"29":{"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":"29","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"23":{"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":"23","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"19":{"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":"19","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"5":{"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":"5","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"4":{"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":"4","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"8":{"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":"8","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"26":{"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":"26","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"14":{"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":"14","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"22":{"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":"22","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"28":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"28","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"25":{"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":"25","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"9":{"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":"9","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"15":{"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":"15","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"21":{"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":"21","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"24":{"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":"24","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"16":{"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":"16","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"7":{"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":"7","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"6":{"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":"6","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","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":"stein"},"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":"stein"}},"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}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"14"},"-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 \u0027Invoke-IcingaCheckDiskHealth\u0027 ","order":"0"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$","order":"100"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"12"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"13"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"10"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"21"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"9"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"20"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"17"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"18"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"22"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"24"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"6"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"7"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"15"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"23"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"8"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"11"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"19"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false,"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"11":{"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":"11","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","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 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":"20","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"12":{"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":"12","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"10":{"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":"10","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"17":{"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":"17","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"13":{"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":"13","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"27":{"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":"27","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"30":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"30","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"18":{"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":"18","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"29":{"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":"29","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"23":{"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":"23","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"19":{"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":"19","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"26":{"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":"26","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"14":{"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":"14","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"22":{"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":"22","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"28":{"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":"28","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"25":{"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":"25","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"9":{"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":"9","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"15":{"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":"15","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"21":{"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":"21","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"24":{"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":"24","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"16":{"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":"16","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","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":{"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":"31","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckEventlog.json b/config/director/Invoke-IcingaCheckEventlog.json index 5d20da1d..269929da 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":"stein"},"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":"stein"},"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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckEventlog":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null},{"datafield_id":18,"is_required":"n","var_filter":null},{"datafield_id":19,"is_required":"n","var_filter":null},{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"15"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-LogName":{"value":"$IcingaCheckEventlog_String_LogName$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckEventlog\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$","order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"14"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"17"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"18"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_NoPerfData":false,"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false}}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should start to read event logs from.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckEventlog_Object_After","format":null},"3":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckEventlog_Object_Warning","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckEventlog_String_LogName","format":null},"21":{"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":"21","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"18":{"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":"18","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"12":{"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":"12","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"10":{"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":"10","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"8":{"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":"8","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"17":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should stop considering event logs.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nBy using \"2h\" for example, log files of the last 2 hours will be ignored. Please ensure to manually set the `-After` argument and ensure you go back\nfurther in time with the `-After` argument than the `-Before` argument.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckEventlog_Object_Before","format":null},"11":{"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":"11","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"9":{"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":"9","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"14":{"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":"14","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"7":{"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":"7","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"15":{"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":"15","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"20":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"20","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"6":{"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":"6","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"4":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckEventlog_Object_Critical","format":null},"19":{"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":"19","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"13":{"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":"13","varname":"IcingaCheckEventlog_Array_ExcludeMessage","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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"15"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-LogName":{"value":"$IcingaCheckEventlog_String_LogName$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckEventlog\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$","order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"14"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"17"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"18"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_NoPerfData":false,"IcingaCheckEventlog_Switchparameter_DisableTimeCache":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":"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":"21","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"18":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should start to read event logs from.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckEventlog_Object_After","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":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","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},"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":"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":"20","varname":"IcingaCheckEventlog_Int32_MaxEntries","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},"23":{"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":"23","varname":"IcingaCheckEventlog_Int32_Verbosity","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"19":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should stop considering event logs.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nBy using \"2h\" for example, log files of the last 2 hours will be ignored. Please ensure to manually set the `-After` argument and ensure you go back\nfurther in time with the `-After` argument than the `-Before` argument.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckEventlog_Object_Before","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 3511927c..956d6657 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":"stein"}},"Command":{"Invoke-IcingaCheckFirewall":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckFirewall","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 \u0027Invoke-IcingaCheckFirewall\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$","order":"100"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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":{"IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"5":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"4":{"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":"4","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"3":{"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":"3","varname":"IcingaCheckFirewall_Array_Profile","format":null},"6":{"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":"6","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":"stein"},"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":"stein"}},"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":{"-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 \u0027Invoke-IcingaCheckFirewall\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$","order":"100"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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":{"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 405d2b0b..d3cd95ac 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":"stein"}},"Command":{"Invoke-IcingaCheckHTTPStatus":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null},{"datafield_id":18,"is_required":"n","var_filter":null},{"datafield_id":19,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$","order":"10"},"-Username":{"value":"$IcingaCheckHTTPStatus_String_Username$","order":"8"},"-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 \u0027Invoke-IcingaCheckHTTPStatus\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$","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":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$","order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$","order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"16":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"16","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"3":{"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":"3","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"5":{"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":"5","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"18":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"12":{"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":"12","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"10":{"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":"10","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"8":{"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":"8","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"17":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"11":{"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":"11","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null},"9":{"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":"9","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"14":{"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":"14","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"7":{"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":"7","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"15":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"15","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckHTTPStatus_String_VHost","format":null},"4":{"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":"4","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"19":{"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":"19","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckHTTPStatus_String_ProxyServer","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":"stein"},"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":"stein"}},"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}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$","order":"10"},"-Username":{"value":"$IcingaCheckHTTPStatus_String_Username$","order":"8"},"-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 \u0027Invoke-IcingaCheckHTTPStatus\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$","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":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$","order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$","order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"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":"21","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","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},"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},"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":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"20","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","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},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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-IcingaCheckICMP.json b/config/director/Invoke-IcingaCheckICMP.json index 3c974f56..e55fbb44 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":"stein"}},"Command":{"Invoke-IcingaCheckICMP":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"value":"$IcingaCheckICMP_String_Hostname$","order":"6"},"-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 \u0027Invoke-IcingaCheckICMP\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$","order":"100"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckICMP_String_Hostname","format":null},"9":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"9","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"10":{"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":"10","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"3":{"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":"3","varname":"IcingaCheckICMP_Object_Warning","format":null},"11":{"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":"11","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"12":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"4":{"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":"4","varname":"IcingaCheckICMP_Object_Critical","format":null},"13":{"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":"13","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"6":{"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":"6","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"5":{"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":"5","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"8":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"8","varname":"IcingaCheckICMP_Int32_PacketCount","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":"stein"},"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":"stein"}},"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":{"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"value":"$IcingaCheckICMP_String_Hostname$","order":"6"},"-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 \u0027Invoke-IcingaCheckICMP\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$","order":"100"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 bacb4f76..36c9bc5b 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":"stein"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMPIO","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 \u0027Invoke-IcingaCheckMPIO\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-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}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"5":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"4":{"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":"4","varname":"IcingaCheckMPIO_Object_Critical","format":null},"3":{"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":"3","varname":"IcingaCheckMPIO_Object_Warning","format":null},"6":{"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":"6","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":"stein"},"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":"stein"}},"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":{"-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 \u0027Invoke-IcingaCheckMPIO\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-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}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 6f5d4067..e1636796 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":"stein"}},"Command":{"Invoke-IcingaCheckMemory":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMemory","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 \u0027Invoke-IcingaCheckMemory\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$","order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"9":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"9","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"10":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"3":{"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":"3","varname":"IcingaCheckMemory_Object_Warning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckMemory_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckMemory_Object_Critical","format":null},"6":{"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":"6","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null},"5":{"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":"5","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckMemory_Array_ExcludePageFile","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":"stein"},"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":"stein"}},"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":{"-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 \u0027Invoke-IcingaCheckMemory\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$","order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 ea6c1d65..3b371943 100644 --- a/config/director/Invoke-IcingaCheckNLA.json +++ b/config/director/Invoke-IcingaCheckNLA.json @@ -1 +1 @@ -{"DataList":{"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":"stein"},"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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckNLA":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNLA","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 \u0027Invoke-IcingaCheckNLA\u0027 ","order":"0"},"-Profile":{"value":"$IcingaCheckNLA_String_Profile$","order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"Datafield":{"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"5":{"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":"5","varname":"IcingaCheckNLA_Array_NICs","format":null},"4":{"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":"4","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckNLA_String_Profile","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":"stein"},"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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"-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 \u0027Invoke-IcingaCheckNLA\u0027 ","order":"0"},"-Profile":{"value":"$IcingaCheckNLA_String_Profile$","order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 415906c6..8aeec90b 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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null},{"datafield_id":18,"is_required":"n","var_filter":null},{"datafield_id":19,"is_required":"n","var_filter":null},{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null},{"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}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-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 \u0027Invoke-IcingaCheckNetworkInterface\u0027 ","order":"0"},"-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":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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}}},"Datafield":{"11":{"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":"11","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"3":{"settings":{"visibility":"visible"},"description":"Specify the index of network adapters you want to include for checks. Example 4, 3","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"3","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"20":{"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":"20","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"12":{"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":"12","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"10":{"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":"10","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"17":{"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":"17","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"13":{"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":"13","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"27":{"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":"27","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"30":{"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":"30","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"18":{"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":"18","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"36":{"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":"36","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"29":{"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":"29","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"23":{"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":"23","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"19":{"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":"19","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"38":{"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":"38","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"5":{"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":"5","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"4":{"settings":{"visibility":"visible"},"description":"Specify the index of network adapters you want to exclude for checks. Example 4, 3","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"4","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"8":{"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":"8","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"26":{"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":"26","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"14":{"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":"14","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"37":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"37","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"22":{"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":"22","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"28":{"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":"28","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"25":{"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":"25","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"9":{"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":"9","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"33":{"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":"33","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"15":{"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":"15","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"34":{"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":"34","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"21":{"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":"21","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"24":{"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":"24","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"16":{"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":"16","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"35":{"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":"35","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"32":{"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":"32","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"7":{"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":"7","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"6":{"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":"6","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"31":{"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":"31","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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"},"-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 \u0027Invoke-IcingaCheckNetworkInterface\u0027 ","order":"0"},"-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":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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}}},"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 of network adapters you want to include for checks. Example 4, 3","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 of network adapters you want to exclude for checks. Example 4, 3","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-IcingaCheckPerfcounter.json b/config/director/Invoke-IcingaCheckPerfcounter.json index 1f1e5524..3b765a40 100644 --- a/config/director/Invoke-IcingaCheckPerfcounter.json +++ b/config/director/Invoke-IcingaCheckPerfcounter.json @@ -1 +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":"stein"}},"Command":{"Invoke-IcingaCheckPerfCounter":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$","order":"100"},"-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 \u0027Invoke-IcingaCheckPerfCounter\u0027 ","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"3":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"3","varname":"IcingaCheckPerfCounter_Array_PerfCounter","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"4":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"6":{"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":"6","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"8":{"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":"8","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null}}} +{"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":"stein"},"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":"stein"}},"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}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$","order":"100"},"-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 \u0027Invoke-IcingaCheckPerfCounter\u0027 ","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPerfCounter_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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"10":{"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":"10","varname":"IcingaCheckPerfCounter_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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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":"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":"8","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null}}} diff --git a/config/director/Invoke-IcingaCheckProcessCount.json b/config/director/Invoke-IcingaCheckProcessCount.json index 635316b4..df70666c 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":"stein"}},"Command":{"Invoke-IcingaCheckProcessCount":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckProcessCount","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 \u0027Invoke-IcingaCheckProcessCount\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$","order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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":{"IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"6":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"5":{"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":"5","varname":"IcingaCheckProcessCount_Array_Process","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":"stein"},"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":"stein"}},"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":{"-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 \u0027Invoke-IcingaCheckProcessCount\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$","order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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":{"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 84aeb42c..1a46d589 100644 --- a/config/director/Invoke-IcingaCheckScheduledTask.json +++ b/config/director/Invoke-IcingaCheckScheduledTask.json @@ -1 +1 @@ -{"DataList":{"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":"stein"},"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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckScheduledTask":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$","order":"8"},"-CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$","order":"9"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-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 \u0027Invoke-IcingaCheckScheduledTask\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$","order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"4"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$","order":"7"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"5"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"10"},"-WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_NoPerfData":false,"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false}}},"Datafield":{"7":{"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 value will be subtracted from the current 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":"7","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"9":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"10":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null},"3":{"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":"3","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"11":{"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":"11","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"12":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"4":{"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":"4","varname":"IcingaCheckScheduledTask_Array_State","format":null},"13":{"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":"13","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"6":{"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":"6","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"5":{"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":"5","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"8":{"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 value will be subtracted from the current 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":"8","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","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":"stein"},"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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$","order":"8"},"-CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$","order":"9"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-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 \u0027Invoke-IcingaCheckScheduledTask\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$","order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"4"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$","order":"7"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"5"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"10"},"-WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_NoPerfData":false,"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","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 critical based on the next run time\nof a task and the current time. The value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null},"10":{"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 value will be subtracted from the current 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":"10","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","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 critical threshold for missed runs for filtered tasks.\n\nSupports Icinga default threshold syntax.","caption":"CriticalMissedRuns","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"11":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"9":{"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 value will be subtracted from the current 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":"9","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","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":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"15":{"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":"15","varname":"IcingaCheckScheduledTask_Int32_Verbosity","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"13":{"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":"13","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null}}} diff --git a/config/director/Invoke-IcingaCheckService.json b/config/director/Invoke-IcingaCheckService.json index c28b4178..6d500273 100644 --- a/config/director/Invoke-IcingaCheckService.json +++ b/config/director/Invoke-IcingaCheckService.json @@ -1 +1 @@ -{"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":"stein"},"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":"stein"}},"Command":{"Invoke-IcingaCheckService":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckService","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 \u0027Invoke-IcingaCheckService\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$","order":"100"},"-Status":{"value":"$IcingaCheckService_String_Status$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"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":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"3":{"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":"3","varname":"IcingaCheckService_Array_Service","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckService_Array_Exclude","format":null},"6":{"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":"6","varname":"IcingaCheckService_Int32_Verbosity","format":null},"5":{"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":"5","varname":"IcingaCheckService_String_Status","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":"stein"},"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":"stein"},"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":"stein"}},"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}],"object_name":"Invoke-IcingaCheckService","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 \u0027Invoke-IcingaCheckService\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$","order":"100"},"-Status":{"value":"$IcingaCheckService_String_Status$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckService_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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 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":"IcingaCheckService_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckStoragePool.json b/config/director/Invoke-IcingaCheckStoragePool.json index 751f9c5a..ef100e90 100644 --- a/config/director/Invoke-IcingaCheckStoragePool.json +++ b/config/director/Invoke-IcingaCheckStoragePool.json @@ -1 +1 @@ -{"DataList":{"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool HealthStatusWarning":{"list_name":"IcingaCheckStoragePool HealthStatusWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool HealthStatusCritical":{"list_name":"IcingaCheckStoragePool HealthStatusCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool Verbosity":{"list_name":"IcingaCheckStoragePool Verbosity","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"0","entry_name":"0","format":"string"},{"allowed_roles":null,"entry_value":"1","entry_name":"1","format":"string"},{"allowed_roles":null,"entry_value":"2","entry_name":"2","format":"string"},{"allowed_roles":null,"entry_value":"3","entry_name":"3","format":"string"}],"owner":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckStoragePool":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null},{"datafield_id":18,"is_required":"n","var_filter":null},{"datafield_id":19,"is_required":"n","var_filter":null},{"datafield_id":20,"is_required":"n","var_filter":null},{"datafield_id":21,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckStoragePool","arguments":{"-RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$","order":"17"},"-IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$","order":"8"},"-Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$","order":"18"},"-IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$","order":"13"},"-HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$","order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckStoragePool\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$","order":"100"},"-FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$","order":"5"},"-IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$","set_if_format":"string","order":"99"},"-IncludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_IncludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$","order":"9"},"-TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$","order":"7"},"-CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$","order":"10"},"-SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$","order":"12"},"-HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$","order":"15"},"-ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$","order":"11"},"-RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$","order":"16"},"-TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckStoragePool_Switchparameter_IncludePrimordial":false,"IcingaCheckStoragePool_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"datalist":"IcingaCheckStoragePool HealthStatusCritical","behavior":"strict","data_type":"string"},"description":"Critical threshold for Health of StoragePool is whether or not the storage pool can maintain the required redundancy levels.","caption":"HealthStatusCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"16","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"3":{"settings":{"visibility":"visible"},"description":"With this parameter you can filter out which StoragePools you want to check, provided you have several StoragePools on your system.","caption":"IncludeStoragePool","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"3","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"5":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool FreeSpaces in GB. This value is a decreasing metric which will require\nyou to add a \u0027:\u0027 behind the threshold, like \u002720GB:\u0027 to check if free space is lower compared to your threshold","caption":"FreeSpaceWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"21":{"settings":{"datalist":"IcingaCheckStoragePool Verbosity","behavior":"strict","data_type":"string"},"description":"Changes the behavior of the plugin output which check states are printed:\n0 (default): Only service checks/packages with state not OK will be printed\n1: Only services with not OK will be printed including OK checks of affected check packages including Package config\n2: Everything will be printed regardless of the check state\n3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"21","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"18":{"settings":{"datalist":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","behavior":"strict","data_type":"string"},"description":"Critical threshold RetireMissingPhysicalDisks specifies whether the storage subsystem will automatically retire physical disks that are missing from this\nstorage pool and replace them with hot spares or other physical disks that are available in the storage pool.","caption":"RetireMissingPhysicalDisksCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"18","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"12":{"settings":{"visibility":"visible"},"description":"Critical threshold for StoragePool ClearOnDeallocate is, if physical disks should be zeroed (cleared of all data) when\nunmapped or removed from the storage pool.","caption":"ClearOnDeallocateCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"10":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"8":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"17":{"settings":{"datalist":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","behavior":"strict","data_type":"string"},"description":"Warning threshold RetireMissingPhysicalDisks specifies whether the storage subsystem will automatically retire physical disks that are missing from this\nstorage pool and replace them with hot spares or other physical disks that are available in the storage pool.","caption":"RetireMissingPhysicalDisksWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"17","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null},"9":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"14":{"settings":{"visibility":"visible"},"description":"Critical threshold for StoragePool IsPowerProtected is, whether the disks in this pool are able to tolerate power loss without data loss.\nFor example, they automatically flush volatile buffers to non-volatile media after external power is disconnected.","caption":"IsPowerProtectedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"7":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"15":{"settings":{"datalist":"IcingaCheckStoragePool HealthStatusWarning","behavior":"strict","data_type":"string"},"description":"Warning threshold for Health of StoragePool is whether or not the storage pool can maintain the required redundancy levels.","caption":"HealthStatusWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"15","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"20":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"20","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"6":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool FreeSpaces in GB. This value is a decreasing metric which will require\nyou to add a \u0027:\u0027 behind the threshold, like \u002720GB:\u0027 to check if free space is lower compared to your threshold","caption":"FreeSpaceCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"4":{"settings":{"visibility":"visible"},"description":"With this parameter you can filter out which StoragePools you do not want to check, provided you have several StoragePools on your system.","caption":"ExcludeStoragePool","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"4","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"19":{"settings":{"visibility":"visible"},"description":"A primordial pool, also known as the \u0027available storage\u0027 pool is where storage capacity is drawn and returned in the\ncreation and deletion of concrete storage pools. Primordial pools cannot be created or deleted. You can set this to\ntrue if you also want to check Primordial StoragePools. Default to false.","caption":"IncludePrimordial","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"19","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"13":{"settings":{"visibility":"visible"},"description":"Critical threshold StoragePool SupportsDeduplication is, whether the storage pool supports data duplication or not.","caption":"SupportsDeduplicationCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null}}} +{"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":"stein"},"IcingaCheckStoragePool Verbosity":{"list_name":"IcingaCheckStoragePool Verbosity","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"0","entry_name":"0","format":"string"},{"allowed_roles":null,"entry_value":"1","entry_name":"1","format":"string"},{"allowed_roles":null,"entry_value":"2","entry_name":"2","format":"string"},{"allowed_roles":null,"entry_value":"3","entry_name":"3","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"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":"stein"},"IcingaCheckStoragePool HealthStatusCritical":{"list_name":"IcingaCheckStoragePool HealthStatusCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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"},"-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 \u0027Invoke-IcingaCheckStoragePool\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$","order":"100"},"-FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$","order":"5"},"-IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$","set_if_format":"string","order":"99"},"-IncludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_IncludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$","order":"9"},"-TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$","order":"7"},"-CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$","order":"10"},"-SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$","order":"12"},"-HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$","order":"15"},"-ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$","order":"11"},"-RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$","order":"16"},"-TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckStoragePool_Switchparameter_IncludePrimordial":false,"IcingaCheckStoragePool_Switchparameter_NoPerfData":false}}},"Datafield":{"16":{"settings":{"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 f402bd75..79e0bab6 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":"stein"}},"Command":{"Invoke-IcingaCheckTCP":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTCP","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 \u0027Invoke-IcingaCheckTCP\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$","order":"100"},"-Address":{"value":"$IcingaCheckTCP_String_Address$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"IcingaCheckTCP_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckTCP_Object_Critical","format":null},"9":{"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":"9","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"3":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckTCP_String_Address","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckTCP_Array_Ports","format":null},"6":{"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":"6","varname":"IcingaCheckTCP_Object_Warning","format":null},"5":{"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":"5","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"8":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","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":"stein"},"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":"stein"}},"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":{"-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 \u0027Invoke-IcingaCheckTCP\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$","order":"100"},"-Address":{"value":"$IcingaCheckTCP_String_Address$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 237637a6..62b8f8eb 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":"stein"}},"Command":{"Invoke-IcingaCheckTimeSync":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTimeSync","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 \u0027Invoke-IcingaCheckTimeSync\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"value":"$IcingaCheckTimeSync_String_Server$","order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"IcingaCheckTimeSync_Switchparameter_IPV4":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"7","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"9":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"9","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"10":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"3":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckTimeSync_String_Server","format":null},"11":{"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":"11","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"6":{"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":"6","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"5":{"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":"5","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"8":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","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":"stein"},"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":"stein"}},"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}],"object_name":"Invoke-IcingaCheckTimeSync","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 \u0027Invoke-IcingaCheckTimeSync\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"value":"$IcingaCheckTimeSync_String_Server$","order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"IcingaCheckTimeSync_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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","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},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"13":{"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":"13","varname":"IcingaCheckTimeSync_Int32_Verbosity","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 fb7d7ba0..cdcae479 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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUNCPath":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUNCPath","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 \u0027Invoke-IcingaCheckUNCPath\u0027 ","order":"0"},"-Path":{"value":"$IcingaCheckUNCPath_String_Path$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"8"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"7"},"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"6"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"9":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"10":{"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":"10","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckUNCPath_String_Path","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"6":{"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":"6","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"5":{"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":"5","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"8":{"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":"8","varname":"IcingaCheckUNCPath_Object_CriticalTotal","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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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}],"object_name":"Invoke-IcingaCheckUNCPath","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 \u0027Invoke-IcingaCheckUNCPath\u0027 ","order":"0"},"-Path":{"value":"$IcingaCheckUNCPath_String_Path$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"8"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"7"},"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"6"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"9":{"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":"9","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"10":{"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":"10","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"12":{"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":"12","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"11":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckUNCPath_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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"6":{"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":"6","varname":"IcingaCheckUNCPath_String_DisplayAlias","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},"8":{"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":"8","varname":"IcingaCheckUNCPath_Object_Critical","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUpdates.json b/config/director/Invoke-IcingaCheckUpdates.json index ac9cf143..24174410 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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUpdates":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUpdates","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 \u0027Invoke-IcingaCheckUpdates\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$","order":"100"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"3":{"settings":{"visibility":"visible"},"description":null,"caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"3","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckUpdates_Object_Warning","format":null},"6":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"5":{"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":"5","varname":"IcingaCheckUpdates_Object_Critical","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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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}],"object_name":"Invoke-IcingaCheckUpdates","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 \u0027Invoke-IcingaCheckUpdates\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$","order":"100"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false}}},"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":"IcingaCheckUpdates_Object_Critical","format":null},"9":{"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":"9","varname":"IcingaCheckUpdates_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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckUpdates_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":"IcingaCheckUpdates_Object_Warning","format":null},"5":{"settings":{"visibility":"visible"},"description":null,"caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"5","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"8":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUptime.json b/config/director/Invoke-IcingaCheckUptime.json index 719a8130..cf75639f 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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUptime":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUptime","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 \u0027Invoke-IcingaCheckUptime\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckUptime_String_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUptime_String_Critical$","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}}},"Datafield":{"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"5":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"4":{"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":"4","varname":"IcingaCheckUptime_String_Critical","format":null},"3":{"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":"3","varname":"IcingaCheckUptime_String_Warning","format":null},"6":{"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":"6","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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"-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 \u0027Invoke-IcingaCheckUptime\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckUptime_String_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUptime_String_Critical$","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}}},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 4677b826..f71b2c1d 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":"stein"}},"Command":{"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","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 \u0027Invoke-IcingaCheckUsedPartitionSpace\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"9":{"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":"9","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"10":{"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":"10","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"6":{"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":"6","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"5":{"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":"5","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"8":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"8","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","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":"stein"},"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":"stein"}},"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}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","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 \u0027Invoke-IcingaCheckUsedPartitionSpace\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckUsedPartitionSpace_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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"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":"12","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","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 fa2e9d60..476cc1c8 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":"stein"}},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckUsers":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null},{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsers","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 \u0027Invoke-IcingaCheckUsers\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false}}},"Datafield":{"7":{"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":"7","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"3":{"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":"3","varname":"IcingaCheckUsers_Array_Username","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckUsers_Object_Warning","format":null},"6":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"5":{"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":"5","varname":"IcingaCheckUsers_Object_Critical","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":"stein"},"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":"stein"}},"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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":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":{"-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 \u0027Invoke-IcingaCheckUsers\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false}}},"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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"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 fb29db06..2bb3f3a4 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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool HealthStatusCritical":{"list_name":"IcingaCheckStoragePool HealthStatusCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool HealthStatusWarning":{"list_name":"IcingaCheckStoragePool HealthStatusWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool Verbosity":{"list_name":"IcingaCheckStoragePool Verbosity","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"0","entry_name":"0","format":"string"},{"allowed_roles":null,"entry_value":"1","entry_name":"1","format":"string"},{"allowed_roles":null,"entry_value":"2","entry_name":"2","format":"string"},{"allowed_roles":null,"entry_value":"3","entry_name":"3","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckMPIO","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 \u0027Invoke-IcingaCheckMPIO\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-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}},"Invoke-IcingaCheckUsers":{"fields":[{"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},{"datafield_id":287,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsers","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 \u0027Invoke-IcingaCheckUsers\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckCertificate":{"fields":[{"datafield_id":3,"is_required":"n","var_filter":null},{"datafield_id":4,"is_required":"n","var_filter":null},{"datafield_id":5,"is_required":"n","var_filter":null},{"datafield_id":6,"is_required":"n","var_filter":null},{"datafield_id":7,"is_required":"n","var_filter":null},{"datafield_id":8,"is_required":"n","var_filter":null},{"datafield_id":9,"is_required":"n","var_filter":null},{"datafield_id":10,"is_required":"n","var_filter":null},{"datafield_id":11,"is_required":"n","var_filter":null},{"datafield_id":12,"is_required":"n","var_filter":null},{"datafield_id":13,"is_required":"n","var_filter":null},{"datafield_id":14,"is_required":"n","var_filter":null},{"datafield_id":15,"is_required":"n","var_filter":null},{"datafield_id":16,"is_required":"n","var_filter":null},{"datafield_id":17,"is_required":"n","var_filter":null}],"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-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 \u0027Invoke-IcingaCheckCertificate\u0027 ","order":"0"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$","order":"100"},"-CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_Recurse":false,"IcingaCheckCertificate_Switchparameter_Trusted":false,"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false}},"Invoke-IcingaCheckMemory":{"fields":[{"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},{"datafield_id":136,"is_required":"n","var_filter":null},{"datafield_id":137,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckMemory","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 \u0027Invoke-IcingaCheckMemory\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$","order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckHTTPStatus":{"fields":[{"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},{"datafield_id":115,"is_required":"n","var_filter":null},{"datafield_id":116,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$","order":"10"},"-Username":{"value":"$IcingaCheckHTTPStatus_String_Username$","order":"8"},"-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 \u0027Invoke-IcingaCheckHTTPStatus\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$","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":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$","order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$","order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"Invoke-IcingaCheckNLA":{"fields":[{"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},{"datafield_id":183,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNLA","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 \u0027Invoke-IcingaCheckNLA\u0027 ","order":"0"},"-Profile":{"value":"$IcingaCheckNLA_String_Profile$","order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","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 \u0027Invoke-IcingaCheckBiosSerial\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}},"Invoke-IcingaCheckEventlog":{"fields":[{"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},{"datafield_id":93,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"15"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-LogName":{"value":"$IcingaCheckEventlog_String_LogName$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckEventlog\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$","order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"14"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"17"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"18"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_NoPerfData":false,"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false}},"Invoke-IcingaCheckDiskHealth":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"14"},"-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 \u0027Invoke-IcingaCheckDiskHealth\u0027 ","order":"0"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$","order":"100"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"12"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"13"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"10"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"21"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"9"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"20"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"17"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"18"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"22"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"24"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"6"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"7"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"15"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"23"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"8"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"11"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"19"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false,"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false}},"Invoke-IcingaCheckCheckSum":{"fields":[{"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-IcingaCheckCheckSum","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 \u0027Invoke-IcingaCheckCheckSum\u0027 ","order":"0"},"-Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Hash":{"value":"$IcingaCheckCheckSum_String_Hash$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Path":{"value":"$IcingaCheckCheckSum_String_Path$","order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckScheduledTask":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$","order":"8"},"-CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$","order":"9"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-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 \u0027Invoke-IcingaCheckScheduledTask\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$","order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"4"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$","order":"7"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"5"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"10"},"-WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_NoPerfData":false,"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false}},"Invoke-IcingaCheckFirewall":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckFirewall","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 \u0027Invoke-IcingaCheckFirewall\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$","order":"100"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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":{"IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"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},{"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},{"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},{"datafield_id":178,"is_required":"n","var_filter":null},{"datafield_id":179,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-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 \u0027Invoke-IcingaCheckNetworkInterface\u0027 ","order":"0"},"-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":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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}},"Invoke-IcingaCheckICMP":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"value":"$IcingaCheckICMP_String_Hostname$","order":"6"},"-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 \u0027Invoke-IcingaCheckICMP\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$","order":"100"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"Invoke-IcingaCheckDirectory":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"value":"$IcingaCheckDirectory_String_Path$","order":"2"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"14"},"-CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$","order":"10"},"-FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$","order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$","order":"8"},"-ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$","order":"7"},"-FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$","order":"13"},"-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 \u0027Invoke-IcingaCheckDirectory\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$","order":"100"},"-CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$","order":"9"},"-ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$","order":"6"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$","order":"11"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}},"Invoke-IcingaCheckUNCPath":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUNCPath","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 \u0027Invoke-IcingaCheckUNCPath\u0027 ","order":"0"},"-Path":{"value":"$IcingaCheckUNCPath_String_Path$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"8"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"7"},"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"6"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckPerfCounter":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$","order":"100"},"-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 \u0027Invoke-IcingaCheckPerfCounter\u0027 ","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"datafield_id":273,"is_required":"n","var_filter":null},{"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}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","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 \u0027Invoke-IcingaCheckUsedPartitionSpace\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData":false}},"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckService":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckService","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 \u0027Invoke-IcingaCheckService\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$","order":"100"},"-Status":{"value":"$IcingaCheckService_String_Status$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckCPU":{"fields":[{"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-IcingaCheckCPU","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 \u0027Invoke-IcingaCheckCPU\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$","order":"100"},"-Core":{"value":"$IcingaCheckCPU_String_Core$","order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckTCP":{"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}],"object_name":"Invoke-IcingaCheckTCP","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 \u0027Invoke-IcingaCheckTCP\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$","order":"100"},"-Address":{"value":"$IcingaCheckTCP_String_Address$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"IcingaCheckTCP_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUptime":{"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}],"object_name":"Invoke-IcingaCheckUptime","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 \u0027Invoke-IcingaCheckUptime\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckUptime_String_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUptime_String_Critical$","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}},"Invoke-IcingaCheckStoragePool":{"fields":[{"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},{"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},{"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-IcingaCheckStoragePool","arguments":{"-RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$","order":"17"},"-IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$","order":"8"},"-Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$","order":"18"},"-IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$","order":"13"},"-HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$","order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckStoragePool\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$","order":"100"},"-FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$","order":"5"},"-IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$","set_if_format":"string","order":"99"},"-IncludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_IncludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$","order":"9"},"-TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$","order":"7"},"-CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$","order":"10"},"-SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$","order":"12"},"-HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$","order":"15"},"-ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$","order":"11"},"-RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$","order":"16"},"-TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckStoragePool_Switchparameter_IncludePrimordial":false,"IcingaCheckStoragePool_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUpdates":{"fields":[{"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-IcingaCheckUpdates","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 \u0027Invoke-IcingaCheckUpdates\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$","order":"100"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckProcessCount":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckProcessCount","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 \u0027Invoke-IcingaCheckProcessCount\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$","order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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":{"IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckTimeSync":{"fields":[{"datafield_id":243,"is_required":"n","var_filter":null},{"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}],"object_name":"Invoke-IcingaCheckTimeSync","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 \u0027Invoke-IcingaCheckTimeSync\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"value":"$IcingaCheckTimeSync_String_Server$","order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"IcingaCheckTimeSync_Switchparameter_IPV4":false}}},"Datafield":{"274":{"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":"274","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"184":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"184","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"121":{"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":"121","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"31":{"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":"31","varname":"IcingaCheckDirectory_String_Path","format":null},"117":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"117","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"59":{"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":"59","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"200":{"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":"200","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"5":{"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":"5","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"53":{"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":"53","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"47":{"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":"47","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"100":{"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":"100","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"183":{"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":"183","varname":"IcingaCheckNLA_Array_NICs","format":null},"78":{"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":"78","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"210":{"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":"210","varname":"IcingaCheckService_Array_Service","format":null},"169":{"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":"169","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"170":{"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":"170","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"89":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should stop considering event logs.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nBy using \"2h\" for example, log files of the last 2 hours will be ignored. Please ensure to manually set the `-After` argument and ensure you go back\nfurther in time with the `-After` argument than the `-Before` argument.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"89","varname":"IcingaCheckEventlog_Object_Before","format":null},"108":{"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":"108","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null},"284":{"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":"284","varname":"IcingaCheckUsers_Object_Warning","format":null},"233":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"233","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"266":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"266","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"196":{"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":"196","varname":"IcingaCheckProcessCount_Int32_Verbosity","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"235","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"39":{"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":"39","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"110":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"110","varname":"IcingaCheckHTTPStatus_String_ProxyServer","format":null},"51":{"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":"51","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"277":{"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":"277","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"191":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"191","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"224":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"224","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null},"144":{"settings":{"visibility":"visible"},"description":"Specify the index of network adapters you want to include for checks. Example 4, 3","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"144","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"13":{"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":"13","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"23":{"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":"23","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"189":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"189","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"72":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"72","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"158":{"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":"158","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"45":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"45","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"14":{"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":"14","varname":"IcingaCheckCertificate_Array_CertName","format":null},"103":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"103","varname":"IcingaCheckHTTPStatus_String_VHost","format":null},"87":{"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":"87","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"49":{"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":"49","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"252":{"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":"252","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"116":{"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":"116","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"81":{"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":"81","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"125":{"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":"125","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"226":{"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":"226","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null},"281":{"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":"281","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"258":{"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":"258","varname":"IcingaCheckUNCPath_Object_WarningTotal","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"268","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"113":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"113","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"3":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"75":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"75","varname":"IcingaCheckEventlog_Object_Warning","format":null},"153":{"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":"153","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"156":{"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":"156","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"94":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"94","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"101":{"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":"101","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"85":{"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":"85","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"146":{"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":"146","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"114":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"114","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"21":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckCheckSum_String_Hash","format":null},"251":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"251","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"24":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"239":{"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":"239","varname":"IcingaCheckTCP_Object_Warning","format":null},"265":{"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":"265","varname":"IcingaCheckUpdates_Object_Critical","format":null},"52":{"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":"52","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"163":{"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":"163","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"213":{"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":"213","varname":"IcingaCheckService_Int32_Verbosity","format":null},"43":{"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":"43","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"145":{"settings":{"visibility":"visible"},"description":"Specify the index of network adapters you want to exclude for checks. Example 4, 3","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"145","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"209":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"209","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"154":{"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":"154","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"173":{"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":"173","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"168":{"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":"168","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"237":{"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":"237","varname":"IcingaCheckTCP_Array_Ports","format":null},"32":{"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":"32","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"20":{"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":"20","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"287":{"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":"287","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"73":{"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":"73","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"253":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"253","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"221":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"221","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"133":{"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":"133","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null},"8":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"8","varname":"IcingaCheckCertificate_String_CertStore","format":null},"29":{"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":"29","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"225":{"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":"225","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"241":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"241","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","format":null},"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null},"62":{"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":"62","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"33":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"33","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"175":{"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":"175","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"205":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"205","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","format":null},"193":{"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":"193","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"84":{"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":"84","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"107":{"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":"107","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"240":{"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":"240","varname":"IcingaCheckTCP_Object_Critical","format":null},"58":{"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":"58","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"257":{"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":"257","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"139":{"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":"139","varname":"IcingaCheckMPIO_Object_Warning","format":null},"192":{"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":"192","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"112":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"112","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"48":{"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":"48","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"195":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"195","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"177":{"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":"177","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"260":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"260","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"190":{"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":"190","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null},"229":{"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":"229","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"42":{"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":"42","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"130":{"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":"130","varname":"IcingaCheckMemory_Object_Warning","format":null},"65":{"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":"65","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"215":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"215","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"157":{"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":"157","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"35":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. Follows the Icinga plugin threshold","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"35","varname":"IcingaCheckDirectory_Object_Warning","format":null},"172":{"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":"172","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"60":{"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":"60","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"279":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"279","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"152":{"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":"152","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"115":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"115","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"34":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. Follows the Icinga plugin threshold","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"34","varname":"IcingaCheckDirectory_Object_Critical","format":null},"132":{"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":"132","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"104":{"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":"104","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"162":{"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":"162","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"238":{"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":"238","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"214":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"214","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"28":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"28","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"197":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"197","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"76":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"76","varname":"IcingaCheckEventlog_Object_Critical","format":null},"166":{"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":"166","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"167":{"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":"167","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"155":{"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":"155","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"230":{"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":"230","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"50":{"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":"50","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"188":{"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":"188","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"106":{"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":"106","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"80":{"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":"80","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"19":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckCheckSum_String_Path","format":null},"264":{"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":"264","varname":"IcingaCheckUpdates_Object_Warning","format":null},"244":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"244","varname":"IcingaCheckTimeSync_String_Server","format":null},"10":{"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":"10","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"243":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"243","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"9":{"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":"9","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"134":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"134","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"261":{"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":"261","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"57":{"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":"57","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"249":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"249","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"219":{"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":"219","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"142":{"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":"142","varname":"IcingaCheckMPIO_Object_Verbosity","format":null},"201":{"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":"201","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","format":null},"64":{"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":"64","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"223":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"223","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"285":{"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":"285","varname":"IcingaCheckUsers_Object_Critical","format":null},"165":{"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":"165","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"12":{"settings":{"visibility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null},"119":{"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":"119","varname":"IcingaCheckICMP_Object_Critical","format":null},"99":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"99","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"273":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"273","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"129":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"129","varname":"IcingaCheckMemory_String_ThresholdInterval","format":null},"127":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"127","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"278":{"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":"278","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"93":{"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":"93","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"228":{"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":"228","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"199":{"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":"199","varname":"IcingaCheckScheduledTask_Array_State","format":null},"204":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"204","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"122":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"122","varname":"IcingaCheckICMP_String_Hostname","format":null},"66":{"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":"66","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"82":{"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":"82","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"211":{"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":"211","varname":"IcingaCheckService_Array_Exclude","format":null},"126":{"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":"126","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"185":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"185","varname":"IcingaCheckPerfCounter_Array_PerfCounter","format":null},"41":{"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":"41","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"217":{"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":"217","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"271":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"271","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"179":{"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":"179","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"37":{"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":"37","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"111":{"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":"111","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"123":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"123","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"91":{"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":"91","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"242":{"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":"242","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"181":{"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":"181","varname":"IcingaCheckNLA_String_Profile","format":null},"250":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"250","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"178":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"178","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"79":{"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":"79","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"194":{"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":"194","varname":"IcingaCheckProcessCount_Array_Process","format":null},"68":{"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":"68","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"216":{"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":"216","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"143":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"143","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"171":{"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":"171","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"255":{"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":"255","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"270":{"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":"270","varname":"IcingaCheckUptime_String_Critical","format":null},"267":{"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":"267","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"182":{"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":"182","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"92":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"92","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"118":{"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":"118","varname":"IcingaCheckICMP_Object_Warning","format":null},"254":{"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":"254","varname":"IcingaCheckUNCPath_String_Path","format":null},"18":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"90":{"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":"90","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"256":{"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":"256","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"161":{"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":"161","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"135":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"135","varname":"IcingaCheckMemory_Array_ExcludePageFile","format":null},"56":{"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":"56","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"150":{"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":"150","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"83":{"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":"83","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"141":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"141","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"275":{"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":"275","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"71":{"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":"71","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"282":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"282","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"286":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"286","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"164":{"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":"164","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"11":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name and Issuer.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"105":{"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":"105","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"16":{"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":"16","varname":"IcingaCheckCertificate_Switchparameter_IgnoreEmpty","format":null},"272":{"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":"272","varname":"IcingaCheckUptime_Int32_Verbosity","format":null},"77":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"77","varname":"IcingaCheckEventlog_String_LogName","format":null},"283":{"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":"283","varname":"IcingaCheckUsers_Array_Username","format":null},"263":{"settings":{"visibility":"visible"},"description":null,"caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"263","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"187":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"187","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"25":{"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":"25","varname":"IcingaCheckCPU_Object_Warning","format":null},"137":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"137","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"54":{"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":"54","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"208":{"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":"208","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"207":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"207","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"6":{"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":"6","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"67":{"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":"67","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"40":{"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":"40","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"149":{"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":"149","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"27":{"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":"27","varname":"IcingaCheckCPU_String_Core","format":null},"30":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"30","varname":"IcingaCheckDirectory_String_ThresholdInterval","format":null},"96":{"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":"96","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"232":{"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":"232","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"227":{"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":"227","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"248":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"248","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"128":{"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":"128","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"97":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"97","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"280":{"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":"280","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"246":{"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":"246","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"218":{"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":"218","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"222":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"222","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"180":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"180","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"4":{"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":"4","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"46":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"46","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"120":{"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":"120","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"74":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"74","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"212":{"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":"212","varname":"IcingaCheckService_String_Status","format":null},"147":{"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":"147","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"98":{"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":"98","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null},"70":{"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":"70","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"247":{"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":"247","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"174":{"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":"174","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"17":{"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":"17","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"69":{"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":"69","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"88":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should start to read event logs from.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"88","varname":"IcingaCheckEventlog_Object_After","format":null},"262":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"262","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"102":{"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":"102","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"269":{"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":"269","varname":"IcingaCheckUptime_String_Warning","format":null},"136":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"136","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"55":{"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":"55","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"131":{"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":"131","varname":"IcingaCheckMemory_Object_Critical","format":null},"22":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"44":{"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":"44","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"236":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"236","varname":"IcingaCheckTCP_String_Address","format":null},"202":{"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 value will be subtracted from the current 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":"202","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"109":{"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":"109","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"151":{"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":"151","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"231":{"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":"231","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"61":{"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":"61","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"198":{"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":"198","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"234":{"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":"234","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"176":{"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":"176","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"15":{"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":"15","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"140":{"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":"140","varname":"IcingaCheckMPIO_Object_Critical","format":null},"86":{"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":"86","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"276":{"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":"276","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"186":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"186","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"203":{"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 value will be subtracted from the current 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":"203","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","format":null},"26":{"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":"26","varname":"IcingaCheckCPU_Object_Critical","format":null},"138":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"138","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"36":{"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":"36","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"38":{"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":"38","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"245":{"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":"245","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"206":{"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":"206","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"160":{"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":"160","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"7":{"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":"7","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"259":{"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":"259","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"63":{"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":"63","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"124":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"124","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"148":{"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":"148","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"220":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"220","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"159":{"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":"159","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"95":{"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":"95","varname":"IcingaCheckFirewall_Array_Profile","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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool HealthStatusCritical":{"list_name":"IcingaCheckStoragePool HealthStatusCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool HealthStatusWarning":{"list_name":"IcingaCheckStoragePool HealthStatusWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Healthy","entry_name":"Healthy","format":"string"},{"allowed_roles":null,"entry_value":"Warning","entry_name":"Warning","format":"string"},{"allowed_roles":null,"entry_value":"Unhealthy","entry_name":"Unhealthy","format":"string"},{"allowed_roles":null,"entry_value":"Unknown","entry_name":"Unknown","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksCritical","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckCertificate CertStore":{"list_name":"IcingaCheckCertificate CertStore","originalId":"2","entries":[{"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning":{"list_name":"IcingaCheckStoragePool RetireMissingPhysicalDisksWarning","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"Auto","entry_name":"Auto","format":"string"},{"allowed_roles":null,"entry_value":"Always","entry_name":"Always","format":"string"},{"allowed_roles":null,"entry_value":"Never","entry_name":"Never","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"IcingaCheckStoragePool Verbosity":{"list_name":"IcingaCheckStoragePool Verbosity","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"0","entry_name":"0","format":"string"},{"allowed_roles":null,"entry_value":"1","entry_name":"1","format":"string"},{"allowed_roles":null,"entry_value":"2","entry_name":"2","format":"string"},{"allowed_roles":null,"entry_value":"3","entry_name":"3","format":"string"}],"owner":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"},"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":"stein"}},"Command":{"Invoke-IcingaCheckMPIO":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckMPIO","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 \u0027Invoke-IcingaCheckMPIO\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMPIO_Object_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckMPIO_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckMPIO_Object_Warning$","order":"2"},"-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}},"Invoke-IcingaCheckUsers":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckUsers","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 \u0027Invoke-IcingaCheckUsers\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUsers_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false}},"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-IgnoreEmpty":{"set_if":"$IcingaCheckCertificate_Switchparameter_IgnoreEmpty$","set_if_format":"string","order":"99"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-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 \u0027Invoke-IcingaCheckCertificate\u0027 ","order":"0"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckCertificate_String_ThresholdInterval$","order":"100"},"-CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Recurse":{"set_if":"$IcingaCheckCertificate_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-CertName":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_Recurse":false,"IcingaCheckCertificate_Switchparameter_Trusted":false,"IcingaCheckCertificate_Switchparameter_IgnoreEmpty":false}},"Invoke-IcingaCheckMemory":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckMemory","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 \u0027Invoke-IcingaCheckMemory\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"8"},"-ThresholdInterval":{"value":"$IcingaCheckMemory_String_ThresholdInterval$","order":"100"},"-PageFileCritical":{"value":"$IcingaCheckMemory_Object_PageFileCritical$","order":"5"},"-ExcludePageFile":{"value":{"body":"var arr = macro(\"$IcingaCheckMemory_Array_ExcludePageFile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckHTTPStatus":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckHTTPStatus","arguments":{"-StatusCode":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_StatusCode$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-ProxyUsername":{"value":"$IcingaCheckHTTPStatus_String_ProxyUsername$","order":"10"},"-Username":{"value":"$IcingaCheckHTTPStatus_String_Username$","order":"8"},"-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 \u0027Invoke-IcingaCheckHTTPStatus\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckHTTPStatus_String_ThresholdInterval$","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":{"value":"$IcingaCheckHTTPStatus_String_ProxyServer$","order":"12"},"-ProxyPassword":{"value":"(ConvertTo-IcingaSecureString \u0027$IcingaCheckHTTPStatus_Securestring_ProxyPassword$\u0027)","order":"11"},"-Minimum":{"value":"$IcingaCheckHTTPStatus_Int32_Minimum$","order":"15"},"-VHost":{"value":"$IcingaCheckHTTPStatus_String_VHost$","order":"5"},"-Critical":{"value":"$IcingaCheckHTTPStatus_Object_Critical$","order":"3"},"-Headers":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Headers$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Timeout":{"value":"$IcingaCheckHTTPStatus_Int32_Timeout$","order":"7"},"-Url":{"value":{"body":"var arr = macro(\"$IcingaCheckHTTPStatus_Array_Url$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckHTTPStatus_Switchparameter_NoPerfData":false,"IcingaCheckHTTPStatus_Switchparameter_Negate":false}},"Invoke-IcingaCheckNLA":{"fields":[{"datafield_id":182,"is_required":"n","var_filter":null},{"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}],"object_name":"Invoke-IcingaCheckNLA","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 \u0027Invoke-IcingaCheckNLA\u0027 ","order":"0"},"-Profile":{"value":"$IcingaCheckNLA_String_Profile$","order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckNLA_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":4,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","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 \u0027Invoke-IcingaCheckBiosSerial\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}},"Invoke-IcingaCheckEventlog":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckEventlog","arguments":{"-Before":{"value":"$IcingaCheckEventlog_Object_Before$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckEventlog_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-IncludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"15"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-LogName":{"value":"$IcingaCheckEventlog_String_LogName$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckEventlog\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckEventlog_String_ThresholdInterval$","order":"100"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"14"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"9"},"-MaxEntries":{"value":"$IcingaCheckEventlog_Int32_MaxEntries$","order":"17"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"18"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"6"},"-Critical":{"value":"$IcingaCheckEventlog_Object_Critical$","order":"3"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_NoPerfData":false,"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false}},"Invoke-IcingaCheckDiskHealth":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"14"},"-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 \u0027Invoke-IcingaCheckDiskHealth\u0027 ","order":"0"},"-DiskWriteByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$","order":"16"},"-NoPerfData":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ExcludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckDiskHealth_String_ThresholdInterval$","order":"100"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"12"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-DiskQueueAvgLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$","order":"13"},"-DiskQueueLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$","order":"10"},"-IncludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"21"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"9"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-DiskAvgReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$","order":"20"},"-DiskWriteByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$","order":"17"},"-DiskAvgTransSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$","order":"18"},"-DiskAvgWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$","order":"22"},"-Verbosity":{"value":"$IcingaCheckDiskHealth_Int32_Verbosity$","order":"24"},"-DiskReadSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecWarning$","order":"6"},"-ExcludePartition":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_ExcludePartition$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-DiskReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadSecCritical$","order":"7"},"-CheckLogicalOnly":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$","set_if_format":"string","order":"99"},"-DiskReadByteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$","order":"15"},"-DiskAvgWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$","order":"23"},"-IgnoreOfflineDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$","set_if_format":"string","order":"99"},"-DiskWriteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$","order":"8"},"-DiskQueueLenCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$","order":"11"},"-DiskAvgTransSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$","order":"19"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks":false,"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks":false,"IcingaCheckDiskHealth_Switchparameter_NoPerfData":false,"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly":false}},"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":{"-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 \u0027Invoke-IcingaCheckCheckSum\u0027 ","order":"0"},"-Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckCheckSum_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Hash":{"value":"$IcingaCheckCheckSum_String_Hash$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Path":{"value":"$IcingaCheckCheckSum_String_Path$","order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckScheduledTask":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-WarningNextRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningNextRunTime$","order":"8"},"-CriticalNextRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalNextRunTime$","order":"9"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-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 \u0027Invoke-IcingaCheckScheduledTask\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckScheduledTask_String_ThresholdInterval$","order":"100"},"-WarningMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_WarningMissedRuns$","order":"4"},"-IgnoreLastRunTime":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime$","set_if_format":"string","order":"99"},"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-CriticalLastRunTime":{"value":"$IcingaCheckScheduledTask_String_CriticalLastRunTime$","order":"7"},"-CriticalMissedRuns":{"value":"$IcingaCheckScheduledTask_Object_CriticalMissedRuns$","order":"5"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"10"},"-WarningLastRunTime":{"value":"$IcingaCheckScheduledTask_String_WarningLastRunTime$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_NoPerfData":false,"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime":false}},"Invoke-IcingaCheckFirewall":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckFirewall","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 \u0027Invoke-IcingaCheckFirewall\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-ThresholdInterval":{"value":"$IcingaCheckFirewall_String_ThresholdInterval$","order":"100"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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":{"IcingaCheckFirewall_Switchparameter_Enabled":false,"IcingaCheckFirewall_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"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},{"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},{"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},{"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}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-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 \u0027Invoke-IcingaCheckNetworkInterface\u0027 ","order":"0"},"-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":{"value":"$IcingaCheckNetworkInterface_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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}},"Invoke-IcingaCheckICMP":{"fields":[{"datafield_id":119,"is_required":"n","var_filter":null},{"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}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"value":"$IcingaCheckICMP_String_Hostname$","order":"6"},"-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 \u0027Invoke-IcingaCheckICMP\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckICMP_String_ThresholdInterval$","order":"100"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"Invoke-IcingaCheckDirectory":{"fields":[{"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},{"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}],"object_name":"Invoke-IcingaCheckDirectory","arguments":{"-Path":{"value":"$IcingaCheckDirectory_String_Path$","order":"2"},"-Verbosity":{"value":"$IcingaCheckDirectory_Int32_Verbosity$","order":"14"},"-CreationOlderThan":{"value":"$IcingaCheckDirectory_String_CreationOlderThan$","order":"10"},"-FileSizeGreaterThan":{"value":"$IcingaCheckDirectory_String_FileSizeGreaterThan$","order":"12"},"-NoPerfData":{"set_if":"$IcingaCheckDirectory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$","order":"8"},"-ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$","order":"7"},"-FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$","order":"13"},"-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 \u0027Invoke-IcingaCheckDirectory\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckDirectory_String_ThresholdInterval$","order":"100"},"-CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$","order":"9"},"-ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$","order":"6"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Critical":{"value":"$IcingaCheckDirectory_Object_Critical$","order":"4"},"-CreationYoungerThan":{"value":"$IcingaCheckDirectory_String_CreationYoungerThan$","order":"11"},"-Recurse":{"set_if":"$IcingaCheckDirectory_Switchparameter_Recurse$","set_if_format":"string","order":"99"},"-Warning":{"value":"$IcingaCheckDirectory_Object_Warning$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckDirectory_Switchparameter_NoPerfData":false,"IcingaCheckDirectory_Switchparameter_Recurse":false}},"Invoke-IcingaCheckUNCPath":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUNCPath","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 \u0027Invoke-IcingaCheckUNCPath\u0027 ","order":"0"},"-Path":{"value":"$IcingaCheckUNCPath_String_Path$","order":"2"},"-ThresholdInterval":{"value":"$IcingaCheckUNCPath_String_ThresholdInterval$","order":"100"},"-Verbosity":{"value":"$IcingaCheckUNCPath_Object_Verbosity$","order":"8"},"-CriticalTotal":{"value":"$IcingaCheckUNCPath_Object_CriticalTotal$","order":"7"},"-WarningTotal":{"value":"$IcingaCheckUNCPath_Object_WarningTotal$","order":"6"},"-Warning":{"value":"$IcingaCheckUNCPath_Object_Warning$","order":"4"},"-Critical":{"value":"$IcingaCheckUNCPath_Object_Critical$","order":"5"},"-NoPerfData":{"set_if":"$IcingaCheckUNCPath_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-DisplayAlias":{"value":"$IcingaCheckUNCPath_String_DisplayAlias$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUNCPath_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckPerfCounter":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPerfCounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfCounter_Array_PerfCounter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfCounter_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckPerfCounter_Object_Warning$","order":"3"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckPerfCounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfCounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckPerfCounter_String_ThresholdInterval$","order":"100"},"-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 \u0027Invoke-IcingaCheckPerfCounter\u0027 ","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckPerfCounter_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUsedPartitionSpace":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","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 \u0027Invoke-IcingaCheckUsedPartitionSpace\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckUsedPartitionSpace_String_ThresholdInterval$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"5"},"-SkipUnknown":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown":false,"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks":false,"IcingaCheckUsedPartitionSpace_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":{"-ExecutionPolicy":{"value":"$IcingaPowerShellBase_String_ExecutionPolicy$","order":"-1"},"-NoProfile":{"set_if":true,"order":"-3"},"-NoLogo":{"set_if":true,"order":"-2"}},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckService":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckService","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 \u0027Invoke-IcingaCheckService\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckService_String_ThresholdInterval$","order":"100"},"-Status":{"value":"$IcingaCheckService_String_Status$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":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}],"object_name":"Invoke-IcingaCheckCPU","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 \u0027Invoke-IcingaCheckCPU\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckCPU_String_ThresholdInterval$","order":"100"},"-Core":{"value":"$IcingaCheckCPU_String_Core$","order":"4"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckCPU_Object_Critical$","order":"3"},"-NoPerfData":{"set_if":"$IcingaCheckCPU_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCPU_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckTCP":{"fields":[{"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},{"datafield_id":244,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckTCP","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 \u0027Invoke-IcingaCheckTCP\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTCP_Object_Verbosity$","order":"6"},"-ThresholdInterval":{"value":"$IcingaCheckTCP_String_ThresholdInterval$","order":"100"},"-Address":{"value":"$IcingaCheckTCP_String_Address$","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 if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-Warning":{"value":"$IcingaCheckTCP_Object_Warning$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTCP_Switchparameter_Negate":false,"IcingaCheckTCP_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUptime":{"fields":[{"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},{"datafield_id":274,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUptime","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 \u0027Invoke-IcingaCheckUptime\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"},"-ThresholdInterval":{"value":"$IcingaCheckUptime_String_ThresholdInterval$","order":"100"},"-Warning":{"value":"$IcingaCheckUptime_String_Warning$","order":"2"},"-Critical":{"value":"$IcingaCheckUptime_String_Critical$","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}},"Invoke-IcingaCheckStoragePool":{"fields":[{"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},{"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},{"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},{"datafield_id":235,"is_required":"n","var_filter":null},{"datafield_id":236,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckStoragePool","arguments":{"-RetireMissingPhysicalDisksCritical":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical$","order":"17"},"-IsReadOnlyCritical":{"value":"$IcingaCheckStoragePool_Object_IsReadOnlyCritical$","order":"8"},"-Verbosity":{"value":"$IcingaCheckStoragePool_Object_Verbosity$","order":"18"},"-IsPowerProtectedCritical":{"value":"$IcingaCheckStoragePool_Object_IsPowerProtectedCritical$","order":"13"},"-HealthStatusWarning":{"value":"$IcingaCheckStoragePool_Object_HealthStatusWarning$","order":"14"},"-NoPerfData":{"set_if":"$IcingaCheckStoragePool_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-FreeSpaceWarning":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceWarning$","order":"4"},"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \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 \u0027Invoke-IcingaCheckStoragePool\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckStoragePool_String_ThresholdInterval$","order":"100"},"-FreeSpaceCritical":{"value":"$IcingaCheckStoragePool_Object_FreeSpaceCritical$","order":"5"},"-IncludePrimordial":{"set_if":"$IcingaCheckStoragePool_Switchparameter_IncludePrimordial$","set_if_format":"string","order":"99"},"-IncludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_IncludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-ExcludeStoragePool":{"value":{"body":"var arr = macro(\"$IcingaCheckStoragePool_Array_ExcludeStoragePool$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"3"},"-CapacityWarning":{"value":"$IcingaCheckStoragePool_Object_CapacityWarning$","order":"9"},"-TotalUsedCritical":{"value":"$IcingaCheckStoragePool_Object_TotalUsedCritical$","order":"7"},"-CapacityCritical":{"value":"$IcingaCheckStoragePool_Object_CapacityCritical$","order":"10"},"-SupportsDeduplicationCritical":{"value":"$IcingaCheckStoragePool_Object_SupportsDeduplicationCritical$","order":"12"},"-HealthStatusCritical":{"value":"$IcingaCheckStoragePool_Object_HealthStatusCritical$","order":"15"},"-ClearOnDeallocateCritical":{"value":"$IcingaCheckStoragePool_Object_ClearOnDeallocateCritical$","order":"11"},"-RetireMissingPhysicalDisksWarning":{"value":"$IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning$","order":"16"},"-TotalUsedWarning":{"value":"$IcingaCheckStoragePool_Object_TotalUsedWarning$","order":"6"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckStoragePool_Switchparameter_IncludePrimordial":false,"IcingaCheckStoragePool_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUpdates":{"fields":[{"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},{"datafield_id":268,"is_required":"n","var_filter":null},{"datafield_id":269,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUpdates","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 \u0027Invoke-IcingaCheckUpdates\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckUpdates_String_ThresholdInterval$","order":"100"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"2"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckUpdates_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckUpdates_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUpdates_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckProcessCount":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckProcessCount","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 \u0027Invoke-IcingaCheckProcessCount\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-ThresholdInterval":{"value":"$IcingaCheckProcessCount_String_ThresholdInterval$","order":"100"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\n if (len(arr) == 0) {\r\n return \"@()\";\r\n }\r\n return arr.map(\r\n x =\u003e if (typeof(x) == String) {\r\n var argLen = len(x);\r\n if (argLen != 0 \u0026\u0026 x.substr(0,1) == \"\u0027\" \u0026\u0026 x.substr(argLen - 1, argLen) == \"\u0027\") {\r\n x;\r\n } else {\r\n \"\u0027\" + x + \"\u0027\";\r\n }\r\n } else {\r\n x;\r\n }\r\n ).join(\",\");","type":"Function"},"order":"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":{"IcingaCheckProcessCount_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckTimeSync":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckTimeSync","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 \u0027Invoke-IcingaCheckTimeSync\u0027 ","order":"0"},"-Verbosity":{"value":"$IcingaCheckTimeSync_Int32_Verbosity$","order":"8"},"-Warning":{"value":"$IcingaCheckTimeSync_Object_Warning$","order":"4"},"-Timeout":{"value":"$IcingaCheckTimeSync_Int32_Timeout$","order":"6"},"-Port":{"value":"$IcingaCheckTimeSync_Int32_Port$","order":"7"},"-NoPerfData":{"set_if":"$IcingaCheckTimeSync_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckTimeSync_Object_Critical$","order":"5"},"-Server":{"value":"$IcingaCheckTimeSync_String_Server$","order":"2"},"-TimeOffset":{"value":"$IcingaCheckTimeSync_Object_TimeOffset$","order":"3"},"-IPV4":{"set_if":"$IcingaCheckTimeSync_Switchparameter_IPV4$","set_if_format":"string","order":"99"},"-ThresholdInterval":{"value":"$IcingaCheckTimeSync_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"IcingaCheckTimeSync_Switchparameter_IPV4":false}}},"Datafield":{"274":{"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":"274","varname":"IcingaCheckUptime_Int32_Verbosity","format":null},"184":{"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":"184","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"121":{"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":"121","varname":"IcingaCheckICMP_Object_Critical","format":null},"31":{"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":"31","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"117":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"117","varname":"IcingaCheckHTTPStatus_Switchparameter_NoPerfData","format":null},"59":{"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":"59","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"200":{"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":"200","varname":"IcingaCheckScheduledTask_Array_TaskName","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckCertificate_String_ThresholdInterval","format":null},"53":{"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":"53","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"47":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"47","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"100":{"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":"100","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null},"183":{"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":"183","varname":"IcingaCheckNLA_String_Profile","format":null},"78":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"78","varname":"IcingaCheckEventlog_Object_Critical","format":null},"210":{"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":"210","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"169":{"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":"169","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"170":{"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":"170","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"89":{"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":"89","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"108":{"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":"108","varname":"IcingaCheckHTTPStatus_String_Username","format":null},"284":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"284","varname":"IcingaCheckUsers_String_ThresholdInterval","format":null},"233":{"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":"233","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksCritical","format":null},"266":{"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":"266","varname":"IcingaCheckUpdates_Object_Warning","format":null},"196":{"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":"196","varname":"IcingaCheckProcessCount_Array_Process","format":null},"235":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"235","varname":"IcingaCheckStoragePool_Switchparameter_NoPerfData","format":null},"39":{"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":"39","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"110":{"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":"110","varname":"IcingaCheckHTTPStatus_String_ProxyUsername","format":null},"51":{"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":"51","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"277":{"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":"277","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"191":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"191","varname":"IcingaCheckPerfCounter_Switchparameter_NoPerfData","format":null},"224":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool IsReadOnly Attr.","caption":"IsReadOnlyCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"224","varname":"IcingaCheckStoragePool_Object_IsReadOnlyCritical","format":null},"144":{"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":"144","varname":"IcingaCheckMPIO_Object_Verbosity","format":null},"13":{"settings":{"visibility":"visible"},"description":"Used to specify an array of exclusions, tested against Subject, Subject Alternative Name and Issuer.","caption":"ExcludePattern","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"13","varname":"IcingaCheckCertificate_Array_ExcludePattern","format":null},"23":{"settings":{"visibility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckCheckSum_String_Hash","format":null},"189":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"189","varname":"IcingaCheckPerfCounter_Object_Critical","format":null},"158":{"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":"158","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"45":{"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":"45","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","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},"103":{"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":"103","varname":"IcingaCheckHTTPStatus_Object_Critical","format":null},"87":{"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":"87","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"49":{"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":"49","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"252":{"settings":{"visibility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"252","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"116":{"settings":{"visibility":"visible"},"description":"A switch used to invert check results.","caption":"Negate","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"116","varname":"IcingaCheckHTTPStatus_Switchparameter_Negate","format":null},"68":{"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":"68","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"81":{"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":"81","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"125":{"settings":{"visibility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"125","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"226":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold for the StoragePool Capacity.","caption":"CapacityCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"226","varname":"IcingaCheckStoragePool_Object_CapacityCritical","format":null},"281":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"281","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"258":{"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":"258","varname":"IcingaCheckUNCPath_Object_Warning","format":null},"268":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"268","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"113":{"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":"113","varname":"IcingaCheckHTTPStatus_Array_Content","format":null},"223":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Critical threshold in GB.","caption":"TotalUsedCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"223","varname":"IcingaCheckStoragePool_Object_TotalUsedCritical","format":null},"75":{"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":"75","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"153":{"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":"153","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"156":{"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":"156","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"94":{"settings":{"visibility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"94","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"101":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"101","varname":"IcingaCheckHTTPStatus_String_ThresholdInterval","format":null},"85":{"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":"85","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"146":{"settings":{"visibility":"visible"},"description":"Specify the index of network adapters you want to include for checks. Example 4, 3","caption":"IncludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"146","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"114":{"settings":{"visibility":"visible"},"description":null,"caption":"StatusCode","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"114","varname":"IcingaCheckHTTPStatus_Array_StatusCode","format":null},"21":{"settings":{"visibility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckCheckSum_String_Path","format":null},"251":{"settings":{"visibility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"251","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"24":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"24","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"239":{"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":"239","varname":"IcingaCheckTCP_Array_Ports","format":null},"265":{"settings":{"visibility":"visible"},"description":null,"caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"265","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"52":{"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":"52","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"163":{"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":"163","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"213":{"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":"213","varname":"IcingaCheckService_Array_Exclude","format":null},"43":{"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":"43","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"145":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"145","varname":"IcingaCheckNetworkInterface_String_ThresholdInterval","format":null},"209":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"209","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"154":{"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":"154","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"289":{"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":"289","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"173":{"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":"173","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"168":{"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":"168","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"237":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"237","varname":"IcingaCheckTCP_String_ThresholdInterval","format":null},"32":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"32","varname":"IcingaCheckDirectory_String_ThresholdInterval","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckCheckSum_String_ThresholdInterval","format":null},"287":{"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":"287","varname":"IcingaCheckUsers_Object_Critical","format":null},"73":{"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":"73","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"253":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"253","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"221":{"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":"221","varname":"IcingaCheckStoragePool_Object_FreeSpaceCritical","format":null},"133":{"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":"133","varname":"IcingaCheckMemory_Object_Critical","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},"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},"225":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold for the StoragePool Capacity.","caption":"CapacityWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"225","varname":"IcingaCheckStoragePool_Object_CapacityWarning","format":null},"241":{"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":"241","varname":"IcingaCheckTCP_Object_Warning","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},"62":{"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":"62","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"33":{"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":"33","varname":"IcingaCheckDirectory_String_Path","format":null},"175":{"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":"175","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"205":{"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 value will be subtracted from the current 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":"205","varname":"IcingaCheckScheduledTask_String_CriticalLastRunTime","format":null},"193":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"193","varname":"IcingaCheckProcessCount_String_ThresholdInterval","format":null},"84":{"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":"84","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"107":{"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":"107","varname":"IcingaCheckHTTPStatus_Int32_Timeout","format":null},"240":{"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":"240","varname":"IcingaCheckTCP_Switchparameter_Negate","format":null},"58":{"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":"58","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"257":{"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":"257","varname":"IcingaCheckUNCPath_String_DisplayAlias","format":null},"139":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"139","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"192":{"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":"192","varname":"IcingaCheckPerfCounter_Int32_Verbosity","format":null},"112":{"settings":{"visibility":"visible"},"description":"Used to specify a proxy server as string to authenticate with.","caption":"ProxyServer","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"112","varname":"IcingaCheckHTTPStatus_String_ProxyServer","format":null},"48":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"48","varname":"IcingaCheckDiskHealth_String_ThresholdInterval","format":null},"195":{"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":"195","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"177":{"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":"177","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"260":{"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":"260","varname":"IcingaCheckUNCPath_Object_WarningTotal","format":null},"190":{"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":"190","varname":"IcingaCheckPerfCounter_Switchparameter_IgnoreEmptyChecks","format":null},"229":{"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":"229","varname":"IcingaCheckStoragePool_Object_IsPowerProtectedCritical","format":null},"42":{"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":"42","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"130":{"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":"130","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"65":{"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":"65","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"215":{"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":"215","varname":"IcingaCheckService_Int32_Verbosity","format":null},"157":{"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":"157","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"35":{"settings":{"visibility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"35","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"172":{"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":"172","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"60":{"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":"60","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"279":{"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":"279","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"152":{"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":"152","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"115":{"settings":{"visibility":"visible"},"description":null,"caption":"Minimum","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"115","varname":"IcingaCheckHTTPStatus_Int32_Minimum","format":null},"34":{"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":"34","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"132":{"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":"132","varname":"IcingaCheckMemory_Object_Warning","format":null},"104":{"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":"104","varname":"IcingaCheckHTTPStatus_Array_Url","format":null},"162":{"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":"162","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"238":{"settings":{"visibility":"visible"},"description":"The IP address or FQDN of the target host","caption":"Address","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"238","varname":"IcingaCheckTCP_String_Address","format":null},"214":{"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":"214","varname":"IcingaCheckService_String_Status","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},"197":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"197","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"76":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"76","varname":"IcingaCheckEventlog_String_ThresholdInterval","format":null},"166":{"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":"166","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"167":{"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":"167","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"155":{"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":"155","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"230":{"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":"230","varname":"IcingaCheckStoragePool_Object_HealthStatusWarning","format":null},"50":{"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":"50","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"188":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"188","varname":"IcingaCheckPerfCounter_Object_Warning","format":null},"106":{"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":"106","varname":"IcingaCheckHTTPStatus_Array_Headers","format":null},"80":{"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":"80","varname":"IcingaCheckEventlog_Array_IncludeEventId","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},"264":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"264","varname":"IcingaCheckUpdates_String_ThresholdInterval","format":null},"244":{"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":"244","varname":"IcingaCheckTCP_Object_Verbosity","format":null},"10":{"settings":{"datalist":"IcingaCheckCertificate CertStore","behavior":"strict","data_type":"string"},"description":"Used to specify which CertStore to check. Valid choices are \u0027*\u0027, \u0027LocalMachine\u0027, \u0027CurrentUser\u0027","caption":"CertStore","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"10","varname":"IcingaCheckCertificate_String_CertStore","format":null},"243":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"243","varname":"IcingaCheckTCP_Switchparameter_NoPerfData","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},"134":{"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":"134","varname":"IcingaCheckMemory_Object_PageFileWarning","format":null},"261":{"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":"261","varname":"IcingaCheckUNCPath_Object_CriticalTotal","format":null},"57":{"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":"57","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"249":{"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":"249","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"219":{"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":"219","varname":"IcingaCheckStoragePool_Array_ExcludeStoragePool","format":null},"142":{"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":"142","varname":"IcingaCheckMPIO_Object_Critical","format":null},"201":{"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":"201","varname":"IcingaCheckScheduledTask_Array_State","format":null},"64":{"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":"64","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"285":{"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":"285","varname":"IcingaCheckUsers_Array_Username","format":null},"165":{"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":"165","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","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},"119":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"119","varname":"IcingaCheckICMP_String_ThresholdInterval","format":null},"99":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"99","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"273":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"273","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"129":{"settings":{"visibility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"129","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"127":{"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":"127","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"278":{"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":"278","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"93":{"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":"93","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"228":{"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":"228","varname":"IcingaCheckStoragePool_Object_SupportsDeduplicationCritical","format":null},"199":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"199","varname":"IcingaCheckScheduledTask_String_ThresholdInterval","format":null},"204":{"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 value will be subtracted from the current 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":"204","varname":"IcingaCheckScheduledTask_String_WarningLastRunTime","format":null},"122":{"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":"122","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"66":{"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":"66","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"82":{"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":"82","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"211":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"211","varname":"IcingaCheckService_String_ThresholdInterval","format":null},"126":{"settings":{"visibility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"126","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"185":{"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":"185","varname":"IcingaCheckNLA_Array_NICs","format":null},"41":{"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":"41","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"217":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"217","varname":"IcingaCheckStoragePool_String_ThresholdInterval","format":null},"271":{"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":"271","varname":"IcingaCheckUptime_String_Warning","format":null},"179":{"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":"179","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"37":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold. Follows the Icinga plugin threshold","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"37","varname":"IcingaCheckDirectory_Object_Warning","format":null},"111":{"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":"111","varname":"IcingaCheckHTTPStatus_Securestring_ProxyPassword","format":null},"123":{"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":"123","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"91":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should stop considering event logs.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nBy using \"2h\" for example, log files of the last 2 hours will be ignored. Please ensure to manually set the `-After` argument and ensure you go back\nfurther in time with the `-After` argument than the `-Before` argument.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"91","varname":"IcingaCheckEventlog_Object_Before","format":null},"242":{"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":"242","varname":"IcingaCheckTCP_Object_Critical","format":null},"181":{"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":"181","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"250":{"settings":{"visibility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"250","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"178":{"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":"178","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"79":{"settings":{"visibility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"79","varname":"IcingaCheckEventlog_String_LogName","format":null},"194":{"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":"194","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"72":{"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":"72","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"216":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"216","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"143":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"143","varname":"IcingaCheckMPIO_Switchparameter_NoPerfData","format":null},"171":{"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":"171","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"255":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"255","varname":"IcingaCheckUNCPath_String_ThresholdInterval","format":null},"270":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"270","varname":"IcingaCheckUptime_String_ThresholdInterval","format":null},"267":{"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":"267","varname":"IcingaCheckUpdates_Object_Critical","format":null},"182":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"182","varname":"IcingaCheckNLA_String_ThresholdInterval","format":null},"92":{"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":"92","varname":"IcingaCheckEventlog_Int32_MaxEntries","format":null},"118":{"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":"118","varname":"IcingaCheckHTTPStatus_Int32_Verbosity","format":null},"254":{"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":"254","varname":"IcingaCheckTimeSync_Int32_Verbosity","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},"90":{"settings":{"visibility":"visible"},"description":"Used to specify time data of which point the plugin should start to read event logs from.\nYou can either use a fixed date and time like \"2021/01/30 12:00:00\", a fixed day \"2021/01/30\" or use more dynamic approaches like \"1d\", \"10h\" and so on.\n\nAllowed units: ms, s, m, h, d, w, M, y","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"90","varname":"IcingaCheckEventlog_Object_After","format":null},"256":{"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":"256","varname":"IcingaCheckUNCPath_String_Path","format":null},"161":{"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":"161","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"135":{"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":"135","varname":"IcingaCheckMemory_Object_PageFileCritical","format":null},"56":{"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":"56","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"150":{"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":"150","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"83":{"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":"83","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"141":{"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":"141","varname":"IcingaCheckMPIO_Object_Warning","format":null},"275":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"275","varname":"IcingaCheckUsedPartitionSpace_String_ThresholdInterval","format":null},"71":{"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":"71","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"282":{"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":"282","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"286":{"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":"286","varname":"IcingaCheckUsers_Object_Warning","format":null},"164":{"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":"164","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","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},"105":{"settings":{"visibility":"visible"},"description":"Used to specify a VHost as string.","caption":"VHost","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"105","varname":"IcingaCheckHTTPStatus_String_VHost","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},"272":{"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":"272","varname":"IcingaCheckUptime_String_Critical","format":null},"77":{"settings":{"visibility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"77","varname":"IcingaCheckEventlog_Object_Warning","format":null},"283":{"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":"283","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"263":{"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":"263","varname":"IcingaCheckUNCPath_Object_Verbosity","format":null},"187":{"settings":{"visibility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"187","varname":"IcingaCheckPerfCounter_Array_PerfCounter","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},"137":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being excluded for the check","caption":"ExcludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"137","varname":"IcingaCheckMemory_Array_ExcludePageFile","format":null},"54":{"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":"54","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"208":{"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":"208","varname":"IcingaCheckScheduledTask_Switchparameter_IgnoreLastRunTime","format":null},"207":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"CriticalNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"207","varname":"IcingaCheckScheduledTask_String_CriticalNextRunTime","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},"67":{"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":"67","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"40":{"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":"40","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"288":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"288","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"149":{"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":"149","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","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},"30":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"30","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"96":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"96","varname":"IcingaCheckFirewall_String_ThresholdInterval","format":null},"232":{"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":"232","varname":"IcingaCheckStoragePool_Object_RetireMissingPhysicalDisksWarning","format":null},"227":{"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":"227","varname":"IcingaCheckStoragePool_Object_ClearOnDeallocateCritical","format":null},"248":{"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":"248","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"128":{"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":"128","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"97":{"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":"97","varname":"IcingaCheckFirewall_Array_Profile","format":null},"280":{"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":"280","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"246":{"settings":{"visibility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"246","varname":"IcingaCheckTimeSync_String_Server","format":null},"218":{"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":"218","varname":"IcingaCheckStoragePool_Array_IncludeStoragePool","format":null},"222":{"settings":{"visibility":"visible"},"description":"Used to specify TotalUsed Warning threshold in GB.","caption":"TotalUsedWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"222","varname":"IcingaCheckStoragePool_Object_TotalUsedWarning","format":null},"180":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"180","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null},"46":{"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":"46","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"120":{"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":"120","varname":"IcingaCheckICMP_Object_Warning","format":null},"74":{"settings":{"visibility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"74","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"212":{"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":"212","varname":"IcingaCheckService_Array_Service","format":null},"147":{"settings":{"visibility":"visible"},"description":"Specify the index of network adapters you want to exclude for checks. Example 4, 3","caption":"ExcludeNetworkDevice","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"147","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"98":{"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":"98","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"70":{"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":"70","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"247":{"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":"247","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"174":{"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":"174","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","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},"69":{"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":"69","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"88":{"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":"88","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"262":{"settings":{"visibility":"visible"},"description":"Disables the performance data output of this plugin. Default to FALSE.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"262","varname":"IcingaCheckUNCPath_Switchparameter_NoPerfData","format":null},"102":{"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":"102","varname":"IcingaCheckHTTPStatus_Object_Warning","format":null},"269":{"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":"269","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"136":{"settings":{"visibility":"visible"},"description":"Allows to filter for page files being included for the check","caption":"IncludePageFile","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"136","varname":"IcingaCheckMemory_Array_IncludePageFile","format":null},"55":{"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":"55","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"131":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"131","varname":"IcingaCheckMemory_String_ThresholdInterval","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},"44":{"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":"44","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"236":{"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":"236","varname":"IcingaCheckStoragePool_Object_Verbosity","format":null},"202":{"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":"202","varname":"IcingaCheckScheduledTask_Object_WarningMissedRuns","format":null},"109":{"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":"109","varname":"IcingaCheckHTTPStatus_Securestring_Password","format":null},"151":{"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":"151","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"231":{"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":"231","varname":"IcingaCheckStoragePool_Object_HealthStatusCritical","format":null},"61":{"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":"61","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"198":{"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":"198","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"234":{"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":"234","varname":"IcingaCheckStoragePool_Switchparameter_IncludePrimordial","format":null},"176":{"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":"176","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","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},"140":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"140","varname":"IcingaCheckMPIO_String_ThresholdInterval","format":null},"86":{"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":"86","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"276":{"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":"276","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"186":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"186","varname":"IcingaCheckPerfCounter_String_ThresholdInterval","format":null},"203":{"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":"203","varname":"IcingaCheckScheduledTask_Object_CriticalMissedRuns","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/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckCPU_String_ThresholdInterval","format":null},"138":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"138","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"36":{"settings":{"visibility":"visible"},"description":"Used to specify a Critical threshold. Follows the Icinga plugin threshold","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"36","varname":"IcingaCheckDirectory_Object_Critical","format":null},"38":{"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":"38","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"245":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"245","varname":"IcingaCheckTimeSync_String_ThresholdInterval","format":null},"206":{"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 value will be added to the current time\n\nValues have to be specified as time units like, 10m, 1d, 1w, 2M, 1y","caption":"WarningNextRunTime","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"206","varname":"IcingaCheckScheduledTask_String_WarningNextRunTime","format":null},"160":{"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":"160","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","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},"259":{"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":"259","varname":"IcingaCheckUNCPath_Object_Critical","format":null},"63":{"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":"63","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"124":{"settings":{"visibility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"124","varname":"IcingaCheckICMP_String_Hostname","format":null},"148":{"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":"148","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"220":{"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":"220","varname":"IcingaCheckStoragePool_Object_FreeSpaceWarning","format":null},"159":{"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":"159","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"95":{"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":"95","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null}}} diff --git a/config/icinga/Invoke-IcingaCheckICMP.conf b/config/icinga/Invoke-IcingaCheckICMP.conf index 9f6d8c62..f63a4292 100644 --- a/config/icinga/Invoke-IcingaCheckICMP.conf +++ b/config/icinga/Invoke-IcingaCheckICMP.conf @@ -16,7 +16,7 @@ object CheckCommand "Invoke-IcingaCheckICMP" { order = 99 } "-WarningPl" = { - description = "Threshold on which the plugin will return 'WARNING' for the response time in ms" + description = "Threshold on which the plugin will return 'WARNING' for possible packet loss in %" value = "$IcingaCheckICMP_Object_WarningPl$" order = 4 } @@ -59,7 +59,7 @@ object CheckCommand "Invoke-IcingaCheckICMP" { order = 99 } "-CriticalPl" = { - description = "Threshold on which the plugin will return 'CRITICAL' for the response time in ms" + description = "Threshold on which the plugin will return 'CRITICAL' for possible packet loss in %" value = "$IcingaCheckICMP_Object_CriticalPl$" order = 5 } diff --git a/config/icinga/Invoke-IcingaCheckUNCPath.conf b/config/icinga/Invoke-IcingaCheckUNCPath.conf index 81d192c6..8e0606a4 100644 --- a/config/icinga/Invoke-IcingaCheckUNCPath.conf +++ b/config/icinga/Invoke-IcingaCheckUNCPath.conf @@ -22,12 +22,12 @@ object CheckCommand "Invoke-IcingaCheckUNCPath" { order = 8 } "-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 = 7 } "-WarningTotal" = { - 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" + description = "A warning 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" value = "$IcingaCheckUNCPath_Object_WarningTotal$" order = 6 } diff --git a/config/icinga/Plugins_Bundle.conf b/config/icinga/Plugins_Bundle.conf index fe86dbfd..7aa6c2a2 100644 --- a/config/icinga/Plugins_Bundle.conf +++ b/config/icinga/Plugins_Bundle.conf @@ -1562,7 +1562,7 @@ object CheckCommand "Invoke-IcingaCheckICMP" { order = 99 } "-WarningPl" = { - description = "Threshold on which the plugin will return 'WARNING' for the response time in ms" + description = "Threshold on which the plugin will return 'WARNING' for possible packet loss in %" value = "$IcingaCheckICMP_Object_WarningPl$" order = 4 } @@ -1605,7 +1605,7 @@ object CheckCommand "Invoke-IcingaCheckICMP" { order = 99 } "-CriticalPl" = { - description = "Threshold on which the plugin will return 'CRITICAL' for possible packet loss in %" + description = "Threshold on which the plugin will return 'CRITICAL' for the response time in ms" value = "$IcingaCheckICMP_Object_CriticalPl$" order = 5 } @@ -1747,12 +1747,12 @@ object CheckCommand "Invoke-IcingaCheckUNCPath" { order = 8 } "-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 = 7 } "-WarningTotal" = { - 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" + description = "A warning 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" value = "$IcingaCheckUNCPath_Object_WarningTotal$" order = 6 } diff --git a/config/icinga/PowerShell_Base.conf b/config/icinga/PowerShell_Base.conf index 5ec2efcb..74a93116 100644 --- a/config/icinga/PowerShell_Base.conf +++ b/config/icinga/PowerShell_Base.conf @@ -4,4 +4,19 @@ object CheckCommand "PowerShell Base" { "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" ] timeout = 3m + arguments += { + "-ExecutionPolicy" = { + order = -1 + value = "$IcingaPowerShellBase_String_ExecutionPolicy$" + } + "-NoLogo" = { + order = -2 + set_if = "1" + } + "-NoProfile" = { + order = -3 + set_if = "1" + } + } + vars.IcingaPowerShellBase_String_ExecutionPolicy = "ByPass" } diff --git a/doc/02-Installation.md b/doc/02-Installation.md index 2522d4aa..89122bd9 100644 --- a/doc/02-Installation.md +++ b/doc/02-Installation.md @@ -1,98 +1,31 @@ # Installation -Like any other PowerShell module, the installation itself is very simple and straight forward. As of before, there are many ways to deploy a PowerShell module on a Windows host. - -Regardless of the method: In order to make this module work properly, you will have to install it into the same folder as your [Icinga PowerShell Framework](https://icinga.com/docs/windows) module is installed to. - -If you installed the Framework into - -```text -C:\Program Files\WindowsPowerShell\Modules\ -``` - -you will have to install this module there as well. +To install this [Icinga for Windows](https://icinga.com/docs/icinga-for-windows) component, you can use the [official Icinga repositories](https://packages.icinga.com/IcingaForWindows/). You can read more about this on how to [install components](https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/20-Install-Components/) for adding existing repositories or [create own repositories](https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/07-Create-Own-Repositories/). ## General Note on Installation/Updates -You should always stick to one way of installing/updating any modules for the Icinga for Windows solution. It is **not** supported and **not** recommended to mix installation ways by using `PowerShell Gallery` initially and switch to the `Framework Component Installer` for example later on. - -There might be various side effects by doing so. - -### PowerShell Gallery - -One of the simplier ways is to use PowerShell Gallery for the installation. For this we simply run the command - -```powershell -Install-Module 'icinga-powershell-plugins'; -``` - -### Icinga Framework Component Installer - -If PowerShell Gallery is no option for you because it is not available or you prefer the installation from GitHub releases directly, you can use the component installer of the Icinga PowerShell Framework which was introduced with `v1.1.0`: - -Install/Update latest stable release: - -```powershell -Use-Icinga; -Install-IcingaFrameworkComponent -Name plugins -Release; -``` - -Install/Update latest snapshot - -```powershell -Use-Icinga; -Install-IcingaFrameworkComponent -Name plugins -Snapshot; -``` - -Install/Update custom repository source - -```powershell -Use-Icinga; -Install-IcingaFrameworkComponent -Name plugins -Url 'url to your .zip file'; -``` - -### Manual Installation/Update - -For manual installation either download the [latest release .zip](https://github.com/Icinga/icinga-powershell-plugins/releases) or the [latest master .zip](https://github.com/Icinga/icinga-powershell-plugins) and extract the content into the correct PowerShell modules folder. +You should always stick to one way of installing/updating any modules for the [Icinga for Windows](https://icinga.com/docs/icinga-for-windows) solution. It is **not** supported and **not** recommended to mix different installation methods. -This could for example be: +## Install Stable Version ```powershell -C:\Program Files\WindowsPowerShell\Modules +Install-IcingaComponent -Name 'plugins'; ``` -Please ensure that the folder name of the module is matching the `.psm1` file name inside the folder. - -By downloading the latest master and unzipping it into above mentioned folder, you might end up like this: +## Install Snapshot Version ```powershell -C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins-master +Install-IcingaComponent -Name 'plugins' -Snapshot; ``` -As our `.psm1` file is named `icinga-powershell-plugins.psm1` we will have to rename the folder to look like this: +## Install Stable Updates ```powershell -C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins +Update-Icinga -Name 'plugins'; ``` -Once this is done, we might require to unblock the file content to be able to load and execute the module +## Install Snapshot Updates ```powershell -Get-ChildItem -Path 'C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins' -Recurse | Unblock-File; +Update-Icinga -Name 'plugins' -Snapshot; ``` - -Now we can start a new PowerShell instance and the module should be ready to go. Otherwise we have to import it manually by using - -```powershell -Import-Module 'icinga-powershell-plugins'; -``` - -## Using the Plugins - -To make use of plugins for testing locally, you will have to initialise the entire Framework by using the command - -```powershell -Use-Icinga -``` - -Once executed, the plugins are automatically loaded and available within our current PowerShell session.