config/director/Invoke-IcingaCheckMemory.json

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