Dear all,
I've tried to create powershell script for monitoring SAM with below script but its still shown as 'Get Output Failed'
may you suggest me please
The Statistic value must be numeric only. You are passing units with the value which are non-integer. Remove the "GB" from the from Statistic value returned and it should work. If you want to retain the units, then I suggest using the optional message field.
Detail Type | Required | Meaning |
Statistic | Yes | A numeric value used to determine how the monitor compares to its set thresholds. This must be an integer value, (negative numbers are supported). Statistic.Name1: 123 Statistic.Name2: 456 |
Message | No | An error or information message to be displayed in the monitor status details. Note: Multi-line messages are supported. To use this functionality, print each line using a separate command. For example:
|
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.