We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When deploying this Sensor with a Response Data Type: Integer , an error occurs as Ints don't support decimal points.
1.Deploy Sensor with suggested values 2. Some\all devices fail 3. ...
I was able to work around this with the following code addition to round the value, there may be a better long term fix
$totalphysicalmemory = (Get-WmiObject -Class win32_computersystem).TotalPhysicalMemory $ram = [math]::Round(([decimal]($totalphysicalmemory)/1GB),2) $ram = [math]::Round($ram) return $ram
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When deploying this Sensor with a Response Data Type: Integer , an error occurs as Ints don't support decimal points.
Reproduction steps
1.Deploy Sensor with suggested values
2. Some\all devices fail
3.
...
Expected behavior
I was able to work around this with the following code addition to round the value, there may be a better long term fix
Additional context
No response
The text was updated successfully, but these errors were encountered: