I have a powershell script component that returns Statistics: X. This component is working, graphing the results etc. But when I set the Thresholds for warning and critical it never alerts. For example, if warning is at 130 and critical at 180. My result is 191, but the component is still "green"
I read in the help that you have to report exit codes (0=Up, 1=Down, 2=warn, 3=Critical), but what if you want the status to be based off the Statistics thresholds? Any ideas what I am missing here?