config/director/Invoke-IcingaCheckBiosSerial.json

{"DataList":{},"Command":{"PowerShell Base":{"methods_execute":"PluginCheck","object_name":"PowerShell Base","vars":{},"is_string":null,"command":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe","zone":null,"disabled":false,"fields":[],"arguments":{},"imports":[],"object_type":"object","timeout":"180"},"Invoke-IcingaCheckBiosSerial":{"fields":[{"datafield_id":2,"is_required":"n","var_filter":null}],"object_name":"Invoke-IcingaCheckBiosSerial","arguments":{"-C":{"value":"try { Use-Icinga -Minimal; } catch { Write-Output \u0027The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details\u0027; Write-Output \"Error: $$($$_.Exception.Message)Components:`r`n$$( Get-Module -ListAvailable \"icinga-powershell-*\" )`r`nModule-Path:`r`n$$($$Env:PSModulePath)\"; exit 3; }; Exit-IcingaExecutePlugin -Command \u0027Invoke-IcingaCheckBiosSerial\u0027 ","order":"0"},"-ThresholdInterval":{"value":"$IcingaCheckBiosSerial_String_ThresholdInterval$","order":"100"}},"imports":["PowerShell Base"],"object_type":"object","vars":{}}},"Datafield":{"2":{"settings":{"visibility":"visible"},"description":"Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.","caption":"ThresholdInterval","datatype":"Icinga\\Module\\Director\\DataType\\DataTypeString","originalId":"2","varname":"IcingaCheckBiosSerial_String_ThresholdInterval","format":null}}}