From 7f8d26a0fd213ceba6e6e1445d2dac80f93eb308 Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Fri, 20 Nov 2020 19:37:51 +0100 Subject: [PATCH] Adds pre-compiled plugin configuration --- .../Invoke-IcingaCheckBiosSerial.json | 1 + config/director/Invoke-IcingaCheckCPU.json | 1 + .../Invoke-IcingaCheckCertificate.json | 1 + .../director/Invoke-IcingaCheckCheckSum.json | 1 + .../director/Invoke-IcingaCheckDirectory.json | 1 + .../Invoke-IcingaCheckDiskHealth.json | 1 + .../director/Invoke-IcingaCheckEventlog.json | 1 + .../director/Invoke-IcingaCheckFirewall.json | 1 + config/director/Invoke-IcingaCheckICMP.json | 1 + config/director/Invoke-IcingaCheckMemory.json | 1 + config/director/Invoke-IcingaCheckNLA.json | 1 + .../Invoke-IcingaCheckNetworkInterface.json | 1 + .../Invoke-IcingaCheckPerfcounter.json | 1 + .../Invoke-IcingaCheckProcessCount.json | 1 + .../Invoke-IcingaCheckScheduledTask.json | 1 + .../director/Invoke-IcingaCheckService.json | 1 + .../director/Invoke-IcingaCheckTimeSync.json | 1 + .../director/Invoke-IcingaCheckUpdates.json | 1 + config/director/Invoke-IcingaCheckUptime.json | 1 + .../Invoke-IcingaCheckUsedPartitionSpace.json | 1 + config/director/Invoke-IcingaCheckUsers.json | 1 + config/director/Plugins_Bundle.json | 1 + .../icinga/Invoke-IcingaCheckBiosSerial.conf | 10 + config/icinga/Invoke-IcingaCheckCPU.conf | 35 + .../icinga/Invoke-IcingaCheckCertificate.conf | 96 ++ config/icinga/Invoke-IcingaCheckCheckSum.conf | 33 + .../icinga/Invoke-IcingaCheckDirectory.conf | 92 ++ .../icinga/Invoke-IcingaCheckDiskHealth.conf | 172 ++ config/icinga/Invoke-IcingaCheckEventlog.conf | 161 ++ config/icinga/Invoke-IcingaCheckFirewall.conf | 37 + config/icinga/Invoke-IcingaCheckICMP.conf | 68 + config/icinga/Invoke-IcingaCheckMemory.conf | 40 + config/icinga/Invoke-IcingaCheckNLA.conf | 30 + .../Invoke-IcingaCheckNetworkInterface.conf | 236 +++ .../icinga/Invoke-IcingaCheckPerfcounter.conf | 41 + .../Invoke-IcingaCheckProcessCount.conf | 41 + .../Invoke-IcingaCheckScheduledTask.conf | 43 + config/icinga/Invoke-IcingaCheckService.conf | 48 + config/icinga/Invoke-IcingaCheckTimeSync.conf | 56 + config/icinga/Invoke-IcingaCheckUpdates.conf | 40 + config/icinga/Invoke-IcingaCheckUptime.conf | 30 + .../Invoke-IcingaCheckUsedPartitionSpace.conf | 65 + config/icinga/Invoke-IcingaCheckUsers.conf | 41 + config/icinga/Plugins_Bundle.conf | 1437 +++++++++++++++++ config/icinga/PowerShell_Base.conf | 7 + doc/31-Changelog.md | 1 + 46 files changed, 2882 insertions(+) create mode 100644 config/director/Invoke-IcingaCheckBiosSerial.json create mode 100644 config/director/Invoke-IcingaCheckCPU.json create mode 100644 config/director/Invoke-IcingaCheckCertificate.json create mode 100644 config/director/Invoke-IcingaCheckCheckSum.json create mode 100644 config/director/Invoke-IcingaCheckDirectory.json create mode 100644 config/director/Invoke-IcingaCheckDiskHealth.json create mode 100644 config/director/Invoke-IcingaCheckEventlog.json create mode 100644 config/director/Invoke-IcingaCheckFirewall.json create mode 100644 config/director/Invoke-IcingaCheckICMP.json create mode 100644 config/director/Invoke-IcingaCheckMemory.json create mode 100644 config/director/Invoke-IcingaCheckNLA.json create mode 100644 config/director/Invoke-IcingaCheckNetworkInterface.json create mode 100644 config/director/Invoke-IcingaCheckPerfcounter.json create mode 100644 config/director/Invoke-IcingaCheckProcessCount.json create mode 100644 config/director/Invoke-IcingaCheckScheduledTask.json create mode 100644 config/director/Invoke-IcingaCheckService.json create mode 100644 config/director/Invoke-IcingaCheckTimeSync.json create mode 100644 config/director/Invoke-IcingaCheckUpdates.json create mode 100644 config/director/Invoke-IcingaCheckUptime.json create mode 100644 config/director/Invoke-IcingaCheckUsedPartitionSpace.json create mode 100644 config/director/Invoke-IcingaCheckUsers.json create mode 100644 config/director/Plugins_Bundle.json create mode 100644 config/icinga/Invoke-IcingaCheckBiosSerial.conf create mode 100644 config/icinga/Invoke-IcingaCheckCPU.conf create mode 100644 config/icinga/Invoke-IcingaCheckCertificate.conf create mode 100644 config/icinga/Invoke-IcingaCheckCheckSum.conf create mode 100644 config/icinga/Invoke-IcingaCheckDirectory.conf create mode 100644 config/icinga/Invoke-IcingaCheckDiskHealth.conf create mode 100644 config/icinga/Invoke-IcingaCheckEventlog.conf create mode 100644 config/icinga/Invoke-IcingaCheckFirewall.conf create mode 100644 config/icinga/Invoke-IcingaCheckICMP.conf create mode 100644 config/icinga/Invoke-IcingaCheckMemory.conf create mode 100644 config/icinga/Invoke-IcingaCheckNLA.conf create mode 100644 config/icinga/Invoke-IcingaCheckNetworkInterface.conf create mode 100644 config/icinga/Invoke-IcingaCheckPerfcounter.conf create mode 100644 config/icinga/Invoke-IcingaCheckProcessCount.conf create mode 100644 config/icinga/Invoke-IcingaCheckScheduledTask.conf create mode 100644 config/icinga/Invoke-IcingaCheckService.conf create mode 100644 config/icinga/Invoke-IcingaCheckTimeSync.conf create mode 100644 config/icinga/Invoke-IcingaCheckUpdates.conf create mode 100644 config/icinga/Invoke-IcingaCheckUptime.conf create mode 100644 config/icinga/Invoke-IcingaCheckUsedPartitionSpace.conf create mode 100644 config/icinga/Invoke-IcingaCheckUsers.conf create mode 100644 config/icinga/Plugins_Bundle.conf create mode 100644 config/icinga/PowerShell_Base.conf diff --git a/config/director/Invoke-IcingaCheckBiosSerial.json b/config/director/Invoke-IcingaCheckBiosSerial.json new file mode 100644 index 00000000..f0d647a4 --- /dev/null +++ b/config/director/Invoke-IcingaCheckBiosSerial.json @@ -0,0 +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":[],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckBiosSerial\u0027; exit Invoke-IcingaCheckBiosSerial","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"Datafield":{}} diff --git a/config/director/Invoke-IcingaCheckCPU.json b/config/director/Invoke-IcingaCheckCPU.json new file mode 100644 index 00000000..8136ecbe --- /dev/null +++ b/config/director/Invoke-IcingaCheckCPU.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckCPU","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckCPU\u0027; exit Invoke-IcingaCheckCPU","order":"0"},"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Core":{"value":"$IcingaCheckCPU_String_Core$","order":"4"},"-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":{"2":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckCPU_Object_Warning","format":null},"5":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckCPU_String_Core","format":null},"3":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckCPU_Object_Critical","format":null},"6":{"settings":{"datalist":"IcingaCheckCPU Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckCPU_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCertificate.json b/config/director/Invoke-IcingaCheckCertificate.json new file mode 100644 index 00000000..2e9cee82 --- /dev/null +++ b/config/director/Invoke-IcingaCheckCertificate.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckCertificate","arguments":{"-CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$","order":"8"},"-CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$","order":"4"},"-Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$","order":"11"},"-CertSubject":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertSubject$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"7"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckCertificate\u0027; exit Invoke-IcingaCheckCertificate","order":"0"},"-CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$","order":"5"},"-Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$","set_if_format":"string","order":"99"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"9"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"10"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_Recurse":false,"IcingaCheckCertificate_Switchparameter_Trusted":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":{"visbility":"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":"7","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"9":{"settings":{"visbility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null},"10":{"settings":{"visbility":"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":"10","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"11":{"settings":{"visbility":"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":"11","varname":"IcingaCheckCertificate_Array_CertName","format":null},"2":{"settings":{"visbility":"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 untrust.\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":"2","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"12":{"settings":{"visbility":"visible"},"description":null,"caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"13":{"settings":{"datalist":"IcingaCheckCertificate Verbosity","behavior":"strict","data_type":"string"},"description":"Other","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"13","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"6":{"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":"6","varname":"IcingaCheckCertificate_String_CertStore","format":null},"5":{"settings":{"visbility":"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":"5","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"8":{"settings":{"visbility":"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":"8","varname":"IcingaCheckCertificate_Array_CertSubject","format":null}}} diff --git a/config/director/Invoke-IcingaCheckCheckSum.json b/config/director/Invoke-IcingaCheckCheckSum.json new file mode 100644 index 00000000..00f267b7 --- /dev/null +++ b/config/director/Invoke-IcingaCheckCheckSum.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckCheckSum","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckCheckSum\u0027; exit Invoke-IcingaCheckCheckSum","order":"0"},"-Path":{"value":"$IcingaCheckCheckSum_String_Path$","order":"2"},"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$","order":"3"},"-Hash":{"value":"$IcingaCheckCheckSum_String_Hash$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false}}},"Datafield":{"2":{"settings":{"visbility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckCheckSum_String_Path","format":null},"5":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"4":{"settings":{"visbility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckCheckSum_String_Hash","format":null},"3":{"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":"3","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"6":{"settings":{"datalist":"IcingaCheckCheckSum Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckDirectory.json b/config/director/Invoke-IcingaCheckDirectory.json new file mode 100644 index 00000000..57d2182b --- /dev/null +++ b/config/director/Invoke-IcingaCheckDirectory.json @@ -0,0 +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}],"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"},"-ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$","order":"7"},"-FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$","order":"13"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckDirectory\u0027; exit Invoke-IcingaCheckDirectory","order":"0"},"-ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$","order":"8"},"-CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$","order":"9"},"-ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$","order":"6"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"16","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"3":{"settings":{"visbility":"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 # Fiends all files ending with .txt and .sql","caption":"FileNames","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"3","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"5":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. Follows the Icinga plugin threshold","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckDirectory_Object_Critical","format":null},"12":{"settings":{"visbility":"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":"12","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"10":{"settings":{"visbility":"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":"10","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"2":{"settings":{"visbility":"visible"},"description":"Used to specify a path.\ne.g. \u0027C:\\Users\\Icinga\\Downloads\u0027","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckDirectory_String_Path","format":null},"8":{"settings":{"visbility":"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":"8","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"11":{"settings":{"visbility":"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":"11","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"9":{"settings":{"visbility":"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":"9","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"14":{"settings":{"visbility":"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":"14","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"7":{"settings":{"visbility":"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":"7","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"15":{"settings":{"datalist":"IcingaCheckDirectory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"15","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"6":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. Follows the Icinga plugin threshold","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckDirectory_Object_Warning","format":null},"4":{"settings":{"visbility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"4","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"13":{"settings":{"visbility":"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":"13","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null}}} diff --git a/config/director/Invoke-IcingaCheckDiskHealth.json b/config/director/Invoke-IcingaCheckDiskHealth.json new file mode 100644 index 00000000..2e44f34c --- /dev/null +++ b/config/director/Invoke-IcingaCheckDiskHealth.json @@ -0,0 +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"}],"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}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"14"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckDiskHealth\u0027; exit Invoke-IcingaCheckDiskHealth","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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"21"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"9"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"12"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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":{"visbility":"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":"11","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"20":{"settings":{"visbility":"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":"20","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"12":{"settings":{"visbility":"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":"12","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"10":{"settings":{"visbility":"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":"10","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"17":{"settings":{"visbility":"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":"17","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"13":{"settings":{"visbility":"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":"13","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"27":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"27","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"18":{"settings":{"visbility":"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":"18","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"23":{"settings":{"visbility":"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":"23","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"19":{"settings":{"visbility":"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":"19","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"5":{"settings":{"visbility":"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":"5","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"8":{"settings":{"visbility":"visible"},"description":"Warning theeshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"8","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"26":{"settings":{"visbility":"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":"26","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"14":{"settings":{"visbility":"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":"14","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"22":{"settings":{"visbility":"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":"22","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"28":{"settings":{"datalist":"IcingaCheckDiskHealth Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"28","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"25":{"settings":{"visbility":"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":"25","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"9":{"settings":{"visbility":"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":"9","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"15":{"settings":{"visbility":"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":"15","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"21":{"settings":{"visbility":"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":"21","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"24":{"settings":{"visbility":"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":"24","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"16":{"settings":{"visbility":"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":"16","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"7":{"settings":{"visbility":"visible"},"description":"Critical treshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"7","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"2":{"settings":{"visbility":"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":"2","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"6":{"settings":{"visbility":"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":"6","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null}}} diff --git a/config/director/Invoke-IcingaCheckEventlog.json b/config/director/Invoke-IcingaCheckEventlog.json new file mode 100644 index 00000000..d8305d28 --- /dev/null +++ b/config/director/Invoke-IcingaCheckEventlog.json @@ -0,0 +1 @@ +{"DataList":{"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"}},"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}],"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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"15"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"5"},"-LogName":{"value":"$IcingaCheckEventlog_String_LogName$","order":"4"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckEventlog\u0027; exit Invoke-IcingaCheckEventlog","order":"0"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"14"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"9"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"17"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_NoPerfData":false,"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false}}},"Datafield":{"16":{"settings":{"visbility":"visible"},"description":"Used to specify a date like dd.mm.yyyy and every eventlog entry before that date will be considered.","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckEventlog_Object_Before","format":null},"3":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckEventlog_Object_Critical","format":null},"5":{"settings":{"visbility":"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":"5","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"18":{"settings":{"visbility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"18","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"12":{"settings":{"visbility":"visible"},"description":"Used to specify an array of messages within the eventlog to be excluded.","caption":"ExcludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"12","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"10":{"settings":{"visbility":"visible"},"description":"Used to specify an array of entry types within the eventlog to be excluded.","caption":"ExcludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"10","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"2":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckEventlog_Object_Warning","format":null},"8":{"settings":{"visbility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be excluded.","caption":"ExcludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"8","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"17":{"settings":{"visbility":"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":"17","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"11":{"settings":{"visbility":"visible"},"description":"Used to specify an array of messages within the eventlog to be included.","caption":"IncludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"11","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"9":{"settings":{"visbility":"visible"},"description":"Used to specify an array of entry types within the eventlog to be included.","caption":"IncludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"9","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"14":{"settings":{"visbility":"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":"14","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"7":{"settings":{"visbility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be included.","caption":"IncludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"7","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"15":{"settings":{"visbility":"visible"},"description":"Used to specify a date like dd.mm.yyyy and every eventlog entry after that date will be considered.","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckEventlog_Object_After","format":null},"6":{"settings":{"visbility":"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":"6","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"4":{"settings":{"visbility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckEventlog_String_LogName","format":null},"19":{"settings":{"datalist":"IcingaCheckEventlog Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"19","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"13":{"settings":{"visbility":"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":"13","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null}}} diff --git a/config/director/Invoke-IcingaCheckFirewall.json b/config/director/Invoke-IcingaCheckFirewall.json new file mode 100644 index 00000000..dbe3bbba --- /dev/null +++ b/config/director/Invoke-IcingaCheckFirewall.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckFirewall","arguments":{"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckFirewall\u0027; exit Invoke-IcingaCheckFirewall","order":"0"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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":{"visbility":"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":"2","varname":"IcingaCheckFirewall_Array_Profile","format":null},"5":{"settings":{"datalist":"IcingaCheckFirewall Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"5","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null},"4":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"4","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"3":{"settings":{"visbility":"visible"},"description":"Used to specify whether the firewall profiles should be enabled or disabled.\n\n-Enabled $TRUE\ntranslates to enabled, while\nnot being specified\ntranslates to disabled.","caption":"Enabled","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"3","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null}}} diff --git a/config/director/Invoke-IcingaCheckICMP.json b/config/director/Invoke-IcingaCheckICMP.json new file mode 100644 index 00000000..f38e93df --- /dev/null +++ b/config/director/Invoke-IcingaCheckICMP.json @@ -0,0 +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"}],"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}],"object_name":"Invoke-IcingaCheckICMP","arguments":{"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"value":"$IcingaCheckICMP_String_Hostname$","order":"6"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckICMP\u0027; exit Invoke-IcingaCheckICMP","order":"0"}},"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":{"visbility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"7","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"9":{"settings":{"visbility":"visible"},"description":"Force the usage of IPv4 addresses for ICMP calls by using a hostname","caption":"IPv4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null},"10":{"settings":{"visbility":"visible"},"description":"Force the usage of IPv6 addresses for ICMP calls by using a hostname","caption":"IPv6","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"10","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"3":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027CRITICAL\u0027 for the response time in ms","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckICMP_Object_Critical","format":null},"11":{"settings":{"visbility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"11","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"2":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027WARNING\u0027 for the response time in ms","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckICMP_Object_Warning","format":null},"12":{"settings":{"datalist":"IcingaCheckICMP Verbosity","behavior":"strict","data_type":"string"},"description":"Increase the printed output message by adding additional details or print all data regardless of their status","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"12","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"4":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027WARNING\u0027 for possible packet loss in %","caption":"WarningPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"6":{"settings":{"visbility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"6","varname":"IcingaCheckICMP_String_Hostname","format":null},"5":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027CRITICAL\u0027 for possible packet loss in %","caption":"CriticalPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"8":{"settings":{"visbility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"8","varname":"IcingaCheckICMP_Int32_PacketSize","format":null}}} diff --git a/config/director/Invoke-IcingaCheckMemory.json b/config/director/Invoke-IcingaCheckMemory.json new file mode 100644 index 00000000..5d28e0d4 --- /dev/null +++ b/config/director/Invoke-IcingaCheckMemory.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckMemory","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckMemory\u0027; exit Invoke-IcingaCheckMemory","order":"0"},"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"6"},"-Warning":{"value":"$IcingaCheckMemory_String_Warning$","order":"3"},"-CriticalPercent":{"value":"$IcingaCheckMemory_Object_CriticalPercent$","order":"4"},"-Critical":{"value":"$IcingaCheckMemory_String_Critical$","order":"2"},"-NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-WarningPercent":{"value":"$IcingaCheckMemory_Object_WarningPercent$","order":"5"}},"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":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"3":{"settings":{"visbility":"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.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckMemory_String_Warning","format":null},"2":{"settings":{"visbility":"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.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckMemory_String_Critical","format":null},"4":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold for the memory usage in percent, like 30 for 30%.\nThis is using the default Icinga threshold handling.","caption":"CriticalPercent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckMemory_Object_CriticalPercent","format":null},"6":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"5":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold for the memory usage in percent, like 30 for 30%.\nThis is using the default Icinga threshold handling.","caption":"WarningPercent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckMemory_Object_WarningPercent","format":null}}} diff --git a/config/director/Invoke-IcingaCheckNLA.json b/config/director/Invoke-IcingaCheckNLA.json new file mode 100644 index 00000000..f5fb647d --- /dev/null +++ b/config/director/Invoke-IcingaCheckNLA.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckNLA","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckNLA\u0027; exit Invoke-IcingaCheckNLA","order":"0"},"-Profile":{"value":"$IcingaCheckNLA_String_Profile$","order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"Datafield":{"2":{"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":"2","varname":"IcingaCheckNLA_String_Profile","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckNLA_Array_NICs","format":null},"3":{"settings":{"datalist":"IcingaCheckNLA Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"3","varname":"IcingaCheckNLA_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckNetworkInterface.json b/config/director/Invoke-IcingaCheckNetworkInterface.json new file mode 100644 index 00000000..433e2276 --- /dev/null +++ b/config/director/Invoke-IcingaCheckNetworkInterface.json @@ -0,0 +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"}],"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},{"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}],"object_name":"Invoke-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckNetworkInterface\u0027; exit Invoke-IcingaCheckNetworkInterface","order":"0"},"-NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$","order":"29"},"-DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$","order":"26"},"-PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$","order":"13"},"-IncomingAvgBandUsageCrit":{"value":"$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageCrit$","order":"19"},"-PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$","order":"11"},"-DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$","order":"25"},"-IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$","order":"33"},"-PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$","order":"16"},"-PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$","order":"17"},"-IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$","order":"30"},"-IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$","set_if_format":"string","order":"99"},"-OutboundAvgBandUsageWarn":{"value":"$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageWarn$","order":"20"},"-IncomingAvgBandUsageWarn":{"value":"$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageWarn$","order":"18"},"-DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$","order":"23"},"-PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$","order":"12"},"-DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$","order":"22"},"-IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$","order":"31"},"-LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$","order":"28"},"-IncludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$","order":"24"},"-DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$","order":"27"},"-PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$","order":"10"},"-PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$","order":"14"},"-IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$","order":"38"},"-IncludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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":"39"},"-IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$","order":"36"},"-IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$","order":"32"},"-IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$","order":"37"},"-IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$","order":"35"},"-ExcludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$","order":"9"},"-IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$","order":"34"},"-OutboundAvgBandUsageCrit":{"value":"$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageCrit$","order":"21"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden":false,"IcingaCheckNetworkInterface_Switchparameter_NoPerfData":false}}},"Datafield":{"11":{"settings":{"visbility":"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.","caption":"PackteReceivedErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"11","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"41":{"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","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"41","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"20":{"settings":{"visbility":"visible"},"description":"Warning threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes.","caption":"OutboundAvgBandUsageWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageWarn","format":null},"12":{"settings":{"visbility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors.","caption":"PackteOutboundErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"12","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"10":{"settings":{"visbility":"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.","caption":"PackteReceivedErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"10","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"17":{"settings":{"visbility":"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.","caption":"PacketOutboundDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"17","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"40":{"settings":{"visbility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"40","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"13":{"settings":{"visbility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors.","caption":"PackteOutboundErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"13","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"27":{"settings":{"visbility":"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.","caption":"DeviceReceivedBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"30":{"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":"30","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"18":{"settings":{"visbility":"visible"},"description":"Warning threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes.","caption":"IncomingAvgBandUsageWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"18","varname":"IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageWarn","format":null},"36":{"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":"36","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"29":{"settings":{"visbility":"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":"29","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"23":{"settings":{"visbility":"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.","caption":"DeviceTotalBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"23","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"19":{"settings":{"visbility":"visible"},"description":"Critical threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes.","caption":"IncomingAvgBandUsageCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageCrit","format":null},"38":{"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":"38","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"5":{"settings":{"visbility":"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":"5","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"8":{"settings":{"visbility":"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":"8","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"26":{"settings":{"visbility":"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.","caption":"DeviceReceivedBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"26","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"39":{"settings":{"visbility":"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":"39","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"14":{"settings":{"visbility":"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.","caption":"PacketReceivedDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"37":{"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":"37","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"22":{"settings":{"visbility":"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.","caption":"DeviceTotalBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"22","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"28":{"settings":{"visbility":"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":"28","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"25":{"settings":{"visbility":"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.","caption":"DeviceSentBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"25","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"9":{"settings":{"visbility":"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":"9","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"33":{"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":"33","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"15":{"settings":{"visbility":"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.","caption":"PacketReceivedDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"15","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"34":{"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":"34","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"21":{"settings":{"visbility":"visible"},"description":"Critical threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes.","caption":"OutboundAvgBandUsageCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"21","varname":"IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageCrit","format":null},"24":{"settings":{"visbility":"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.","caption":"DeviceSentBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"16":{"settings":{"visbility":"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.","caption":"PacketOutboundDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"35":{"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":"35","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"32":{"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":"32","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"7":{"settings":{"visbility":"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":"7","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"2":{"settings":{"visbility":"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":"2","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"6":{"settings":{"visbility":"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":"6","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"31":{"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":"31","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null}}} diff --git a/config/director/Invoke-IcingaCheckPerfcounter.json b/config/director/Invoke-IcingaCheckPerfcounter.json new file mode 100644 index 00000000..7ead6a1a --- /dev/null +++ b/config/director/Invoke-IcingaCheckPerfcounter.json @@ -0,0 +1 @@ +{"DataList":{"IcingaCheckPerfcounter Verbosity":{"list_name":"IcingaCheckPerfcounter Verbosity","originalId":"2","entries":[{"allowed_roles":null,"entry_value":"0","entry_name":"0","format":"string"},{"allowed_roles":null,"entry_value":"1","entry_name":"1","format":"string"},{"allowed_roles":null,"entry_value":"2","entry_name":"2","format":"string"},{"allowed_roles":null,"entry_value":"3","entry_name":"3","format":"string"}],"owner":"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}],"object_name":"Invoke-IcingaCheckPerfcounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfcounter_Array_PerfCounter$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfcounter_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckPerfcounter_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckPerfcounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfcounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckPerfcounter\u0027; exit Invoke-IcingaCheckPerfcounter","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"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":{"2":{"settings":{"visbility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"2","varname":"IcingaCheckPerfcounter_Array_PerfCounter","format":null},"5":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckPerfcounter_Switchparameter_NoPerfData","format":null},"4":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an ??? value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckPerfcounter_Object_Critical","format":null},"3":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an ??? value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckPerfcounter_Object_Warning","format":null},"6":{"settings":{"datalist":"IcingaCheckPerfcounter Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckPerfcounter_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckProcessCount.json b/config/director/Invoke-IcingaCheckProcessCount.json new file mode 100644 index 00000000..58de320c --- /dev/null +++ b/config/director/Invoke-IcingaCheckProcessCount.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckProcessCount","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckProcessCount\u0027; exit Invoke-IcingaCheckProcessCount","order":"0"},"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$","order":"2"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-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":{"2":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"5":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"4":{"settings":{"visbility":"visible"},"description":"Used to specify an array of processes to count and match against.\ne.g. conhost,wininit","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"4","varname":"IcingaCheckProcessCount_Array_Process","format":null},"3":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"6":{"settings":{"datalist":"IcingaCheckProcessCount Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckScheduledTask.json b/config/director/Invoke-IcingaCheckScheduledTask.json new file mode 100644 index 00000000..52abe8d1 --- /dev/null +++ b/config/director/Invoke-IcingaCheckScheduledTask.json @@ -0,0 +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"}],"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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckScheduledTask\u0027; exit Invoke-IcingaCheckScheduledTask","order":"0"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_NoPerfData":false}}},"Datafield":{"2":{"settings":{"visbility":"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":"2","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"5":{"settings":{"datalist":"IcingaCheckScheduledTask Verbosity","behavior":"strict","data_type":"string"},"description":"Increase the printed output message by adding additional details or print all data regardless of their status","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"5","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"4":{"settings":{"visbility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"4","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"3":{"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":"3","varname":"IcingaCheckScheduledTask_Array_State","format":null}}} diff --git a/config/director/Invoke-IcingaCheckService.json b/config/director/Invoke-IcingaCheckService.json new file mode 100644 index 00000000..a2be6a03 --- /dev/null +++ b/config/director/Invoke-IcingaCheckService.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckService","arguments":{"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"5"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckService\u0027; exit Invoke-IcingaCheckService","order":"0"}},"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":{"2":{"settings":{"visbility":"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":"2","varname":"IcingaCheckService_Array_Service","format":null},"5":{"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","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"5","varname":"IcingaCheckService_Int32_Verbosity","format":null},"4":{"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":"4","varname":"IcingaCheckService_String_Status","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckService_Array_Exclude","format":null},"6":{"settings":{"visbility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"6","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null}}} diff --git a/config/director/Invoke-IcingaCheckTimeSync.json b/config/director/Invoke-IcingaCheckTimeSync.json new file mode 100644 index 00000000..2378205e --- /dev/null +++ b/config/director/Invoke-IcingaCheckTimeSync.json @@ -0,0 +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"}],"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}],"object_name":"Invoke-IcingaCheckTimeSync","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckTimeSync\u0027; exit Invoke-IcingaCheckTimeSync","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"}},"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":{"visbility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"9":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"9","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"10":{"settings":{"datalist":"IcingaCheckTimeSync Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"10","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"2":{"settings":{"visbility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckTimeSync_String_Server","format":null},"4":{"settings":{"visbility":"visible"},"description":"Used to specify a offset Warning threshold e.g 10ms or 0.01s","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"4","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"6":{"settings":{"visbility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"6","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"5":{"settings":{"visbility":"visible"},"description":"Used to specify a offset Critical threshold e.g 20ms or 0.02s.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"5","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"8":{"settings":{"visbility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"8","varname":"IcingaCheckTimeSync_Int32_Port","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUpdates.json b/config/director/Invoke-IcingaCheckUpdates.json new file mode 100644 index 00000000..41321e91 --- /dev/null +++ b/config/director/Invoke-IcingaCheckUpdates.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckUpdates","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUpdates\u0027; exit Invoke-IcingaCheckUpdates","order":"0"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-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":{"2":{"settings":{"visbility":"visible"},"description":null,"caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"2","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"5":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"4":{"settings":{"visbility":"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":"IcingaCheckUpdates_Object_Critical","format":null},"3":{"settings":{"visbility":"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":"IcingaCheckUpdates_Object_Warning","format":null},"6":{"settings":{"datalist":"IcingaCheckUpdates Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUptime.json b/config/director/Invoke-IcingaCheckUptime.json new file mode 100644 index 00000000..b5ac4940 --- /dev/null +++ b/config/director/Invoke-IcingaCheckUptime.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckUptime","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUptime\u0027; exit Invoke-IcingaCheckUptime","order":"0"},"-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"},"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUptime_Switchparameter_NoPerfData":false}}},"Datafield":{"2":{"settings":{"visbility":"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":"2","varname":"IcingaCheckUptime_String_Warning","format":null},"5":{"settings":{"datalist":"IcingaCheckUptime Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"5","varname":"IcingaCheckUptime_Int32_Verbosity","format":null},"4":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"4","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckUptime_String_Critical","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUsedPartitionSpace.json b/config/director/Invoke-IcingaCheckUsedPartitionSpace.json new file mode 100644 index 00000000..de72d79d --- /dev/null +++ b/config/director/Invoke-IcingaCheckUsedPartitionSpace.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUsedPartitionSpace\u0027; exit Invoke-IcingaCheckUsedPartitionSpace","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$","order":"2"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Include$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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":{"visbility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"7","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"9":{"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","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"9","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"3":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"3","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"2":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"6":{"settings":{"visbility":"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":"6","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"5":{"settings":{"visbility":"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":"5","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"8":{"settings":{"visbility":"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":"8","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null}}} diff --git a/config/director/Invoke-IcingaCheckUsers.json b/config/director/Invoke-IcingaCheckUsers.json new file mode 100644 index 00000000..f7535ab7 --- /dev/null +++ b/config/director/Invoke-IcingaCheckUsers.json @@ -0,0 +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}],"object_name":"Invoke-IcingaCheckUsers","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUsers\u0027; exit Invoke-IcingaCheckUsers","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_Switchparameter_NoPerfData":false}}},"Datafield":{"2":{"settings":{"visbility":"visible"},"description":"Used to specify an array of usernames to match against.\n\ne.g \u0027Administrator\u0027, \u0027Icinga\u0027","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"2","varname":"IcingaCheckUsers_Array_Username","format":null},"5":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"5","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"4":{"settings":{"visbility":"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":"IcingaCheckUsers_Object_Critical","format":null},"3":{"settings":{"visbility":"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":"IcingaCheckUsers_Object_Warning","format":null},"6":{"settings":{"datalist":"IcingaCheckUsers Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"6","varname":"IcingaCheckUsers_Int32_Verbosity","format":null}}} diff --git a/config/director/Plugins_Bundle.json b/config/director/Plugins_Bundle.json new file mode 100644 index 00000000..51aaf42a --- /dev/null +++ b/config/director/Plugins_Bundle.json @@ -0,0 +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"},"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"},"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"},"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 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"},"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"}],"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"},"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"},"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"},"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"},"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"},"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"},"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 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"}],"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"},"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"},"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"}],"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"},"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"},"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"},"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"}],"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"}],"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"}},"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}],"object_name":"Invoke-IcingaCheckCertificate","arguments":{"-CertStorePath":{"value":"$IcingaCheckCertificate_Object_CertStorePath$","order":"8"},"-CriticalEnd":{"value":"$IcingaCheckCertificate_Object_CriticalEnd$","order":"4"},"-Verbosity":{"value":"$IcingaCheckCertificate_Int32_Verbosity$","order":"11"},"-CertSubject":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertSubject$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"7"},"-WarningEnd":{"value":"$IcingaCheckCertificate_Object_WarningEnd$","order":"3"},"-CriticalStart":{"value":"$IcingaCheckCertificate_Object_CriticalStart$","order":"2"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckCertificate\u0027; exit Invoke-IcingaCheckCertificate","order":"0"},"-CertStore":{"value":"$IcingaCheckCertificate_String_CertStore$","order":"5"},"-Trusted":{"set_if":"$IcingaCheckCertificate_Switchparameter_Trusted$","set_if_format":"string","order":"99"},"-CertPaths":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertPaths$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"9"},"-CertThumbprint":{"value":{"body":"var arr = macro(\"$IcingaCheckCertificate_Array_CertThumbprint$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"10"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCertificate_Switchparameter_Recurse":false,"IcingaCheckCertificate_Switchparameter_Trusted":false}},"Invoke-IcingaCheckICMP":{"fields":[{"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},{"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-IcingaCheckICMP","arguments":{"-WarningPl":{"value":"$IcingaCheckICMP_Object_WarningPl$","order":"4"},"-Hostname":{"value":"$IcingaCheckICMP_String_Hostname$","order":"6"},"-Warning":{"value":"$IcingaCheckICMP_Object_Warning$","order":"2"},"-Verbosity":{"value":"$IcingaCheckICMP_Int32_Verbosity$","order":"9"},"-PacketCount":{"value":"$IcingaCheckICMP_Int32_PacketCount$","order":"7"},"-IPv6":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv6$","set_if_format":"string","order":"99"},"-PacketSize":{"value":"$IcingaCheckICMP_Int32_PacketSize$","order":"8"},"-NoPerfData":{"set_if":"$IcingaCheckICMP_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-Critical":{"value":"$IcingaCheckICMP_Object_Critical$","order":"3"},"-IPv4":{"set_if":"$IcingaCheckICMP_Switchparameter_IPv4$","set_if_format":"string","order":"99"},"-CriticalPl":{"value":"$IcingaCheckICMP_Object_CriticalPl$","order":"5"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckICMP\u0027; exit Invoke-IcingaCheckICMP","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckICMP_Switchparameter_NoPerfData":false,"IcingaCheckICMP_Switchparameter_IPv6":false,"IcingaCheckICMP_Switchparameter_IPv4":false}},"Invoke-IcingaCheckDirectory":{"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},{"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-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"},"-ChangeYoungerThan":{"value":"$IcingaCheckDirectory_String_ChangeYoungerThan$","order":"7"},"-FileSizeSmallerThan":{"value":"$IcingaCheckDirectory_String_FileSizeSmallerThan$","order":"13"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckDirectory\u0027; exit Invoke-IcingaCheckDirectory","order":"0"},"-ChangeOlderThan":{"value":"$IcingaCheckDirectory_String_ChangeOlderThan$","order":"8"},"-CreationTimeEqual":{"value":"$IcingaCheckDirectory_String_CreationTimeEqual$","order":"9"},"-ChangeTimeEqual":{"value":"$IcingaCheckDirectory_String_ChangeTimeEqual$","order":"6"},"-FileNames":{"value":{"body":"var arr = macro(\"$IcingaCheckDirectory_Array_FileNames$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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-IcingaCheckUptime":{"fields":[{"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},{"datafield_id":184,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUptime","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUptime\u0027; exit Invoke-IcingaCheckUptime","order":"0"},"-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"},"-Verbosity":{"value":"$IcingaCheckUptime_Int32_Verbosity$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUptime_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckUpdates":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckUpdates","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUpdates\u0027; exit Invoke-IcingaCheckUpdates","order":"0"},"-Verbosity":{"value":"$IcingaCheckUpdates_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckUpdates_Object_Warning$","order":"3"},"-UpdateFilter":{"value":{"body":"var arr = macro(\"$IcingaCheckUpdates_Array_UpdateFilter$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-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-IcingaCheckPerfcounter":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckPerfcounter","arguments":{"-PerfCounter":{"value":{"body":"var arr = macro(\"$IcingaCheckPerfcounter_Array_PerfCounter$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-Verbosity":{"value":"$IcingaCheckPerfcounter_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckPerfcounter_Object_Warning$","order":"3"},"-Critical":{"value":"$IcingaCheckPerfcounter_Object_Critical$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckPerfcounter_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckPerfcounter\u0027; exit Invoke-IcingaCheckPerfcounter","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckPerfcounter_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckNLA":{"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}],"object_name":"Invoke-IcingaCheckNLA","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckNLA\u0027; exit Invoke-IcingaCheckNLA","order":"0"},"-Profile":{"value":"$IcingaCheckNLA_String_Profile$","order":"2"},"-NICs":{"value":{"body":"var arr = macro(\"$IcingaCheckNLA_Array_NICs$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-Verbosity":{"value":"$IcingaCheckNLA_Int32_Verbosity$","order":"3"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}},"Invoke-IcingaCheckMemory":{"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}],"object_name":"Invoke-IcingaCheckMemory","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckMemory\u0027; exit Invoke-IcingaCheckMemory","order":"0"},"-Verbosity":{"value":"$IcingaCheckMemory_Int32_Verbosity$","order":"6"},"-Warning":{"value":"$IcingaCheckMemory_String_Warning$","order":"3"},"-CriticalPercent":{"value":"$IcingaCheckMemory_Object_CriticalPercent$","order":"4"},"-Critical":{"value":"$IcingaCheckMemory_String_Critical$","order":"2"},"-NoPerfData":{"set_if":"$IcingaCheckMemory_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-WarningPercent":{"value":"$IcingaCheckMemory_Object_WarningPercent$","order":"5"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckMemory_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckProcessCount":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckProcessCount","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckProcessCount\u0027; exit Invoke-IcingaCheckProcessCount","order":"0"},"-Verbosity":{"value":"$IcingaCheckProcessCount_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckProcessCount_Object_Warning$","order":"2"},"-Process":{"value":{"body":"var arr = macro(\"$IcingaCheckProcessCount_Array_Process$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-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-IcingaCheckUsers":{"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}],"object_name":"Invoke-IcingaCheckUsers","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUsers\u0027; exit Invoke-IcingaCheckUsers","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsers_Int32_Verbosity$","order":"5"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckUsers_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-IcingaCheckDiskHealth":{"fields":[{"datafield_id":39,"is_required":"n","var_filter":null},{"datafield_id":40,"is_required":"n","var_filter":null},{"datafield_id":41,"is_required":"n","var_filter":null},{"datafield_id":42,"is_required":"n","var_filter":null},{"datafield_id":43,"is_required":"n","var_filter":null},{"datafield_id":44,"is_required":"n","var_filter":null},{"datafield_id":45,"is_required":"n","var_filter":null},{"datafield_id":46,"is_required":"n","var_filter":null},{"datafield_id":47,"is_required":"n","var_filter":null},{"datafield_id":48,"is_required":"n","var_filter":null},{"datafield_id":49,"is_required":"n","var_filter":null},{"datafield_id":50,"is_required":"n","var_filter":null},{"datafield_id":51,"is_required":"n","var_filter":null},{"datafield_id":52,"is_required":"n","var_filter":null},{"datafield_id":53,"is_required":"n","var_filter":null},{"datafield_id":54,"is_required":"n","var_filter":null},{"datafield_id":55,"is_required":"n","var_filter":null},{"datafield_id":56,"is_required":"n","var_filter":null},{"datafield_id":57,"is_required":"n","var_filter":null},{"datafield_id":58,"is_required":"n","var_filter":null},{"datafield_id":59,"is_required":"n","var_filter":null},{"datafield_id":60,"is_required":"n","var_filter":null},{"datafield_id":61,"is_required":"n","var_filter":null},{"datafield_id":62,"is_required":"n","var_filter":null},{"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}],"object_name":"Invoke-IcingaCheckDiskHealth","arguments":{"-DiskReadByteSecWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$","order":"14"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckDiskHealth\u0027; exit Invoke-IcingaCheckDiskHealth","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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-IgnoreReadOnlyDisks":{"set_if":"$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$","set_if_format":"string","order":"99"},"-IncludeDisk":{"value":{"body":"var arr = macro(\"$IcingaCheckDiskHealth_Array_IncludeDisk$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-DiskAvgReadSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$","order":"21"},"-DiskWriteSecCritical":{"value":"$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$","order":"9"},"-DiskQueueAvgLenWarning":{"value":"$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$","order":"12"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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-IcingaCheckTimeSync":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckTimeSync","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckTimeSync\u0027; exit Invoke-IcingaCheckTimeSync","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"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckTimeSync_Switchparameter_NoPerfData":false,"IcingaCheckTimeSync_Switchparameter_IPV4":false}},"Invoke-IcingaCheckNetworkInterface":{"fields":[{"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},{"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},{"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},{"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-IcingaCheckNetworkInterface","arguments":{"-PacketSentSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$","order":"8"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckNetworkInterface\u0027; exit Invoke-IcingaCheckNetworkInterface","order":"0"},"-NoPerfData":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-LinkSpeedCrit":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$","order":"29"},"-DeviceReceivedBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$","order":"26"},"-PackteOutboundErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$","order":"13"},"-IncomingAvgBandUsageCrit":{"value":"$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageCrit$","order":"19"},"-PackteReceivedErrorCrit":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$","order":"11"},"-DeviceSentBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$","order":"25"},"-IfSlaveEnabledStateCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$","order":"33"},"-PacketOutboundDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$","order":"16"},"-PacketOutboundDiscardedCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$","order":"17"},"-IfTeamStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$","order":"30"},"-IncludeHidden":{"set_if":"$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$","set_if_format":"string","order":"99"},"-OutboundAvgBandUsageWarn":{"value":"$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageWarn$","order":"20"},"-IncomingAvgBandUsageWarn":{"value":"$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageWarn$","order":"18"},"-DeviceTotalBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$","order":"23"},"-PackteOutboundErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$","order":"12"},"-DeviceTotalBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$","order":"22"},"-IfTeamStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$","order":"31"},"-LinkSpeedWarn":{"value":"$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$","order":"28"},"-IncludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-DeviceSentBytesSecWarn":{"value":"$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$","order":"24"},"-DeviceReceivedBytesSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$","order":"27"},"-PackteReceivedErrorWarn":{"value":"$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$","order":"10"},"-PacketReceivedDiscardedWarn":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$","order":"14"},"-IfConnectionStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$","order":"38"},"-IncludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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":"39"},"-IfOperationalStatusCrit":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$","order":"36"},"-IfSlaveEnabledStateWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$","order":"32"},"-IfConnectionStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$","order":"37"},"-IfOperationalStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$","order":"35"},"-ExcludeNetworkDevice":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-PacketReceivedSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$","order":"7"},"-ExcludeInterfaceTeam":{"value":{"body":"var arr = macro(\"$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-PacketSentSecCrit":{"value":"$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$","order":"9"},"-IfAdminStatusWarn":{"value":"$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$","order":"34"},"-OutboundAvgBandUsageCrit":{"value":"$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageCrit$","order":"21"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden":false,"IcingaCheckNetworkInterface_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckCheckSum":{"fields":[{"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-IcingaCheckCheckSum","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckCheckSum\u0027; exit Invoke-IcingaCheckCheckSum","order":"0"},"-Path":{"value":"$IcingaCheckCheckSum_String_Path$","order":"2"},"-Verbosity":{"value":"$IcingaCheckCheckSum_Int32_Verbosity$","order":"5"},"-Algorithm":{"value":"$IcingaCheckCheckSum_String_Algorithm$","order":"3"},"-Hash":{"value":"$IcingaCheckCheckSum_String_Hash$","order":"4"},"-NoPerfData":{"set_if":"$IcingaCheckCheckSum_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckCheckSum_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckScheduledTask":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckScheduledTask","arguments":{"-TaskName":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_TaskName$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckScheduledTask\u0027; exit Invoke-IcingaCheckScheduledTask","order":"0"},"-NoPerfData":{"set_if":"$IcingaCheckScheduledTask_Switchparameter_NoPerfData$","set_if_format":"string","order":"99"},"-State":{"value":{"body":"var arr = macro(\"$IcingaCheckScheduledTask_Array_State$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-Verbosity":{"value":"$IcingaCheckScheduledTask_Int32_Verbosity$","order":"4"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckScheduledTask_Switchparameter_NoPerfData":false}},"Invoke-IcingaCheckBiosSerial":{"fields":[],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckBiosSerial\u0027; exit Invoke-IcingaCheckBiosSerial","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}},"Invoke-IcingaCheckEventlog":{"fields":[{"datafield_id":66,"is_required":"n","var_filter":null},{"datafield_id":67,"is_required":"n","var_filter":null},{"datafield_id":68,"is_required":"n","var_filter":null},{"datafield_id":69,"is_required":"n","var_filter":null},{"datafield_id":70,"is_required":"n","var_filter":null},{"datafield_id":71,"is_required":"n","var_filter":null},{"datafield_id":72,"is_required":"n","var_filter":null},{"datafield_id":73,"is_required":"n","var_filter":null},{"datafield_id":74,"is_required":"n","var_filter":null},{"datafield_id":75,"is_required":"n","var_filter":null},{"datafield_id":76,"is_required":"n","var_filter":null},{"datafield_id":77,"is_required":"n","var_filter":null},{"datafield_id":78,"is_required":"n","var_filter":null},{"datafield_id":79,"is_required":"n","var_filter":null},{"datafield_id":80,"is_required":"n","var_filter":null},{"datafield_id":81,"is_required":"n","var_filter":null},{"datafield_id":82,"is_required":"n","var_filter":null},{"datafield_id":83,"is_required":"n","var_filter":null}],"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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"11"},"-IncludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeSource$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"13"},"-After":{"value":"$IcingaCheckEventlog_Object_After$","order":"15"},"-IncludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEventId$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"5"},"-LogName":{"value":"$IcingaCheckEventlog_String_LogName$","order":"4"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckEventlog\u0027; exit Invoke-IcingaCheckEventlog","order":"0"},"-ExcludeSource":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeSource$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"14"},"-ExcludeUsername":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeUsername$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"8"},"-ExcludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEntryType$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"10"},"-IncludeEntryType":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_IncludeEntryType$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"9"},"-Verbosity":{"value":"$IcingaCheckEventlog_Int32_Verbosity$","order":"17"},"-ExcludeEventId":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeEventId$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"7"},"-ExcludeMessage":{"value":{"body":"var arr = macro(\"$IcingaCheckEventlog_Array_ExcludeMessage$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"12"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckEventlog_Switchparameter_NoPerfData":false,"IcingaCheckEventlog_Switchparameter_DisableTimeCache":false}},"Invoke-IcingaCheckCPU":{"fields":[{"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-IcingaCheckCPU","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckCPU\u0027; exit Invoke-IcingaCheckCPU","order":"0"},"-Verbosity":{"value":"$IcingaCheckCPU_Int32_Verbosity$","order":"5"},"-Warning":{"value":"$IcingaCheckCPU_Object_Warning$","order":"2"},"-Core":{"value":"$IcingaCheckCPU_String_Core$","order":"4"},"-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-IcingaCheckFirewall":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckFirewall","arguments":{"-Verbosity":{"value":"$IcingaCheckFirewall_Int32_Verbosity$","order":"3"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckFirewall\u0027; exit Invoke-IcingaCheckFirewall","order":"0"},"-Profile":{"value":{"body":"var arr = macro(\"$IcingaCheckFirewall_Array_Profile$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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-IcingaCheckUsedPartitionSpace":{"fields":[{"datafield_id":185,"is_required":"n","var_filter":null},{"datafield_id":186,"is_required":"n","var_filter":null},{"datafield_id":187,"is_required":"n","var_filter":null},{"datafield_id":188,"is_required":"n","var_filter":null},{"datafield_id":189,"is_required":"n","var_filter":null},{"datafield_id":190,"is_required":"n","var_filter":null},{"datafield_id":191,"is_required":"n","var_filter":null},{"datafield_id":192,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckUsedPartitionSpace","arguments":{"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckUsedPartitionSpace\u0027; exit Invoke-IcingaCheckUsedPartitionSpace","order":"0"},"-Verbosity":{"value":"$IcingaCheckUsedPartitionSpace_Int32_Verbosity$","order":"6"},"-Warning":{"value":"$IcingaCheckUsedPartitionSpace_Object_Warning$","order":"2"},"-IgnoreEmptyChecks":{"set_if":"$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$","set_if_format":"string","order":"99"},"-Include":{"value":{"body":"var arr = macro(\"$IcingaCheckUsedPartitionSpace_Array_Include$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"4"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.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}},"Invoke-IcingaCheckService":{"fields":[{"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}],"object_name":"Invoke-IcingaCheckService","arguments":{"-Verbosity":{"value":"$IcingaCheckService_Int32_Verbosity$","order":"5"},"-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\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"2"},"-Exclude":{"value":{"body":"var arr = macro(\"$IcingaCheckService_Array_Exclude$\");\r\nif (len(arr) == 0) {\r\nreturn \"@()\";\r\n}\r\nreturn arr.join(\",\");","type":"Function"},"order":"3"},"-C":{"value":"try { Use-Icinga; } 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; exit 3; }; Exit-IcingaPluginNotInstalled \u0027Invoke-IcingaCheckService\u0027; exit Invoke-IcingaCheckService","order":"0"}},"imports":["PowerShell Base"],"object_type":"object","vars":{"IcingaCheckService_Switchparameter_NoPerfData":false}}},"Datafield":{"184":{"settings":{"datalist":"IcingaCheckUptime Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"184","varname":"IcingaCheckUptime_Int32_Verbosity","format":null},"121":{"settings":{"visbility":"visible"},"description":"Warning threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes.","caption":"IncomingAvgBandUsageWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"121","varname":"IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageWarn","format":null},"31":{"settings":{"visbility":"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":"31","varname":"IcingaCheckDirectory_String_ChangeOlderThan","format":null},"117":{"settings":{"visbility":"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.","caption":"PacketReceivedDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"117","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn","format":null},"59":{"settings":{"visbility":"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":"59","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning","format":null},"5":{"settings":{"visbility":"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":"5","varname":"IcingaCheckCertificate_Object_CriticalEnd","format":null},"53":{"settings":{"visbility":"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":"53","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning","format":null},"47":{"settings":{"visbility":"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":"47","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenWarning","format":null},"100":{"settings":{"visbility":"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.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"100","varname":"IcingaCheckMemory_String_Warning","format":null},"183":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"183","varname":"IcingaCheckUptime_Switchparameter_NoPerfData","format":null},"78":{"settings":{"visbility":"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":"78","varname":"IcingaCheckEventlog_Array_ExcludeSource","format":null},"169":{"settings":{"visbility":"visible"},"description":"Used to specify a offset Warning threshold e.g 10ms or 0.01s","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"169","varname":"IcingaCheckTimeSync_Object_Warning","format":null},"170":{"settings":{"visbility":"visible"},"description":"Used to specify a offset Critical threshold e.g 20ms or 0.02s.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"170","varname":"IcingaCheckTimeSync_Object_Critical","format":null},"89":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027CRITICAL\u0027 for the response time in ms","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"89","varname":"IcingaCheckICMP_Object_Critical","format":null},"108":{"settings":{"visbility":"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":"108","varname":"IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam","format":null},"196":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"196","varname":"IcingaCheckUsers_Switchparameter_NoPerfData","format":null},"39":{"settings":{"visbility":"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":"39","varname":"IcingaCheckDiskHealth_Array_IncludeDisk","format":null},"110":{"settings":{"visbility":"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":"110","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit","format":null},"51":{"settings":{"visbility":"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":"51","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecWarning","format":null},"191":{"settings":{"visbility":"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":"191","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown","format":null},"144":{"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","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"144","varname":"IcingaCheckNetworkInterface_Object_Verbosity","format":null},"13":{"settings":{"datalist":"IcingaCheckCertificate Verbosity","behavior":"strict","data_type":"string"},"description":"Other","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"13","varname":"IcingaCheckCertificate_Int32_Verbosity","format":null},"23":{"settings":{"datalist":"IcingaCheckCPU Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"23","varname":"IcingaCheckCPU_Int32_Verbosity","format":null},"189":{"settings":{"visbility":"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":"189","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks","format":null},"72":{"settings":{"visbility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be excluded.","caption":"ExcludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"72","varname":"IcingaCheckEventlog_Array_ExcludeUsername","format":null},"158":{"settings":{"visbility":"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":"158","varname":"IcingaCheckScheduledTask_Array_TaskName","format":null},"45":{"settings":{"visbility":"visible"},"description":"Warning theeshold for disk Writes/sec is the rate of write operations on the disk.","caption":"DiskWriteSecWarning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"45","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecWarning","format":null},"14":{"settings":{"visbility":"visible"},"description":null,"caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"14","varname":"IcingaCheckCheckSum_String_Path","format":null},"103":{"settings":{"datalist":"IcingaCheckMemory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"103","varname":"IcingaCheckMemory_Int32_Verbosity","format":null},"87":{"settings":{"datalist":"IcingaCheckFirewall Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"87","varname":"IcingaCheckFirewall_Int32_Verbosity","format":null},"49":{"settings":{"visbility":"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":"49","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning","format":null},"116":{"settings":{"visbility":"visible"},"description":"Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors.","caption":"PackteOutboundErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"116","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit","format":null},"81":{"settings":{"visbility":"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":"81","varname":"IcingaCheckEventlog_Switchparameter_DisableTimeCache","format":null},"125":{"settings":{"visbility":"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.","caption":"DeviceTotalBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"125","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn","format":null},"113":{"settings":{"visbility":"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.","caption":"PackteReceivedErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"113","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn","format":null},"3":{"settings":{"visbility":"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":"3","varname":"IcingaCheckCertificate_Object_CriticalStart","format":null},"75":{"settings":{"visbility":"visible"},"description":"Used to specify an array of messages within the eventlog to be included.","caption":"IncludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"75","varname":"IcingaCheckEventlog_Array_IncludeMessage","format":null},"153":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"153","varname":"IcingaCheckProcessCount_Object_Warning","format":null},"156":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"156","varname":"IcingaCheckProcessCount_Switchparameter_NoPerfData","format":null},"94":{"settings":{"visbility":"visible"},"description":"The size of each packet send to the target host","caption":"PacketSize","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"94","varname":"IcingaCheckICMP_Int32_PacketSize","format":null},"101":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold for the memory usage in percent, like 30 for 30%.\nThis is using the default Icinga threshold handling.","caption":"CriticalPercent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"101","varname":"IcingaCheckMemory_Object_CriticalPercent","format":null},"85":{"settings":{"visbility":"visible"},"description":"Used to specify whether the firewall profiles should be enabled or disabled.\n\n-Enabled $TRUE\ntranslates to enabled, while\nnot being specified\ntranslates to disabled.","caption":"Enabled","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"85","varname":"IcingaCheckFirewall_Switchparameter_Enabled","format":null},"146":{"settings":{"datalist":"IcingaCheckNLA Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"146","varname":"IcingaCheckNLA_Int32_Verbosity","format":null},"114":{"settings":{"visbility":"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.","caption":"PackteReceivedErrorCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"114","varname":"IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit","format":null},"21":{"settings":{"visbility":"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":"21","varname":"IcingaCheckCPU_String_Core","format":null},"24":{"settings":{"visbility":"visible"},"description":"Used to specify a path.\ne.g. \u0027C:\\Users\\Icinga\\Downloads\u0027","caption":"Path","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"24","varname":"IcingaCheckDirectory_String_Path","format":null},"52":{"settings":{"visbility":"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":"52","varname":"IcingaCheckDiskHealth_Object_DiskReadByteSecCritical","format":null},"163":{"settings":{"visbility":"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":"163","varname":"IcingaCheckService_Array_Exclude","format":null},"43":{"settings":{"visbility":"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":"43","varname":"IcingaCheckDiskHealth_Object_DiskReadSecWarning","format":null},"145":{"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":"145","varname":"IcingaCheckNLA_String_Profile","format":null},"154":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"154","varname":"IcingaCheckProcessCount_Object_Critical","format":null},"173":{"settings":{"visbility":"visible"},"description":"Port number (default: 123)","caption":"Port","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"173","varname":"IcingaCheckTimeSync_Int32_Port","format":null},"168":{"settings":{"visbility":"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":"168","varname":"IcingaCheckTimeSync_Object_TimeOffset","format":null},"32":{"settings":{"visbility":"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":"32","varname":"IcingaCheckDirectory_String_CreationTimeEqual","format":null},"20":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"20","varname":"IcingaCheckCPU_Object_Critical","format":null},"73":{"settings":{"visbility":"visible"},"description":"Used to specify an array of entry types within the eventlog to be included.","caption":"IncludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"73","varname":"IcingaCheckEventlog_Array_IncludeEntryType","format":null},"133":{"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":"133","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusWarn","format":null},"8":{"settings":{"visbility":"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":"8","varname":"IcingaCheckCertificate_Array_CertSubject","format":null},"29":{"settings":{"visbility":"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":"29","varname":"IcingaCheckDirectory_String_ChangeTimeEqual","format":null},"2":{"settings":{"visbility":"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 untrust.\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":"2","varname":"IcingaCheckCertificate_Switchparameter_Trusted","format":null},"62":{"settings":{"visbility":"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":"62","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks","format":null},"33":{"settings":{"visbility":"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":"33","varname":"IcingaCheckDirectory_String_CreationOlderThan","format":null},"175":{"settings":{"datalist":"IcingaCheckTimeSync Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"175","varname":"IcingaCheckTimeSync_Int32_Verbosity","format":null},"193":{"settings":{"visbility":"visible"},"description":"Used to specify an array of usernames to match against.\n\ne.g \u0027Administrator\u0027, \u0027Icinga\u0027","caption":"Username","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"193","varname":"IcingaCheckUsers_Array_Username","format":null},"84":{"settings":{"visbility":"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":"84","varname":"IcingaCheckFirewall_Array_Profile","format":null},"107":{"settings":{"visbility":"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":"107","varname":"IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam","format":null},"58":{"settings":{"visbility":"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":"58","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical","format":null},"139":{"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":"139","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit","format":null},"192":{"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","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"192","varname":"IcingaCheckUsedPartitionSpace_Int32_Verbosity","format":null},"112":{"settings":{"visbility":"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":"112","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecCrit","format":null},"48":{"settings":{"visbility":"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":"48","varname":"IcingaCheckDiskHealth_Object_DiskQueueLenCritical","format":null},"195":{"settings":{"visbility":"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":"IcingaCheckUsers_Object_Critical","format":null},"177":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"177","varname":"IcingaCheckUpdates_Object_Warning","format":null},"190":{"settings":{"visbility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"190","varname":"IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData","format":null},"42":{"settings":{"visbility":"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":"42","varname":"IcingaCheckDiskHealth_Array_ExcludePartition","format":null},"130":{"settings":{"visbility":"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.","caption":"DeviceReceivedBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"130","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit","format":null},"65":{"settings":{"datalist":"IcingaCheckDiskHealth Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"65","varname":"IcingaCheckDiskHealth_Int32_Verbosity","format":null},"157":{"settings":{"datalist":"IcingaCheckProcessCount Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"157","varname":"IcingaCheckProcessCount_Int32_Verbosity","format":null},"35":{"settings":{"visbility":"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":"35","varname":"IcingaCheckDirectory_String_FileSizeGreaterThan","format":null},"172":{"settings":{"visbility":"visible"},"description":"Use IPV4 connection. Default $FALSE","caption":"IPV4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"172","varname":"IcingaCheckTimeSync_Switchparameter_IPV4","format":null},"60":{"settings":{"visbility":"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":"60","varname":"IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical","format":null},"152":{"settings":{"datalist":"IcingaCheckPerfcounter Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"152","varname":"IcingaCheckPerfcounter_Int32_Verbosity","format":null},"115":{"settings":{"visbility":"visible"},"description":"Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted\nbecause of errors.","caption":"PackteOutboundErrorWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"115","varname":"IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn","format":null},"34":{"settings":{"visbility":"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":"34","varname":"IcingaCheckDirectory_String_CreationYoungerThan","format":null},"132":{"settings":{"visbility":"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":"132","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedCrit","format":null},"104":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"104","varname":"IcingaCheckMemory_Switchparameter_NoPerfData","format":null},"162":{"settings":{"visbility":"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":"162","varname":"IcingaCheckService_Array_Service","format":null},"28":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. Follows the Icinga plugin threshold","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"28","varname":"IcingaCheckDirectory_Object_Warning","format":null},"197":{"settings":{"datalist":"IcingaCheckUsers Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"197","varname":"IcingaCheckUsers_Int32_Verbosity","format":null},"76":{"settings":{"visbility":"visible"},"description":"Used to specify an array of messages within the eventlog to be excluded.","caption":"ExcludeMessage","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"76","varname":"IcingaCheckEventlog_Array_ExcludeMessage","format":null},"166":{"settings":{"visbility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"166","varname":"IcingaCheckService_Switchparameter_NoPerfData","format":null},"167":{"settings":{"visbility":"visible"},"description":"The NTP Server you want to connect to.","caption":"Server","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"167","varname":"IcingaCheckTimeSync_String_Server","format":null},"155":{"settings":{"visbility":"visible"},"description":"Used to specify an array of processes to count and match against.\ne.g. conhost,wininit","caption":"Process","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"155","varname":"IcingaCheckProcessCount_Array_Process","format":null},"50":{"settings":{"visbility":"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":"50","varname":"IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical","format":null},"188":{"settings":{"visbility":"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":"188","varname":"IcingaCheckUsedPartitionSpace_Array_Exclude","format":null},"106":{"settings":{"visbility":"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":"106","varname":"IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice","format":null},"80":{"settings":{"visbility":"visible"},"description":"Used to specify a date like dd.mm.yyyy and every eventlog entry before that date will be considered.","caption":"Before","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"80","varname":"IcingaCheckEventlog_Object_Before","format":null},"19":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"19","varname":"IcingaCheckCPU_Object_Warning","format":null},"10":{"settings":{"visbility":"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":"10","varname":"IcingaCheckCertificate_Array_CertPaths","format":null},"9":{"settings":{"visbility":"visible"},"description":"Used to specify which path within the CertStore should be checked.","caption":"CertStorePath","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"9","varname":"IcingaCheckCertificate_Object_CertStorePath","format":null},"134":{"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":"134","varname":"IcingaCheckNetworkInterface_Object_IfTeamStatusCrit","format":null},"57":{"settings":{"visbility":"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":"57","varname":"IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning","format":null},"142":{"settings":{"visbility":"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":"142","varname":"IcingaCheckNetworkInterface_Switchparameter_IncludeHidden","format":null},"64":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"64","varname":"IcingaCheckDiskHealth_Switchparameter_NoPerfData","format":null},"165":{"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","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"165","varname":"IcingaCheckService_Int32_Verbosity","format":null},"12":{"settings":{"visbility":"visible"},"description":null,"caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"12","varname":"IcingaCheckCertificate_Switchparameter_Recurse","format":null},"119":{"settings":{"visbility":"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.","caption":"PacketOutboundDiscardedWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"119","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn","format":null},"99":{"settings":{"visbility":"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.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"99","varname":"IcingaCheckMemory_String_Critical","format":null},"129":{"settings":{"visbility":"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.","caption":"DeviceReceivedBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"129","varname":"IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn","format":null},"127":{"settings":{"visbility":"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.","caption":"DeviceSentBytesSecWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"127","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn","format":null},"93":{"settings":{"visbility":"visible"},"description":"The amount of packets send to the target host","caption":"PacketCount","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"93","varname":"IcingaCheckICMP_Int32_PacketCount","format":null},"122":{"settings":{"visbility":"visible"},"description":"Critical threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes.","caption":"IncomingAvgBandUsageCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"122","varname":"IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageCrit","format":null},"66":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"66","varname":"IcingaCheckEventlog_Object_Warning","format":null},"82":{"settings":{"visbility":"visible"},"description":"Used to disable PerfData.","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"82","varname":"IcingaCheckEventlog_Switchparameter_NoPerfData","format":null},"126":{"settings":{"visbility":"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.","caption":"DeviceTotalBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"126","varname":"IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit","format":null},"185":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an integer value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"185","varname":"IcingaCheckUsedPartitionSpace_Object_Warning","format":null},"41":{"settings":{"visbility":"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":"41","varname":"IcingaCheckDiskHealth_Array_IncludePartition","format":null},"179":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"179","varname":"IcingaCheckUpdates_Switchparameter_NoPerfData","format":null},"37":{"settings":{"datalist":"IcingaCheckDirectory Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"37","varname":"IcingaCheckDirectory_Int32_Verbosity","format":null},"111":{"settings":{"visbility":"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":"111","varname":"IcingaCheckNetworkInterface_Object_PacketSentSecWarn","format":null},"123":{"settings":{"visbility":"visible"},"description":"Warning threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes.","caption":"OutboundAvgBandUsageWarn","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"123","varname":"IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageWarn","format":null},"91":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027CRITICAL\u0027 for possible packet loss in %","caption":"CriticalPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"91","varname":"IcingaCheckICMP_Object_CriticalPl","format":null},"181":{"settings":{"visbility":"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":"181","varname":"IcingaCheckUptime_String_Warning","format":null},"178":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"178","varname":"IcingaCheckUpdates_Object_Critical","format":null},"79":{"settings":{"visbility":"visible"},"description":"Used to specify a date like dd.mm.yyyy and every eventlog entry after that date will be considered.","caption":"After","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"79","varname":"IcingaCheckEventlog_Object_After","format":null},"194":{"settings":{"visbility":"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":"IcingaCheckUsers_Object_Warning","format":null},"68":{"settings":{"visbility":"visible"},"description":"Used to specify a certain log.","caption":"LogName","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"68","varname":"IcingaCheckEventlog_String_LogName","format":null},"143":{"settings":{"visbility":"visible"},"description":"Disables the performance data output of this plugin","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"143","varname":"IcingaCheckNetworkInterface_Switchparameter_NoPerfData","format":null},"171":{"settings":{"visbility":"visible"},"description":"Seconds before connection times out (default: 10)","caption":"Timeout","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeNumber","originalId":"171","varname":"IcingaCheckTimeSync_Int32_Timeout","format":null},"182":{"settings":{"visbility":"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":"182","varname":"IcingaCheckUptime_String_Critical","format":null},"92":{"settings":{"visbility":"visible"},"description":"The target hosts IP or FQDN to send ICMP requests too","caption":"Hostname","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"92","varname":"IcingaCheckICMP_String_Hostname","format":null},"118":{"settings":{"visbility":"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.","caption":"PacketReceivedDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"118","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit","format":null},"18":{"settings":{"datalist":"IcingaCheckCheckSum Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"18","varname":"IcingaCheckCheckSum_Int32_Verbosity","format":null},"90":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027WARNING\u0027 for possible packet loss in %","caption":"WarningPl","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"90","varname":"IcingaCheckICMP_Object_WarningPl","format":null},"161":{"settings":{"datalist":"IcingaCheckScheduledTask Verbosity","behavior":"strict","data_type":"string"},"description":"Increase the printed output message by adding additional details or print all data regardless of their status","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"161","varname":"IcingaCheckScheduledTask_Int32_Verbosity","format":null},"135":{"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":"135","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn","format":null},"56":{"settings":{"visbility":"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":"56","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical","format":null},"150":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an ??? value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"150","varname":"IcingaCheckPerfcounter_Object_Critical","format":null},"83":{"settings":{"datalist":"IcingaCheckEventlog Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"83","varname":"IcingaCheckEventlog_Int32_Verbosity","format":null},"141":{"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":"141","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit","format":null},"71":{"settings":{"visbility":"visible"},"description":"Used to specify an array of usernames within the eventlog to be included.","caption":"IncludeUsername","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"71","varname":"IcingaCheckEventlog_Array_IncludeUsername","format":null},"164":{"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":"164","varname":"IcingaCheckService_String_Status","format":null},"11":{"settings":{"visbility":"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":"11","varname":"IcingaCheckCertificate_Array_CertName","format":null},"105":{"settings":{"visbility":"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":"105","varname":"IcingaCheckNetworkInterface_Array_IncludeNetworkDevice","format":null},"16":{"settings":{"visbility":"visible"},"description":null,"caption":"Hash","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"16","varname":"IcingaCheckCheckSum_String_Hash","format":null},"77":{"settings":{"visbility":"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":"77","varname":"IcingaCheckEventlog_Array_IncludeSource","format":null},"187":{"settings":{"visbility":"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":"187","varname":"IcingaCheckUsedPartitionSpace_Array_Include","format":null},"25":{"settings":{"visbility":"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 # Fiends all files ending with .txt and .sql","caption":"FileNames","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"25","varname":"IcingaCheckDirectory_Array_FileNames","format":null},"137":{"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":"137","varname":"IcingaCheckNetworkInterface_Object_IfAdminStatusWarn","format":null},"54":{"settings":{"visbility":"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":"54","varname":"IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical","format":null},"6":{"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":"6","varname":"IcingaCheckCertificate_String_CertStore","format":null},"67":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"67","varname":"IcingaCheckEventlog_Object_Critical","format":null},"40":{"settings":{"visbility":"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":"40","varname":"IcingaCheckDiskHealth_Array_ExcludeDisk","format":null},"149":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold. In this case an ??? value.","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"149","varname":"IcingaCheckPerfcounter_Object_Warning","format":null},"27":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. Follows the Icinga plugin threshold","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"27","varname":"IcingaCheckDirectory_Object_Critical","format":null},"30":{"settings":{"visbility":"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":"30","varname":"IcingaCheckDirectory_String_ChangeYoungerThan","format":null},"96":{"settings":{"visbility":"visible"},"description":"Force the usage of IPv6 addresses for ICMP calls by using a hostname","caption":"IPv6","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"96","varname":"IcingaCheckICMP_Switchparameter_IPv6","format":null},"128":{"settings":{"visbility":"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.","caption":"DeviceSentBytesSecCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"128","varname":"IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit","format":null},"97":{"settings":{"visbility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"97","varname":"IcingaCheckICMP_Switchparameter_NoPerfData","format":null},"180":{"settings":{"datalist":"IcingaCheckUpdates Verbosity","behavior":"strict","data_type":"string"},"description":null,"caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"180","varname":"IcingaCheckUpdates_Int32_Verbosity","format":null},"4":{"settings":{"visbility":"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":"4","varname":"IcingaCheckCertificate_Object_WarningEnd","format":null},"46":{"settings":{"visbility":"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":"46","varname":"IcingaCheckDiskHealth_Object_DiskWriteSecCritical","format":null},"120":{"settings":{"visbility":"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.","caption":"PacketOutboundDiscardedCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"120","varname":"IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit","format":null},"74":{"settings":{"visbility":"visible"},"description":"Used to specify an array of entry types within the eventlog to be excluded.","caption":"ExcludeEntryType","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"74","varname":"IcingaCheckEventlog_Array_ExcludeEntryType","format":null},"147":{"settings":{"visbility":"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":"147","varname":"IcingaCheckNLA_Array_NICs","format":null},"98":{"settings":{"datalist":"IcingaCheckICMP Verbosity","behavior":"strict","data_type":"string"},"description":"Increase the printed output message by adding additional details or print all data regardless of their status","caption":"Verbosity","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeDatalist","originalId":"98","varname":"IcingaCheckICMP_Int32_Verbosity","format":null},"70":{"settings":{"visbility":"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":"70","varname":"IcingaCheckEventlog_Array_ExcludeEventId","format":null},"174":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"174","varname":"IcingaCheckTimeSync_Switchparameter_NoPerfData","format":null},"17":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"17","varname":"IcingaCheckCheckSum_Switchparameter_NoPerfData","format":null},"69":{"settings":{"visbility":"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":"69","varname":"IcingaCheckEventlog_Array_IncludeEventId","format":null},"88":{"settings":{"visbility":"visible"},"description":"Treshold on which the plugin will return \u0027WARNING\u0027 for the response time in ms","caption":"Warning","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"88","varname":"IcingaCheckICMP_Object_Warning","format":null},"102":{"settings":{"visbility":"visible"},"description":"Used to specify a Warning threshold for the memory usage in percent, like 30 for 30%.\nThis is using the default Icinga threshold handling.","caption":"WarningPercent","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"102","varname":"IcingaCheckMemory_Object_WarningPercent","format":null},"136":{"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":"136","varname":"IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit","format":null},"55":{"settings":{"visbility":"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":"55","varname":"IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning","format":null},"131":{"settings":{"visbility":"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":"131","varname":"IcingaCheckNetworkInterface_Object_LinkSpeedWarn","format":null},"22":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"22","varname":"IcingaCheckCPU_Switchparameter_NoPerfData","format":null},"44":{"settings":{"visbility":"visible"},"description":"Critical treshold for disk Reads/sec is the rate of read operations on the disk.","caption":"DiskReadSecCritical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"44","varname":"IcingaCheckDiskHealth_Object_DiskReadSecCritical","format":null},"109":{"settings":{"visbility":"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":"109","varname":"IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn","format":null},"151":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"151","varname":"IcingaCheckPerfcounter_Switchparameter_NoPerfData","format":null},"61":{"settings":{"visbility":"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":"61","varname":"IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks","format":null},"176":{"settings":{"visbility":"visible"},"description":null,"caption":"UpdateFilter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"176","varname":"IcingaCheckUpdates_Array_UpdateFilter","format":null},"15":{"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":"15","varname":"IcingaCheckCheckSum_String_Algorithm","format":null},"140":{"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":"140","varname":"IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn","format":null},"86":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"86","varname":"IcingaCheckFirewall_Switchparameter_NoPerfData","format":null},"186":{"settings":{"visbility":"visible"},"description":"Used to specify a Critical threshold. In this case an integer value.","caption":"Critical","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"186","varname":"IcingaCheckUsedPartitionSpace_Object_Critical","format":null},"26":{"settings":{"visbility":"visible"},"description":"A switch, which can be set to search through directories recursively.","caption":"Recurse","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"26","varname":"IcingaCheckDirectory_Switchparameter_Recurse","format":null},"138":{"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":"138","varname":"IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn","format":null},"36":{"settings":{"visbility":"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":"36","varname":"IcingaCheckDirectory_String_FileSizeSmallerThan","format":null},"38":{"settings":{"visbility":"visible"},"description":null,"caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"38","varname":"IcingaCheckDirectory_Switchparameter_NoPerfData","format":null},"160":{"settings":{"visbility":"visible"},"description":"Set this argument to not write any performance data","caption":"NoPerfData","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"160","varname":"IcingaCheckScheduledTask_Switchparameter_NoPerfData","format":null},"7":{"settings":{"visbility":"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":"7","varname":"IcingaCheckCertificate_Array_CertThumbprint","format":null},"63":{"settings":{"visbility":"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":"63","varname":"IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly","format":null},"124":{"settings":{"visbility":"visible"},"description":"Critical threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes.","caption":"OutboundAvgBandUsageCrit","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"124","varname":"IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageCrit","format":null},"148":{"settings":{"visbility":"visible"},"description":"Used to specify an array of performance counter to check against.","caption":"PerfCounter","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeArray","originalId":"148","varname":"IcingaCheckPerfcounter_Array_PerfCounter","format":null},"159":{"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":"159","varname":"IcingaCheckScheduledTask_Array_State","format":null},"95":{"settings":{"visbility":"visible"},"description":"Force the usage of IPv4 addresses for ICMP calls by using a hostname","caption":"IPv4","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeBoolean","originalId":"95","varname":"IcingaCheckICMP_Switchparameter_IPv4","format":null}}} diff --git a/config/icinga/Invoke-IcingaCheckBiosSerial.conf b/config/icinga/Invoke-IcingaCheckBiosSerial.conf new file mode 100644 index 00000000..628f9e82 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckBiosSerial.conf @@ -0,0 +1,10 @@ +object CheckCommand "Invoke-IcingaCheckBiosSerial" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckBiosSerial'; exit Invoke-IcingaCheckBiosSerial" + order = 0 + } + } +} diff --git a/config/icinga/Invoke-IcingaCheckCPU.conf b/config/icinga/Invoke-IcingaCheckCPU.conf new file mode 100644 index 00000000..fdf2aa98 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckCPU.conf @@ -0,0 +1,35 @@ +object CheckCommand "Invoke-IcingaCheckCPU" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckCPU'; exit Invoke-IcingaCheckCPU" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckCPU_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckCPU_Object_Warning$" + order = 2 + } + "-Core" = { + description = "Used to specify a single core to check for. For the average load across all cores use `_Total`" + value = "$IcingaCheckCPU_String_Core$" + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckCPU_Object_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckCPU_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckCPU_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckCertificate.conf b/config/icinga/Invoke-IcingaCheckCertificate.conf new file mode 100644 index 00000000..a94164e1 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckCertificate.conf @@ -0,0 +1,96 @@ +object CheckCommand "Invoke-IcingaCheckCertificate" { + import "PowerShell Base" + + arguments += { + "-CertStorePath" = { + description = "Used to specify which path within the CertStore should be checked." + value = "$IcingaCheckCertificate_Object_CertStorePath$" + order = 8 + } + "-CriticalEnd" = { + description = "Used to specify a Critical range for the end date of an certificate. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckCertificate_Object_CriticalEnd$" + order = 4 + } + "-Verbosity" = { + description = "Other" + value = "$IcingaCheckCertificate_Int32_Verbosity$" + order = 11 + } + "-CertSubject" = { + description = "Used to specify an array of Subjects, which are used to determine what certificate to check, within the CertStore." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertSubject$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 7 + } + "-WarningEnd" = { + description = "Used to specify a Warning range for the end date of an certificate. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckCertificate_Object_WarningEnd$" + order = 3 + } + "-CriticalStart" = { + 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. Use format like: 'yyyy-MM-dd'" + value = "$IcingaCheckCertificate_Object_CriticalStart$" + order = 2 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckCertificate'; exit Invoke-IcingaCheckCertificate" + order = 0 + } + "-CertStore" = { + description = "Used to specify which CertStore to check. Valid choices are '*', 'LocalMachine', 'CurrentUser'" + value = "$IcingaCheckCertificate_String_CertStore$" + order = 5 + } + "-Trusted" = { + set_if = "$IcingaCheckCertificate_Switchparameter_Trusted$" + set_if_format = "string" + order = 99 + } + "-CertPaths" = { + description = "Used to specify an array of paths on your system, where certificate files are. Use with CertName." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertPaths$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 9 + } + "-CertThumbprint" = { + description = "Used to specify an array of Thumbprints, which are used to determine what certificate to check, within the CertStore." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertThumbprint$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 6 + } + "-Recurse" = { + set_if = "$IcingaCheckCertificate_Switchparameter_Recurse$" + set_if_format = "string" + order = 99 + } + "-CertName" = { + description = "Used to specify an array of certificate names of certificate files to check. Use with CertPaths." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertName$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 10 + } + } + vars.IcingaCheckCertificate_Switchparameter_Recurse = False + vars.IcingaCheckCertificate_Switchparameter_Trusted = False +} diff --git a/config/icinga/Invoke-IcingaCheckCheckSum.conf b/config/icinga/Invoke-IcingaCheckCheckSum.conf new file mode 100644 index 00000000..d25983e1 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckCheckSum.conf @@ -0,0 +1,33 @@ +object CheckCommand "Invoke-IcingaCheckCheckSum" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckCheckSum'; exit Invoke-IcingaCheckCheckSum" + order = 0 + } + "-Path" = { + value = "$IcingaCheckCheckSum_String_Path$" + order = 2 + } + "-Verbosity" = { + value = "$IcingaCheckCheckSum_Int32_Verbosity$" + order = 5 + } + "-Algorithm" = { + description = "Used to specify a string, which contains the algorithm to be used. Allowed algorithms: 'SHA1', 'SHA256', 'SHA384', 'SHA512', 'MD5'" + value = "$IcingaCheckCheckSum_String_Algorithm$" + order = 3 + } + "-Hash" = { + value = "$IcingaCheckCheckSum_String_Hash$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckCheckSum_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckCheckSum_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckDirectory.conf b/config/icinga/Invoke-IcingaCheckDirectory.conf new file mode 100644 index 00000000..1e4abdc1 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckDirectory.conf @@ -0,0 +1,92 @@ +object CheckCommand "Invoke-IcingaCheckDirectory" { + import "PowerShell Base" + + arguments += { + "-Path" = { + description = "Used to specify a path. e.g. 'C:\Users\Icinga\Downloads'" + value = "$IcingaCheckDirectory_String_Path$" + order = 2 + } + "-Verbosity" = { + value = "$IcingaCheckDirectory_Int32_Verbosity$" + order = 14 + } + "-CreationOlderThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a creation date older then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_CreationOlderThan$" + order = 10 + } + "-FileSizeGreaterThan" = { + description = "String that expects input format like '20MB', which translates to the filze size 20 MB. Allowed units: B, KB, MB, GB, TB. Thereby all files with a size of 20 MB or larger are considered within the check." + value = "$IcingaCheckDirectory_String_FileSizeGreaterThan$" + order = 12 + } + "-NoPerfData" = { + set_if = "$IcingaCheckDirectory_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-ChangeYoungerThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a change date younger then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_ChangeYoungerThan$" + order = 7 + } + "-FileSizeSmallerThan" = { + description = "String that expects input format like '5MB', which translates to the filze size 5 MB. Allowed units: B, KB, MB, GB, TB. Thereby all files with a size of 5 MB or less are considered within the check." + value = "$IcingaCheckDirectory_String_FileSizeSmallerThan$" + order = 13 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckDirectory'; exit Invoke-IcingaCheckDirectory" + order = 0 + } + "-ChangeOlderThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a change date older then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_ChangeOlderThan$" + order = 8 + } + "-CreationTimeEqual" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have been created 20 days ago are considered within the check." + value = "$IcingaCheckDirectory_String_CreationTimeEqual$" + order = 9 + } + "-ChangeTimeEqual" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have been changed 20 days ago are considered within the check." + value = "$IcingaCheckDirectory_String_ChangeTimeEqual$" + order = 6 + } + "-FileNames" = { + description = "Used to specify an array of filenames or expressions to match against results to filter for specific files. e.g '*.txt', '*.sql' # Fiends all files ending with .txt and .sql" + value = {{ + var arr = macro("$IcingaCheckDirectory_Array_FileNames$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold. Follows the Icinga plugin threshold" + value = "$IcingaCheckDirectory_Object_Critical$" + order = 4 + } + "-CreationYoungerThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a creation date younger then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_CreationYoungerThan$" + order = 11 + } + "-Recurse" = { + set_if = "$IcingaCheckDirectory_Switchparameter_Recurse$" + set_if_format = "string" + order = 99 + } + "-Warning" = { + description = "Used to specify a Warning threshold. Follows the Icinga plugin threshold" + value = "$IcingaCheckDirectory_Object_Warning$" + order = 5 + } + } + vars.IcingaCheckDirectory_Switchparameter_NoPerfData = False + vars.IcingaCheckDirectory_Switchparameter_Recurse = False +} diff --git a/config/icinga/Invoke-IcingaCheckDiskHealth.conf b/config/icinga/Invoke-IcingaCheckDiskHealth.conf new file mode 100644 index 00000000..0c9fa3fa --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckDiskHealth.conf @@ -0,0 +1,172 @@ +object CheckCommand "Invoke-IcingaCheckDiskHealth" { + import "PowerShell Base" + + arguments += { + "-DiskReadByteSecWarning" = { + description = "Warning threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations." + value = "$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$" + order = 14 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckDiskHealth'; exit Invoke-IcingaCheckDiskHealth" + order = 0 + } + "-DiskWriteByteSecWarning" = { + description = "Warning threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations." + value = "$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$" + order = 16 + } + "-NoPerfData" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-ExcludeDisk" = { + description = "Specify the index id of disks you want to exclude from checks. Example 0, 1" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_ExcludeDisk$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-IgnoreReadOnlyDisks" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$" + set_if_format = "string" + order = 99 + } + "-IncludeDisk" = { + description = "Specify the index id of disks you want to include for checks. Example 0, 1" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_IncludeDisk$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-DiskQueueAvgLenCritical" = { + 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." + value = "$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$" + order = 13 + } + "-DiskQueueLenWarning" = { + 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. It also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the time interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests are awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the disk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue minus the number of spindles on the disks. For good performance, this difference should average less than two." + value = "$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$" + order = 10 + } + "-IncludePartition" = { + description = "Specify the partition drive letters for disks to include for checks. Example C:, D:" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_IncludePartition$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-DiskAvgReadSecCritical" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$" + order = 21 + } + "-DiskWriteSecCritical" = { + description = "Critical threshold for disk Writes/sec is the rate of write operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$" + order = 9 + } + "-DiskQueueAvgLenWarning" = { + 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." + value = "$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$" + order = 12 + } + "-DiskAvgReadSecWarning" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$" + order = 20 + } + "-DiskWriteByteSecCritical" = { + description = "Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations." + value = "$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$" + order = 17 + } + "-DiskAvgTransSecWarning" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$" + order = 18 + } + "-DiskAvgWriteSecWarning" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$" + order = 22 + } + "-Verbosity" = { + value = "$IcingaCheckDiskHealth_Int32_Verbosity$" + order = 24 + } + "-DiskReadSecWarning" = { + description = "Warning threshold for disk Reads/sec is the rate of read operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskReadSecWarning$" + order = 6 + } + "-ExcludePartition" = { + description = "Specify the partition drive letters for disks to exclude from checks. Example C:, D:" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_ExcludePartition$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-DiskReadSecCritical" = { + description = "Critical treshold for disk Reads/sec is the rate of read operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskReadSecCritical$" + order = 7 + } + "-CheckLogicalOnly" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$" + set_if_format = "string" + order = 99 + } + "-DiskReadByteSecCritical" = { + description = "Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations." + value = "$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$" + order = 15 + } + "-DiskAvgWriteSecCritical" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$" + order = 23 + } + "-IgnoreOfflineDisks" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$" + set_if_format = "string" + order = 99 + } + "-DiskWriteSecWarning" = { + description = "Warning theeshold for disk Writes/sec is the rate of write operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$" + order = 8 + } + "-DiskQueueLenCritical" = { + 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. It also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the time interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests are awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the disk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue minus the number of spindles on the disks. For good performance, this difference should average less than two." + value = "$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$" + order = 11 + } + "-DiskAvgTransSecCritical" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$" + order = 19 + } + } + vars.IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks = False + vars.IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks = False + vars.IcingaCheckDiskHealth_Switchparameter_NoPerfData = False + vars.IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly = False +} diff --git a/config/icinga/Invoke-IcingaCheckEventlog.conf b/config/icinga/Invoke-IcingaCheckEventlog.conf new file mode 100644 index 00000000..3e741921 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckEventlog.conf @@ -0,0 +1,161 @@ +object CheckCommand "Invoke-IcingaCheckEventlog" { + import "PowerShell Base" + + arguments += { + "-Before" = { + description = "Used to specify a date like dd.mm.yyyy and every eventlog entry before that date will be considered." + value = "$IcingaCheckEventlog_Object_Before$" + order = 16 + } + "-NoPerfData" = { + set_if = "$IcingaCheckEventlog_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-IncludeMessage" = { + description = "Used to specify an array of messages within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeMessage$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 11 + } + "-IncludeSource" = { + description = "Used to specify an array of message sources within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeSource$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 13 + } + "-After" = { + description = "Used to specify a date like dd.mm.yyyy and every eventlog entry after that date will be considered." + value = "$IcingaCheckEventlog_Object_After$" + order = 15 + } + "-IncludeEventId" = { + description = "Used to specify an array of events identified by their id to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeEventId$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-LogName" = { + description = "Used to specify a certain log." + value = "$IcingaCheckEventlog_String_LogName$" + order = 4 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckEventlog'; exit Invoke-IcingaCheckEventlog" + order = 0 + } + "-ExcludeSource" = { + description = "Used to specify an array of message sources within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeSource$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 14 + } + "-ExcludeUsername" = { + description = "Used to specify an array of usernames within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeUsername$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 8 + } + "-ExcludeEntryType" = { + description = "Used to specify an array of entry types within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeEntryType$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 10 + } + "-IncludeEntryType" = { + description = "Used to specify an array of entry types within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeEntryType$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 9 + } + "-Verbosity" = { + value = "$IcingaCheckEventlog_Int32_Verbosity$" + order = 17 + } + "-ExcludeEventId" = { + description = "Used to specify an array of events identified by their id to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeEventId$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 6 + } + "-Critical" = { + description = "Used to specify a Critical threshold." + value = "$IcingaCheckEventlog_Object_Critical$" + order = 3 + } + "-DisableTimeCache" = { + set_if = "$IcingaCheckEventlog_Switchparameter_DisableTimeCache$" + set_if_format = "string" + order = 99 + } + "-Warning" = { + description = "Used to specify a Warning threshold." + value = "$IcingaCheckEventlog_Object_Warning$" + order = 2 + } + "-IncludeUsername" = { + description = "Used to specify an array of usernames within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeUsername$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 7 + } + "-ExcludeMessage" = { + description = "Used to specify an array of messages within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeMessage$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 12 + } + } + vars.IcingaCheckEventlog_Switchparameter_NoPerfData = False + vars.IcingaCheckEventlog_Switchparameter_DisableTimeCache = False +} diff --git a/config/icinga/Invoke-IcingaCheckFirewall.conf b/config/icinga/Invoke-IcingaCheckFirewall.conf new file mode 100644 index 00000000..777923d0 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckFirewall.conf @@ -0,0 +1,37 @@ +object CheckCommand "Invoke-IcingaCheckFirewall" { + import "PowerShell Base" + + arguments += { + "-Verbosity" = { + value = "$IcingaCheckFirewall_Int32_Verbosity$" + order = 3 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckFirewall'; exit Invoke-IcingaCheckFirewall" + order = 0 + } + "-Profile" = { + description = "Used to specify an array of profiles to check. Available profiles are 'Domain', 'Public', 'Private'" + value = {{ + var arr = macro("$IcingaCheckFirewall_Array_Profile$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + 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 + } + } + vars.IcingaCheckFirewall_Switchparameter_Enabled = False + vars.IcingaCheckFirewall_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckICMP.conf b/config/icinga/Invoke-IcingaCheckICMP.conf new file mode 100644 index 00000000..5765f019 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckICMP.conf @@ -0,0 +1,68 @@ +object CheckCommand "Invoke-IcingaCheckICMP" { + import "PowerShell Base" + + arguments += { + "-WarningPl" = { + description = "Treshold on which the plugin will return 'WARNING' for the response time in ms" + value = "$IcingaCheckICMP_Object_WarningPl$" + order = 4 + } + "-Hostname" = { + description = "The target hosts IP or FQDN to send ICMP requests too" + value = "$IcingaCheckICMP_String_Hostname$" + order = 6 + } + "-Warning" = { + description = "Treshold on which the plugin will return 'WARNING' for the response time in ms" + value = "$IcingaCheckICMP_Object_Warning$" + order = 2 + } + "-Verbosity" = { + description = "Increase the printed output message by adding additional details or print all data regardless of their status" + value = "$IcingaCheckICMP_Int32_Verbosity$" + order = 9 + } + "-PacketCount" = { + description = "The amount of packets send to the target host" + value = "$IcingaCheckICMP_Int32_PacketCount$" + order = 7 + } + "-IPv6" = { + set_if = "$IcingaCheckICMP_Switchparameter_IPv6$" + set_if_format = "string" + order = 99 + } + "-PacketSize" = { + description = "The size of each packet send to the target host" + value = "$IcingaCheckICMP_Int32_PacketSize$" + order = 8 + } + "-NoPerfData" = { + set_if = "$IcingaCheckICMP_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Critical" = { + description = "Treshold on which the plugin will return 'CRITICAL' for the response time in ms" + value = "$IcingaCheckICMP_Object_Critical$" + order = 3 + } + "-IPv4" = { + set_if = "$IcingaCheckICMP_Switchparameter_IPv4$" + set_if_format = "string" + order = 99 + } + "-CriticalPl" = { + description = "Treshold on which the plugin will return 'CRITICAL' for the response time in ms" + value = "$IcingaCheckICMP_Object_CriticalPl$" + order = 5 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckICMP'; exit Invoke-IcingaCheckICMP" + order = 0 + } + } + vars.IcingaCheckICMP_Switchparameter_NoPerfData = False + vars.IcingaCheckICMP_Switchparameter_IPv6 = False + vars.IcingaCheckICMP_Switchparameter_IPv4 = False +} diff --git a/config/icinga/Invoke-IcingaCheckMemory.conf b/config/icinga/Invoke-IcingaCheckMemory.conf new file mode 100644 index 00000000..69eff520 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckMemory.conf @@ -0,0 +1,40 @@ +object CheckCommand "Invoke-IcingaCheckMemory" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckMemory'; exit Invoke-IcingaCheckMemory" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckMemory_Int32_Verbosity$" + order = 6 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an string value. The string has to be like, '20B', '20KB', '20MB', '20GB', '20TB', '20PB' This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_String_Warning$" + order = 3 + } + "-CriticalPercent" = { + description = "Used to specify a Critical threshold for the memory usage in percent, like 30 for 30%. This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_Object_CriticalPercent$" + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an string value. The string has to be like, '20B', '20KB', '20MB', '20GB', '20TB', '20PB' This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_String_Critical$" + order = 2 + } + "-NoPerfData" = { + set_if = "$IcingaCheckMemory_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-WarningPercent" = { + description = "Used to specify a Warning threshold for the memory usage in percent, like 30 for 30%. This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_Object_WarningPercent$" + order = 5 + } + } + vars.IcingaCheckMemory_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckNLA.conf b/config/icinga/Invoke-IcingaCheckNLA.conf new file mode 100644 index 00000000..1aba5a0a --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckNLA.conf @@ -0,0 +1,30 @@ +object CheckCommand "Invoke-IcingaCheckNLA" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckNLA'; exit Invoke-IcingaCheckNLA" + order = 0 + } + "-Profile" = { + description = "Used to specify the profile to check. Available profiles are 'DomainAuthenticated', 'Public', 'Private'" + value = "$IcingaCheckNLA_String_Profile$" + order = 2 + } + "-NICs" = { + description = "Used to specify the NICs where to check the filewall profile. When not presented every nic which is active will be checked" + value = {{ + var arr = macro("$IcingaCheckNLA_Array_NICs$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-Verbosity" = { + value = "$IcingaCheckNLA_Int32_Verbosity$" + order = 3 + } + } +} diff --git a/config/icinga/Invoke-IcingaCheckNetworkInterface.conf b/config/icinga/Invoke-IcingaCheckNetworkInterface.conf new file mode 100644 index 00000000..3b334f00 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckNetworkInterface.conf @@ -0,0 +1,236 @@ +object CheckCommand "Invoke-IcingaCheckNetworkInterface" { + import "PowerShell Base" + + arguments += { + "-PacketSentSecWarn" = { + description = "Warning threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$" + order = 8 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckNetworkInterface'; exit Invoke-IcingaCheckNetworkInterface" + order = 0 + } + "-NoPerfData" = { + set_if = "$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-LinkSpeedCrit" = { + description = "Critical threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface." + value = "$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$" + order = 29 + } + "-DeviceReceivedBytesSecWarn" = { + description = "Warning threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$" + order = 26 + } + "-PackteOutboundErrorCrit" = { + description = "Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted because of errors." + value = "$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$" + order = 13 + } + "-IncomingAvgBandUsageCrit" = { + description = "Critical threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes." + value = "$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageCrit$" + order = 19 + } + "-PackteReceivedErrorCrit" = { + description = "Critical threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$" + order = 11 + } + "-DeviceSentBytesSecCrit" = { + description = "Critical threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$" + order = 25 + } + "-IfSlaveEnabledStateCrit" = { + description = "Critical threshold for the State of a network Interface Team-Members/Slaves." + value = "$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$" + order = 33 + } + "-PacketOutboundDiscardedWarn" = { + description = "Warning threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent transmission." + value = "$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$" + order = 16 + } + "-PacketOutboundDiscardedCrit" = { + description = "Critical threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent transmission." + value = "$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$" + order = 17 + } + "-IfTeamStatusWarn" = { + description = "Warning threshold for the Status of a network Interface Teams." + value = "$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$" + order = 30 + } + "-IncludeHidden" = { + set_if = "$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$" + set_if_format = "string" + order = 99 + } + "-OutboundAvgBandUsageWarn" = { + description = "Warning threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes." + value = "$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageWarn$" + order = 20 + } + "-IncomingAvgBandUsageWarn" = { + description = "Warning threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes." + value = "$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageWarn$" + order = 18 + } + "-DeviceTotalBytesSecCrit" = { + description = "Critical threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$" + order = 23 + } + "-PackteOutboundErrorWarn" = { + description = "Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted because of errors." + value = "$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$" + order = 12 + } + "-DeviceTotalBytesSecWarn" = { + description = "Warning threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$" + order = 22 + } + "-IfTeamStatusCrit" = { + description = "Critical threshold for the Status of a network Interface Teams." + value = "$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$" + order = 31 + } + "-LinkSpeedWarn" = { + description = "Warning threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface." + value = "$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$" + order = 28 + } + "-IncludeNetworkDevice" = { + description = "Specify the index of network adapters you want to include for checks. Example 4, 3" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-DeviceSentBytesSecWarn" = { + description = "Warning threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$" + order = 24 + } + "-DeviceReceivedBytesSecCrit" = { + description = "Critical threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$" + order = 27 + } + "-PackteReceivedErrorWarn" = { + description = "Warning threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$" + order = 10 + } + "-PacketReceivedDiscardedWarn" = { + description = "Warning threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their delivery to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$" + order = 14 + } + "-IfConnectionStatusCrit" = { + description = "Critical threshold for the state of the network adapter connection to the network." + value = "$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$" + order = 38 + } + "-IncludeInterfaceTeam" = { + description = "Specify the name of network interface teams you want to include for checks. Example OutboundGroup, ClusterInterface" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-PacketReceivedSecWarn" = { + description = "Warning threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$" + order = 6 + } + "-PacketReceivedDiscardedCrit" = { + description = "Critical threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their delivery to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$" + order = 15 + } + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state" + value = "$IcingaCheckNetworkInterface_Object_Verbosity$" + order = 39 + } + "-IfOperationalStatusCrit" = { + description = "Critical threshold for the current network interface operational status." + value = "$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$" + order = 36 + } + "-IfSlaveEnabledStateWarn" = { + description = "Warning threshold for the State of a network Interface Team-Members/Slaves." + value = "$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$" + order = 32 + } + "-IfConnectionStatusWarn" = { + description = "Warning threshold for the state of the network adapter connection to the network." + value = "$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$" + order = 37 + } + "-IfOperationalStatusWarn" = { + description = "Warning threshold for the current network interface operational status." + value = "$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$" + order = 35 + } + "-ExcludeNetworkDevice" = { + description = "Specify the index of network adapters you want to exclude for checks. Example 4, 3" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-PacketReceivedSecCrit" = { + description = "Critical threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$" + order = 7 + } + "-ExcludeInterfaceTeam" = { + description = "Specify the name of network interface teams you want to exclude for checks. Example OutboundGroup, ClusterInterface" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-PacketSentSecCrit" = { + description = "Critical threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$" + order = 9 + } + "-IfAdminStatusWarn" = { + description = "Warning threshold for the network Interface administrative status." + value = "$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$" + order = 34 + } + "-OutboundAvgBandUsageCrit" = { + description = "Critical threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes." + value = "$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageCrit$" + order = 21 + } + } + vars.IcingaCheckNetworkInterface_Switchparameter_IncludeHidden = False + vars.IcingaCheckNetworkInterface_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckPerfcounter.conf b/config/icinga/Invoke-IcingaCheckPerfcounter.conf new file mode 100644 index 00000000..74e576bc --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckPerfcounter.conf @@ -0,0 +1,41 @@ +object CheckCommand "Invoke-IcingaCheckPerfcounter" { + import "PowerShell Base" + + arguments += { + "-PerfCounter" = { + description = "Used to specify an array of performance counter to check against." + value = {{ + var arr = macro("$IcingaCheckPerfcounter_Array_PerfCounter$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-Verbosity" = { + value = "$IcingaCheckPerfcounter_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an ??? value." + value = "$IcingaCheckPerfcounter_Object_Warning$" + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an ??? value." + value = "$IcingaCheckPerfcounter_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckPerfcounter_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckPerfcounter'; exit Invoke-IcingaCheckPerfcounter" + order = 0 + } + } + vars.IcingaCheckPerfcounter_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckProcessCount.conf b/config/icinga/Invoke-IcingaCheckProcessCount.conf new file mode 100644 index 00000000..40c345f8 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckProcessCount.conf @@ -0,0 +1,41 @@ +object CheckCommand "Invoke-IcingaCheckProcessCount" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckProcessCount'; exit Invoke-IcingaCheckProcessCount" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckProcessCount_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckProcessCount_Object_Warning$" + order = 2 + } + "-Process" = { + description = "Used to specify an array of processes to count and match against. e.g. conhost,wininit" + value = {{ + var arr = macro("$IcingaCheckProcessCount_Array_Process$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckProcessCount_Object_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckProcessCount_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckProcessCount_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckScheduledTask.conf b/config/icinga/Invoke-IcingaCheckScheduledTask.conf new file mode 100644 index 00000000..92f545ab --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckScheduledTask.conf @@ -0,0 +1,43 @@ +object CheckCommand "Invoke-IcingaCheckScheduledTask" { + import "PowerShell Base" + + arguments += { + "-TaskName" = { + description = "A list of tasks to check for. If your tasks contain spaces, wrap them around a ' to ensure they are properly handled as string" + value = {{ + var arr = macro("$IcingaCheckScheduledTask_Array_TaskName$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckScheduledTask'; exit Invoke-IcingaCheckScheduledTask" + order = 0 + } + "-NoPerfData" = { + set_if = "$IcingaCheckScheduledTask_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-State" = { + description = "The state a task should currently have for the plugin to return [OK]" + value = {{ + var arr = macro("$IcingaCheckScheduledTask_Array_State$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-Verbosity" = { + description = "Increase the printed output message by adding additional details or print all data regardless of their status" + value = "$IcingaCheckScheduledTask_Int32_Verbosity$" + order = 4 + } + } + vars.IcingaCheckScheduledTask_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckService.conf b/config/icinga/Invoke-IcingaCheckService.conf new file mode 100644 index 00000000..94764a4d --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckService.conf @@ -0,0 +1,48 @@ +object CheckCommand "Invoke-IcingaCheckService" { + import "PowerShell Base" + + arguments += { + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state" + value = "$IcingaCheckService_Int32_Verbosity$" + order = 5 + } + "-Status" = { + description = "Status for the specified service or services to check against." + value = "$IcingaCheckService_String_Status$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckService_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Service" = { + description = "Used to specify an array of services which should be checked against the status. Supports '*' for wildcards." + value = {{ + var arr = macro("$IcingaCheckService_Array_Service$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-Exclude" = { + description = "Allows to exclude services which might come in handy for checking services which are configured to start automatically on Windows but are not running and weren't exited properly." + value = {{ + var arr = macro("$IcingaCheckService_Array_Exclude$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckService'; exit Invoke-IcingaCheckService" + order = 0 + } + } + vars.IcingaCheckService_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckTimeSync.conf b/config/icinga/Invoke-IcingaCheckTimeSync.conf new file mode 100644 index 00000000..e1e80e8a --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckTimeSync.conf @@ -0,0 +1,56 @@ +object CheckCommand "Invoke-IcingaCheckTimeSync" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckTimeSync'; exit Invoke-IcingaCheckTimeSync" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckTimeSync_Int32_Verbosity$" + order = 8 + } + "-Warning" = { + description = "Used to specify a offset Warning threshold e.g 10ms or 0.01s" + value = "$IcingaCheckTimeSync_Object_Warning$" + order = 4 + } + "-Timeout" = { + description = "Seconds before connection times out (default: 10)" + value = "$IcingaCheckTimeSync_Int32_Timeout$" + order = 6 + } + "-Port" = { + description = "Port number (default: 123)" + value = "$IcingaCheckTimeSync_Int32_Port$" + order = 7 + } + "-NoPerfData" = { + set_if = "$IcingaCheckTimeSync_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Critical" = { + description = "Used to specify a offset Critical threshold e.g 20ms or 0.02s." + value = "$IcingaCheckTimeSync_Object_Critical$" + order = 5 + } + "-Server" = { + description = "The NTP Server you want to connect to." + value = "$IcingaCheckTimeSync_String_Server$" + order = 2 + } + "-TimeOffset" = { + 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. Invoke-IcingaCheckTimeSync will return OK, if there is no difference between them, WARNING, if the time difference exceeds the Warning threshold, CRITICAL, if the time difference exceeds the Critical threshold." + value = "$IcingaCheckTimeSync_Object_TimeOffset$" + order = 3 + } + "-IPV4" = { + set_if = "$IcingaCheckTimeSync_Switchparameter_IPV4$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckTimeSync_Switchparameter_NoPerfData = False + vars.IcingaCheckTimeSync_Switchparameter_IPV4 = False +} diff --git a/config/icinga/Invoke-IcingaCheckUpdates.conf b/config/icinga/Invoke-IcingaCheckUpdates.conf new file mode 100644 index 00000000..7cc84d97 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckUpdates.conf @@ -0,0 +1,40 @@ +object CheckCommand "Invoke-IcingaCheckUpdates" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUpdates'; exit Invoke-IcingaCheckUpdates" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckUpdates_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckUpdates_Object_Warning$" + order = 3 + } + "-UpdateFilter" = { + value = {{ + var arr = macro("$IcingaCheckUpdates_Array_UpdateFilter$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckUpdates_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUpdates_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckUpdates_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckUptime.conf b/config/icinga/Invoke-IcingaCheckUptime.conf new file mode 100644 index 00000000..8f0f6308 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckUptime.conf @@ -0,0 +1,30 @@ +object CheckCommand "Invoke-IcingaCheckUptime" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUptime'; exit Invoke-IcingaCheckUptime" + order = 0 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckUptime_String_Warning$" + order = 2 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckUptime_String_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUptime_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Verbosity" = { + value = "$IcingaCheckUptime_Int32_Verbosity$" + order = 4 + } + } + vars.IcingaCheckUptime_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckUsedPartitionSpace.conf b/config/icinga/Invoke-IcingaCheckUsedPartitionSpace.conf new file mode 100644 index 00000000..67f2b4f7 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckUsedPartitionSpace.conf @@ -0,0 +1,65 @@ +object CheckCommand "Invoke-IcingaCheckUsedPartitionSpace" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUsedPartitionSpace'; exit Invoke-IcingaCheckUsedPartitionSpace" + order = 0 + } + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state" + value = "$IcingaCheckUsedPartitionSpace_Int32_Verbosity$" + order = 6 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckUsedPartitionSpace_Object_Warning$" + order = 2 + } + "-IgnoreEmptyChecks" = { + set_if = "$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$" + set_if_format = "string" + order = 99 + } + "-Include" = { + 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. e.g. 'C:\','D:\'" + value = {{ + var arr = macro("$IcingaCheckUsedPartitionSpace_Array_Include$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckUsedPartitionSpace_Object_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Exclude" = { + description = "Used to specify an array of partitions to be excluded. e.g. 'C:\','D:\'" + value = {{ + var arr = macro("$IcingaCheckUsedPartitionSpace_Array_Exclude$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-SkipUnknown" = { + set_if = "$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown = False + vars.IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks = False + vars.IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Invoke-IcingaCheckUsers.conf b/config/icinga/Invoke-IcingaCheckUsers.conf new file mode 100644 index 00000000..9b51d440 --- /dev/null +++ b/config/icinga/Invoke-IcingaCheckUsers.conf @@ -0,0 +1,41 @@ +object CheckCommand "Invoke-IcingaCheckUsers" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUsers'; exit Invoke-IcingaCheckUsers" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckUsers_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckUsers_Object_Warning$" + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckUsers_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUsers_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Username" = { + description = "Used to specify an array of usernames to match against. e.g 'Administrator', 'Icinga'" + value = {{ + var arr = macro("$IcingaCheckUsers_Array_Username$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + } + vars.IcingaCheckUsers_Switchparameter_NoPerfData = False +} diff --git a/config/icinga/Plugins_Bundle.conf b/config/icinga/Plugins_Bundle.conf new file mode 100644 index 00000000..7862401b --- /dev/null +++ b/config/icinga/Plugins_Bundle.conf @@ -0,0 +1,1437 @@ +object CheckCommand "Invoke-IcingaCheckCertificate" { + import "PowerShell Base" + + arguments += { + "-CertStorePath" = { + description = "Used to specify which path within the CertStore should be checked." + value = "$IcingaCheckCertificate_Object_CertStorePath$" + order = 8 + } + "-CriticalEnd" = { + description = "Used to specify a Critical range for the end date of an certificate. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckCertificate_Object_CriticalEnd$" + order = 4 + } + "-Verbosity" = { + description = "Other" + value = "$IcingaCheckCertificate_Int32_Verbosity$" + order = 11 + } + "-CertSubject" = { + description = "Used to specify an array of Subjects, which are used to determine what certificate to check, within the CertStore." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertSubject$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 7 + } + "-WarningEnd" = { + description = "Used to specify a Warning range for the end date of an certificate. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckCertificate_Object_WarningEnd$" + order = 3 + } + "-CriticalStart" = { + 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. Use format like: 'yyyy-MM-dd'" + value = "$IcingaCheckCertificate_Object_CriticalStart$" + order = 2 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckCertificate'; exit Invoke-IcingaCheckCertificate" + order = 0 + } + "-CertStore" = { + description = "Used to specify which CertStore to check. Valid choices are '*', 'LocalMachine', 'CurrentUser'" + value = "$IcingaCheckCertificate_String_CertStore$" + order = 5 + } + "-Trusted" = { + set_if = "$IcingaCheckCertificate_Switchparameter_Trusted$" + set_if_format = "string" + order = 99 + } + "-CertPaths" = { + description = "Used to specify an array of paths on your system, where certificate files are. Use with CertName." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertPaths$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 9 + } + "-CertThumbprint" = { + description = "Used to specify an array of Thumbprints, which are used to determine what certificate to check, within the CertStore." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertThumbprint$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 6 + } + "-Recurse" = { + set_if = "$IcingaCheckCertificate_Switchparameter_Recurse$" + set_if_format = "string" + order = 99 + } + "-CertName" = { + description = "Used to specify an array of certificate names of certificate files to check. Use with CertPaths." + value = {{ + var arr = macro("$IcingaCheckCertificate_Array_CertName$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 10 + } + } + vars.IcingaCheckCertificate_Switchparameter_Recurse = False + vars.IcingaCheckCertificate_Switchparameter_Trusted = False +} + +object CheckCommand "Invoke-IcingaCheckICMP" { + import "PowerShell Base" + + arguments += { + "-WarningPl" = { + description = "Treshold on which the plugin will return 'WARNING' for possible packet loss in %" + value = "$IcingaCheckICMP_Object_WarningPl$" + order = 4 + } + "-Hostname" = { + description = "The target hosts IP or FQDN to send ICMP requests too" + value = "$IcingaCheckICMP_String_Hostname$" + order = 6 + } + "-Warning" = { + description = "Treshold on which the plugin will return 'WARNING' for the response time in ms" + value = "$IcingaCheckICMP_Object_Warning$" + order = 2 + } + "-Verbosity" = { + description = "Increase the printed output message by adding additional details or print all data regardless of their status" + value = "$IcingaCheckICMP_Int32_Verbosity$" + order = 9 + } + "-PacketCount" = { + description = "The amount of packets send to the target host" + value = "$IcingaCheckICMP_Int32_PacketCount$" + order = 7 + } + "-IPv6" = { + set_if = "$IcingaCheckICMP_Switchparameter_IPv6$" + set_if_format = "string" + order = 99 + } + "-PacketSize" = { + description = "The size of each packet send to the target host" + value = "$IcingaCheckICMP_Int32_PacketSize$" + order = 8 + } + "-NoPerfData" = { + set_if = "$IcingaCheckICMP_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Critical" = { + description = "Treshold on which the plugin will return 'CRITICAL' for the response time in ms" + value = "$IcingaCheckICMP_Object_Critical$" + order = 3 + } + "-IPv4" = { + set_if = "$IcingaCheckICMP_Switchparameter_IPv4$" + set_if_format = "string" + order = 99 + } + "-CriticalPl" = { + description = "Treshold on which the plugin will return 'CRITICAL' for the response time in ms" + value = "$IcingaCheckICMP_Object_CriticalPl$" + order = 5 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckICMP'; exit Invoke-IcingaCheckICMP" + order = 0 + } + } + vars.IcingaCheckICMP_Switchparameter_NoPerfData = False + vars.IcingaCheckICMP_Switchparameter_IPv6 = False + vars.IcingaCheckICMP_Switchparameter_IPv4 = False +} + +object CheckCommand "Invoke-IcingaCheckDirectory" { + import "PowerShell Base" + + arguments += { + "-Path" = { + description = "Used to specify a path. e.g. 'C:\Users\Icinga\Downloads'" + value = "$IcingaCheckDirectory_String_Path$" + order = 2 + } + "-Verbosity" = { + value = "$IcingaCheckDirectory_Int32_Verbosity$" + order = 14 + } + "-CreationOlderThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a creation date older then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_CreationOlderThan$" + order = 10 + } + "-FileSizeGreaterThan" = { + description = "String that expects input format like '20MB', which translates to the filze size 20 MB. Allowed units: B, KB, MB, GB, TB. Thereby all files with a size of 20 MB or larger are considered within the check." + value = "$IcingaCheckDirectory_String_FileSizeGreaterThan$" + order = 12 + } + "-NoPerfData" = { + set_if = "$IcingaCheckDirectory_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-ChangeYoungerThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a change date younger then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_ChangeYoungerThan$" + order = 7 + } + "-FileSizeSmallerThan" = { + description = "String that expects input format like '5MB', which translates to the filze size 5 MB. Allowed units: B, KB, MB, GB, TB. Thereby all files with a size of 5 MB or less are considered within the check." + value = "$IcingaCheckDirectory_String_FileSizeSmallerThan$" + order = 13 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckDirectory'; exit Invoke-IcingaCheckDirectory" + order = 0 + } + "-ChangeOlderThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a change date older then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_ChangeOlderThan$" + order = 8 + } + "-CreationTimeEqual" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have been created 20 days ago are considered within the check." + value = "$IcingaCheckDirectory_String_CreationTimeEqual$" + order = 9 + } + "-ChangeTimeEqual" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have been changed 20 days ago are considered within the check." + value = "$IcingaCheckDirectory_String_ChangeTimeEqual$" + order = 6 + } + "-FileNames" = { + description = "Used to specify an array of filenames or expressions to match against results to filter for specific files. e.g '*.txt', '*.sql' # Fiends all files ending with .txt and .sql" + value = {{ + var arr = macro("$IcingaCheckDirectory_Array_FileNames$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold. Follows the Icinga plugin threshold" + value = "$IcingaCheckDirectory_Object_Critical$" + order = 4 + } + "-CreationYoungerThan" = { + description = "String that expects input format like '20d', which translates to 20 days. Allowed units: ms, s, m, h, d, w, M, y. Thereby all files which have a creation date younger then 20 days are considered within the check." + value = "$IcingaCheckDirectory_String_CreationYoungerThan$" + order = 11 + } + "-Recurse" = { + set_if = "$IcingaCheckDirectory_Switchparameter_Recurse$" + set_if_format = "string" + order = 99 + } + "-Warning" = { + description = "Used to specify a Warning threshold. Follows the Icinga plugin threshold" + value = "$IcingaCheckDirectory_Object_Warning$" + order = 5 + } + } + vars.IcingaCheckDirectory_Switchparameter_NoPerfData = False + vars.IcingaCheckDirectory_Switchparameter_Recurse = False +} + +object CheckCommand "Invoke-IcingaCheckUptime" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUptime'; exit Invoke-IcingaCheckUptime" + order = 0 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckUptime_String_Warning$" + order = 2 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case a string. Allowed units include: ms, s, m, h, d, w, M, y" + value = "$IcingaCheckUptime_String_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUptime_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Verbosity" = { + value = "$IcingaCheckUptime_Int32_Verbosity$" + order = 4 + } + } + vars.IcingaCheckUptime_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckUpdates" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUpdates'; exit Invoke-IcingaCheckUpdates" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckUpdates_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckUpdates_Object_Warning$" + order = 3 + } + "-UpdateFilter" = { + value = {{ + var arr = macro("$IcingaCheckUpdates_Array_UpdateFilter$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckUpdates_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUpdates_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckUpdates_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckPerfcounter" { + import "PowerShell Base" + + arguments += { + "-PerfCounter" = { + description = "Used to specify an array of performance counter to check against." + value = {{ + var arr = macro("$IcingaCheckPerfcounter_Array_PerfCounter$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-Verbosity" = { + value = "$IcingaCheckPerfcounter_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an ??? value." + value = "$IcingaCheckPerfcounter_Object_Warning$" + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an ??? value." + value = "$IcingaCheckPerfcounter_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckPerfcounter_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckPerfcounter'; exit Invoke-IcingaCheckPerfcounter" + order = 0 + } + } + vars.IcingaCheckPerfcounter_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckNLA" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckNLA'; exit Invoke-IcingaCheckNLA" + order = 0 + } + "-Profile" = { + description = "Used to specify the profile to check. Available profiles are 'DomainAuthenticated', 'Public', 'Private'" + value = "$IcingaCheckNLA_String_Profile$" + order = 2 + } + "-NICs" = { + description = "Used to specify the NICs where to check the filewall profile. When not presented every nic which is active will be checked" + value = {{ + var arr = macro("$IcingaCheckNLA_Array_NICs$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-Verbosity" = { + value = "$IcingaCheckNLA_Int32_Verbosity$" + order = 3 + } + } +} + +object CheckCommand "Invoke-IcingaCheckMemory" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckMemory'; exit Invoke-IcingaCheckMemory" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckMemory_Int32_Verbosity$" + order = 6 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an string value. The string has to be like, '20B', '20KB', '20MB', '20GB', '20TB', '20PB' This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_String_Warning$" + order = 3 + } + "-CriticalPercent" = { + description = "Used to specify a Critical threshold for the memory usage in percent, like 30 for 30%. This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_Object_CriticalPercent$" + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an string value. The string has to be like, '20B', '20KB', '20MB', '20GB', '20TB', '20PB' This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_String_Critical$" + order = 2 + } + "-NoPerfData" = { + set_if = "$IcingaCheckMemory_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-WarningPercent" = { + description = "Used to specify a Warning threshold for the memory usage in percent, like 30 for 30%. This is using the default Icinga threshold handling." + value = "$IcingaCheckMemory_Object_WarningPercent$" + order = 5 + } + } + vars.IcingaCheckMemory_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckProcessCount" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckProcessCount'; exit Invoke-IcingaCheckProcessCount" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckProcessCount_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckProcessCount_Object_Warning$" + order = 2 + } + "-Process" = { + description = "Used to specify an array of processes to count and match against. e.g. conhost,wininit" + value = {{ + var arr = macro("$IcingaCheckProcessCount_Array_Process$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckProcessCount_Object_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckProcessCount_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckProcessCount_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckUsers" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUsers'; exit Invoke-IcingaCheckUsers" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckUsers_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckUsers_Object_Warning$" + order = 3 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckUsers_Object_Critical$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUsers_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Username" = { + description = "Used to specify an array of usernames to match against. e.g 'Administrator', 'Icinga'" + value = {{ + var arr = macro("$IcingaCheckUsers_Array_Username$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + } + vars.IcingaCheckUsers_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckDiskHealth" { + import "PowerShell Base" + + arguments += { + "-DiskReadByteSecWarning" = { + description = "Warning threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations." + value = "$IcingaCheckDiskHealth_Object_DiskReadByteSecWarning$" + order = 14 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckDiskHealth'; exit Invoke-IcingaCheckDiskHealth" + order = 0 + } + "-DiskWriteByteSecWarning" = { + description = "Warning threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations." + value = "$IcingaCheckDiskHealth_Object_DiskWriteByteSecWarning$" + order = 16 + } + "-NoPerfData" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-ExcludeDisk" = { + description = "Specify the index id of disks you want to exclude from checks. Example 0, 1" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_ExcludeDisk$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-IgnoreReadOnlyDisks" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks$" + set_if_format = "string" + order = 99 + } + "-IncludeDisk" = { + description = "Specify the index id of disks you want to include for checks. Example 0, 1" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_IncludeDisk$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-DiskQueueAvgLenCritical" = { + 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." + value = "$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$" + order = 13 + } + "-DiskQueueLenWarning" = { + 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. It also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the time interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests are awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the disk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue minus the number of spindles on the disks. For good performance, this difference should average less than two." + value = "$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$" + order = 10 + } + "-IncludePartition" = { + description = "Specify the partition drive letters for disks to include for checks. Example C:, D:" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_IncludePartition$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-DiskAvgReadSecCritical" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$" + order = 21 + } + "-DiskWriteSecCritical" = { + description = "Critical threshold for disk Writes/sec is the rate of write operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$" + order = 9 + } + "-DiskQueueAvgLenWarning" = { + 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." + value = "$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$" + order = 12 + } + "-DiskAvgReadSecWarning" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$" + order = 20 + } + "-DiskWriteByteSecCritical" = { + description = "Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations." + value = "$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$" + order = 17 + } + "-DiskAvgTransSecWarning" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$" + order = 18 + } + "-DiskAvgWriteSecWarning" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$" + order = 22 + } + "-Verbosity" = { + value = "$IcingaCheckDiskHealth_Int32_Verbosity$" + order = 24 + } + "-DiskReadSecWarning" = { + description = "Warning threshold for disk Reads/sec is the rate of read operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskReadSecWarning$" + order = 6 + } + "-ExcludePartition" = { + description = "Specify the partition drive letters for disks to exclude from checks. Example C:, D:" + value = {{ + var arr = macro("$IcingaCheckDiskHealth_Array_ExcludePartition$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-DiskReadSecCritical" = { + description = "Critical treshold for disk Reads/sec is the rate of read operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskReadSecCritical$" + order = 7 + } + "-CheckLogicalOnly" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly$" + set_if_format = "string" + order = 99 + } + "-DiskReadByteSecCritical" = { + description = "Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations." + value = "$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$" + order = 15 + } + "-DiskAvgWriteSecCritical" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$" + order = 23 + } + "-IgnoreOfflineDisks" = { + set_if = "$IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks$" + set_if_format = "string" + order = 99 + } + "-DiskWriteSecWarning" = { + description = "Warning theeshold for disk Writes/sec is the rate of write operations on the disk." + value = "$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$" + order = 8 + } + "-DiskQueueLenCritical" = { + 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. It also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the time interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests are awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the disk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue minus the number of spindles on the disks. For good performance, this difference should average less than two." + value = "$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$" + order = 11 + } + "-DiskAvgTransSecCritical" = { + 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, ...)" + value = "$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$" + order = 19 + } + } + vars.IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks = False + vars.IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks = False + vars.IcingaCheckDiskHealth_Switchparameter_NoPerfData = False + vars.IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly = False +} + +object CheckCommand "Invoke-IcingaCheckTimeSync" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckTimeSync'; exit Invoke-IcingaCheckTimeSync" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckTimeSync_Int32_Verbosity$" + order = 8 + } + "-Warning" = { + description = "Used to specify a offset Warning threshold e.g 10ms or 0.01s" + value = "$IcingaCheckTimeSync_Object_Warning$" + order = 4 + } + "-Timeout" = { + description = "Seconds before connection times out (default: 10)" + value = "$IcingaCheckTimeSync_Int32_Timeout$" + order = 6 + } + "-Port" = { + description = "Port number (default: 123)" + value = "$IcingaCheckTimeSync_Int32_Port$" + order = 7 + } + "-NoPerfData" = { + set_if = "$IcingaCheckTimeSync_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Critical" = { + description = "Used to specify a offset Critical threshold e.g 20ms or 0.02s." + value = "$IcingaCheckTimeSync_Object_Critical$" + order = 5 + } + "-Server" = { + description = "The NTP Server you want to connect to." + value = "$IcingaCheckTimeSync_String_Server$" + order = 2 + } + "-TimeOffset" = { + 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. Invoke-IcingaCheckTimeSync will return OK, if there is no difference between them, WARNING, if the time difference exceeds the Warning threshold, CRITICAL, if the time difference exceeds the Critical threshold." + value = "$IcingaCheckTimeSync_Object_TimeOffset$" + order = 3 + } + "-IPV4" = { + set_if = "$IcingaCheckTimeSync_Switchparameter_IPV4$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckTimeSync_Switchparameter_NoPerfData = False + vars.IcingaCheckTimeSync_Switchparameter_IPV4 = False +} + +object CheckCommand "Invoke-IcingaCheckNetworkInterface" { + import "PowerShell Base" + + arguments += { + "-PacketSentSecWarn" = { + description = "Warning threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketSentSecWarn$" + order = 8 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckNetworkInterface'; exit Invoke-IcingaCheckNetworkInterface" + order = 0 + } + "-NoPerfData" = { + set_if = "$IcingaCheckNetworkInterface_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-LinkSpeedCrit" = { + description = "Critical threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface." + value = "$IcingaCheckNetworkInterface_Object_LinkSpeedCrit$" + order = 29 + } + "-DeviceReceivedBytesSecWarn" = { + description = "Warning threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecWarn$" + order = 26 + } + "-PackteOutboundErrorCrit" = { + description = "Critical threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted because of errors." + value = "$IcingaCheckNetworkInterface_Object_PackteOutboundErrorCrit$" + order = 13 + } + "-IncomingAvgBandUsageCrit" = { + description = "Critical threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes." + value = "$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageCrit$" + order = 19 + } + "-PackteReceivedErrorCrit" = { + description = "Critical threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PackteReceivedErrorCrit$" + order = 11 + } + "-DeviceSentBytesSecCrit" = { + description = "Critical threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecCrit$" + order = 25 + } + "-IfSlaveEnabledStateCrit" = { + description = "Critical threshold for the State of a network Interface Team-Members/Slaves." + value = "$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateCrit$" + order = 33 + } + "-PacketOutboundDiscardedWarn" = { + description = "Warning threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent transmission." + value = "$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedWarn$" + order = 16 + } + "-PacketOutboundDiscardedCrit" = { + description = "Critical threshold for network Interface Packets Outbound Discarded is the number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent transmission." + value = "$IcingaCheckNetworkInterface_Object_PacketOutboundDiscardedCrit$" + order = 17 + } + "-IfTeamStatusWarn" = { + description = "Warning threshold for the Status of a network Interface Teams." + value = "$IcingaCheckNetworkInterface_Object_IfTeamStatusWarn$" + order = 30 + } + "-IncludeHidden" = { + set_if = "$IcingaCheckNetworkInterface_Switchparameter_IncludeHidden$" + set_if_format = "string" + order = 99 + } + "-OutboundAvgBandUsageWarn" = { + description = "Warning threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes." + value = "$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageWarn$" + order = 20 + } + "-IncomingAvgBandUsageWarn" = { + description = "Warning threshold for network Interface avg. Bytes Received/sec is the average of incoming Bytes." + value = "$IcingaCheckNetworkInterface_Object_IncomingAvgBandUsageWarn$" + order = 18 + } + "-DeviceTotalBytesSecCrit" = { + description = "Critical threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecCrit$" + order = 23 + } + "-PackteOutboundErrorWarn" = { + description = "Warning threshold for network Interface Packets Outbound Errors is the number of outbound packets that could not be transmitted because of errors." + value = "$IcingaCheckNetworkInterface_Object_PackteOutboundErrorWarn$" + order = 12 + } + "-DeviceTotalBytesSecWarn" = { + description = "Warning threshold for network Interface Bytes Total/sec is the rate at which bytes are sent and received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceTotalBytesSecWarn$" + order = 22 + } + "-IfTeamStatusCrit" = { + description = "Critical threshold for the Status of a network Interface Teams." + value = "$IcingaCheckNetworkInterface_Object_IfTeamStatusCrit$" + order = 31 + } + "-LinkSpeedWarn" = { + description = "Warning threshold for the transmit link speed in (10 MBit, 100 MBit, 1 GBit, 10 GBit, 100 GBit, ...) of the network Interface." + value = "$IcingaCheckNetworkInterface_Object_LinkSpeedWarn$" + order = 28 + } + "-IncludeNetworkDevice" = { + description = "Specify the index of network adapters you want to include for checks. Example 4, 3" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_IncludeNetworkDevice$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-DeviceSentBytesSecWarn" = { + description = "Warning threshold for network Interface Bytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceSentBytesSecWarn$" + order = 24 + } + "-DeviceReceivedBytesSecCrit" = { + description = "Critical threshold for network Interface Bytes Received/sec is the rate at which bytes are received over each network adapter, including framing characters." + value = "$IcingaCheckNetworkInterface_Object_DeviceReceivedBytesSecCrit$" + order = 27 + } + "-PackteReceivedErrorWarn" = { + description = "Warning threshold for network Interface Packets Received Errors is the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PackteReceivedErrorWarn$" + order = 10 + } + "-PacketReceivedDiscardedWarn" = { + description = "Warning threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their delivery to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedWarn$" + order = 14 + } + "-IfConnectionStatusCrit" = { + description = "Critical threshold for the state of the network adapter connection to the network." + value = "$IcingaCheckNetworkInterface_Object_IfConnectionStatusCrit$" + order = 38 + } + "-IncludeInterfaceTeam" = { + description = "Specify the name of network interface teams you want to include for checks. Example OutboundGroup, ClusterInterface" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_IncludeInterfaceTeam$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-PacketReceivedSecWarn" = { + description = "Warning threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedSecWarn$" + order = 6 + } + "-PacketReceivedDiscardedCrit" = { + description = "Critical threshold for network Interface Packets Received Discarded is the number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their delivery to a higher-layer protocol." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedDiscardedCrit$" + order = 15 + } + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state" + value = "$IcingaCheckNetworkInterface_Object_Verbosity$" + order = 39 + } + "-IfOperationalStatusCrit" = { + description = "Critical threshold for the current network interface operational status." + value = "$IcingaCheckNetworkInterface_Object_IfOperationalStatusCrit$" + order = 36 + } + "-IfSlaveEnabledStateWarn" = { + description = "Warning threshold for the State of a network Interface Team-Members/Slaves." + value = "$IcingaCheckNetworkInterface_Object_IfSlaveEnabledStateWarn$" + order = 32 + } + "-IfConnectionStatusWarn" = { + description = "Warning threshold for the state of the network adapter connection to the network." + value = "$IcingaCheckNetworkInterface_Object_IfConnectionStatusWarn$" + order = 37 + } + "-IfOperationalStatusWarn" = { + description = "Warning threshold for the current network interface operational status." + value = "$IcingaCheckNetworkInterface_Object_IfOperationalStatusWarn$" + order = 35 + } + "-ExcludeNetworkDevice" = { + description = "Specify the index of network adapters you want to exclude for checks. Example 4, 3" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_ExcludeNetworkDevice$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-PacketReceivedSecCrit" = { + description = "Critical threshold for network Interface Packets Received/sec is the rate at which packets are received on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$" + order = 7 + } + "-ExcludeInterfaceTeam" = { + description = "Specify the name of network interface teams you want to exclude for checks. Example OutboundGroup, ClusterInterface" + value = {{ + var arr = macro("$IcingaCheckNetworkInterface_Array_ExcludeInterfaceTeam$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-PacketSentSecCrit" = { + description = "Critical threshold for network Interface Packets Sent/sec is the rate at which packets are sent on the network interface." + value = "$IcingaCheckNetworkInterface_Object_PacketSentSecCrit$" + order = 9 + } + "-IfAdminStatusWarn" = { + description = "Warning threshold for the network Interface administrative status." + value = "$IcingaCheckNetworkInterface_Object_IfAdminStatusWarn$" + order = 34 + } + "-OutboundAvgBandUsageCrit" = { + description = "Critical threshold for network Interface avg. Bytes Sent/sec is the average of outbound Bytes." + value = "$IcingaCheckNetworkInterface_Object_OutboundAvgBandUsageCrit$" + order = 21 + } + } + vars.IcingaCheckNetworkInterface_Switchparameter_IncludeHidden = False + vars.IcingaCheckNetworkInterface_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckCheckSum" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckCheckSum'; exit Invoke-IcingaCheckCheckSum" + order = 0 + } + "-Path" = { + value = "$IcingaCheckCheckSum_String_Path$" + order = 2 + } + "-Verbosity" = { + value = "$IcingaCheckCheckSum_Int32_Verbosity$" + order = 5 + } + "-Algorithm" = { + description = "Used to specify a string, which contains the algorithm to be used. Allowed algorithms: 'SHA1', 'SHA256', 'SHA384', 'SHA512', 'MD5'" + value = "$IcingaCheckCheckSum_String_Algorithm$" + order = 3 + } + "-Hash" = { + value = "$IcingaCheckCheckSum_String_Hash$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckCheckSum_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckCheckSum_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckScheduledTask" { + import "PowerShell Base" + + arguments += { + "-TaskName" = { + description = "A list of tasks to check for. If your tasks contain spaces, wrap them around a ' to ensure they are properly handled as string" + value = {{ + var arr = macro("$IcingaCheckScheduledTask_Array_TaskName$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckScheduledTask'; exit Invoke-IcingaCheckScheduledTask" + order = 0 + } + "-NoPerfData" = { + set_if = "$IcingaCheckScheduledTask_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-State" = { + description = "The state a task should currently have for the plugin to return [OK]" + value = {{ + var arr = macro("$IcingaCheckScheduledTask_Array_State$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-Verbosity" = { + description = "Increase the printed output message by adding additional details or print all data regardless of their status" + value = "$IcingaCheckScheduledTask_Int32_Verbosity$" + order = 4 + } + } + vars.IcingaCheckScheduledTask_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckBiosSerial" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckBiosSerial'; exit Invoke-IcingaCheckBiosSerial" + order = 0 + } + } +} + +object CheckCommand "Invoke-IcingaCheckEventlog" { + import "PowerShell Base" + + arguments += { + "-Before" = { + description = "Used to specify a date like dd.mm.yyyy and every eventlog entry before that date will be considered." + value = "$IcingaCheckEventlog_Object_Before$" + order = 16 + } + "-NoPerfData" = { + set_if = "$IcingaCheckEventlog_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-IncludeMessage" = { + description = "Used to specify an array of messages within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeMessage$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 11 + } + "-IncludeSource" = { + description = "Used to specify an array of message sources within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeSource$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 13 + } + "-After" = { + description = "Used to specify a date like dd.mm.yyyy and every eventlog entry after that date will be considered." + value = "$IcingaCheckEventlog_Object_After$" + order = 15 + } + "-IncludeEventId" = { + description = "Used to specify an array of events identified by their id to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeEventId$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-LogName" = { + description = "Used to specify a certain log." + value = "$IcingaCheckEventlog_String_LogName$" + order = 4 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckEventlog'; exit Invoke-IcingaCheckEventlog" + order = 0 + } + "-ExcludeSource" = { + description = "Used to specify an array of message sources within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeSource$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 14 + } + "-ExcludeUsername" = { + description = "Used to specify an array of usernames within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeUsername$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 8 + } + "-ExcludeEntryType" = { + description = "Used to specify an array of entry types within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeEntryType$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 10 + } + "-IncludeEntryType" = { + description = "Used to specify an array of entry types within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeEntryType$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 9 + } + "-Verbosity" = { + value = "$IcingaCheckEventlog_Int32_Verbosity$" + order = 17 + } + "-ExcludeEventId" = { + description = "Used to specify an array of events identified by their id to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeEventId$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 6 + } + "-Critical" = { + description = "Used to specify a Critical threshold." + value = "$IcingaCheckEventlog_Object_Critical$" + order = 3 + } + "-DisableTimeCache" = { + set_if = "$IcingaCheckEventlog_Switchparameter_DisableTimeCache$" + set_if_format = "string" + order = 99 + } + "-Warning" = { + description = "Used to specify a Warning threshold." + value = "$IcingaCheckEventlog_Object_Warning$" + order = 2 + } + "-IncludeUsername" = { + description = "Used to specify an array of usernames within the eventlog to be included." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_IncludeUsername$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 7 + } + "-ExcludeMessage" = { + description = "Used to specify an array of messages within the eventlog to be excluded." + value = {{ + var arr = macro("$IcingaCheckEventlog_Array_ExcludeMessage$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 12 + } + } + vars.IcingaCheckEventlog_Switchparameter_NoPerfData = False + vars.IcingaCheckEventlog_Switchparameter_DisableTimeCache = False +} + +object CheckCommand "Invoke-IcingaCheckCPU" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckCPU'; exit Invoke-IcingaCheckCPU" + order = 0 + } + "-Verbosity" = { + value = "$IcingaCheckCPU_Int32_Verbosity$" + order = 5 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckCPU_Object_Warning$" + order = 2 + } + "-Core" = { + description = "Used to specify a single core to check for. For the average load across all cores use `_Total`" + value = "$IcingaCheckCPU_String_Core$" + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckCPU_Object_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckCPU_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckCPU_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckFirewall" { + import "PowerShell Base" + + arguments += { + "-Verbosity" = { + value = "$IcingaCheckFirewall_Int32_Verbosity$" + order = 3 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckFirewall'; exit Invoke-IcingaCheckFirewall" + order = 0 + } + "-Profile" = { + description = "Used to specify an array of profiles to check. Available profiles are 'Domain', 'Public', 'Private'" + value = {{ + var arr = macro("$IcingaCheckFirewall_Array_Profile$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + 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 + } + } + vars.IcingaCheckFirewall_Switchparameter_Enabled = False + vars.IcingaCheckFirewall_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckUsedPartitionSpace" { + import "PowerShell Base" + + arguments += { + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckUsedPartitionSpace'; exit Invoke-IcingaCheckUsedPartitionSpace" + order = 0 + } + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state" + value = "$IcingaCheckUsedPartitionSpace_Int32_Verbosity$" + order = 6 + } + "-Warning" = { + description = "Used to specify a Warning threshold. In this case an integer value." + value = "$IcingaCheckUsedPartitionSpace_Object_Warning$" + order = 2 + } + "-IgnoreEmptyChecks" = { + set_if = "$IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks$" + set_if_format = "string" + order = 99 + } + "-Include" = { + 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. e.g. 'C:\','D:\'" + value = {{ + var arr = macro("$IcingaCheckUsedPartitionSpace_Array_Include$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 4 + } + "-Critical" = { + description = "Used to specify a Critical threshold. In this case an integer value." + value = "$IcingaCheckUsedPartitionSpace_Object_Critical$" + order = 3 + } + "-NoPerfData" = { + set_if = "$IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Exclude" = { + description = "Used to specify an array of partitions to be excluded. e.g. 'C:\','D:\'" + value = {{ + var arr = macro("$IcingaCheckUsedPartitionSpace_Array_Exclude$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 5 + } + "-SkipUnknown" = { + set_if = "$IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown$" + set_if_format = "string" + order = 99 + } + } + vars.IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown = False + vars.IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks = False + vars.IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData = False +} + +object CheckCommand "Invoke-IcingaCheckService" { + import "PowerShell Base" + + arguments += { + "-Verbosity" = { + description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state" + value = "$IcingaCheckService_Int32_Verbosity$" + order = 5 + } + "-Status" = { + description = "Status for the specified service or services to check against." + value = "$IcingaCheckService_String_Status$" + order = 4 + } + "-NoPerfData" = { + set_if = "$IcingaCheckService_Switchparameter_NoPerfData$" + set_if_format = "string" + order = 99 + } + "-Service" = { + description = "Used to specify an array of services which should be checked against the status. Supports '*' for wildcards." + value = {{ + var arr = macro("$IcingaCheckService_Array_Service$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 2 + } + "-Exclude" = { + description = "Allows to exclude services which might come in handy for checking services which are configured to start automatically on Windows but are not running and weren't exited properly." + value = {{ + var arr = macro("$IcingaCheckService_Array_Exclude$"); + if (len(arr) == 0) { + return "@()"; + } + return arr.join(","); + }} + order = 3 + } + "-C" = { + value = "try { Use-Icinga; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; exit 3; }; Exit-IcingaPluginNotInstalled 'Invoke-IcingaCheckService'; exit Invoke-IcingaCheckService" + order = 0 + } + } + vars.IcingaCheckService_Switchparameter_NoPerfData = False +} + + diff --git a/config/icinga/PowerShell_Base.conf b/config/icinga/PowerShell_Base.conf new file mode 100644 index 00000000..0b9e3453 --- /dev/null +++ b/config/icinga/PowerShell_Base.conf @@ -0,0 +1,7 @@ +object CheckCommand "PowerShell Base" { + import "plugin-check-command" + command = [ + "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" + ] + timeout = 3m +} diff --git a/doc/31-Changelog.md b/doc/31-Changelog.md index caf6d981..cb76b69e 100644 --- a/doc/31-Changelog.md +++ b/doc/31-Changelog.md @@ -18,6 +18,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic * [#78](https://github.com/Icinga/icinga-powershell-plugins/issues/78) Improves the documentation and output for `Invoke-IcingaCheckService` by adding metrics for all found services configured to run `Automatic` and adds service output on Verbosity 1 to show a list of all found services including their current state * [#85](https://github.com/Icinga/icinga-powershell-plugins/issues/85) Adds support on `Invoke-IcingaCheckUsedPartitionSpace` to ignore a `Unknown` in case all checks are filtered out. This will then return `Ok` instead if argument `-IgnoreEmptyChecks` is set. In addition you can now use `-SkipUnknown` which will transform an `Unknown` of partitions without data to `Ok`. Reworks [#84](https://github.com/Icinga/icinga-powershell-plugins/issues/84) * [#90](https://github.com/Icinga/icinga-powershell-plugins/issues/90) Adds support to ignore read only/offline disks on `Invoke-IcingaCheckDiskHealth` +* [#104](https://github.com/Icinga/icinga-powershell-plugins/pull/104) Adds plugin configuration files for Icinga Director and Icinga 2 within the [config directory](https://github.com/Icinga/icinga-powershell-plugins/tree/master/config) ### Bugfixes