config/director/Invoke-IcingaCheckICMP.json

{"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}}}