You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where input values for warn and critical are -w 400000 -c 500000. I've also tried to pass different combinations to Check.AddPerfDatum(), but without success. However, it's possible I'm expecting something that cannot be :)
Thank you for clarification.
The text was updated successfully, but these errors were encountered:
warn and crit are in the range format (see the Section called Threshold and ranges).
Huh, I missed that, I always thought they were scalars - thanks for pointing that out. This is an example of how I've been using that function. I think current behaviour is a bug though; I'll leave this open until I get a chance to look at fixing it.
Hello,
according to Nagios Plugin Dev Guidelines:
However,
Check.AddPerfDatum()
expectsfloat64
. What's the correct way to add warn and crit threshold to perf data then? I've tried something like:but the output doesn't seem to be correct, resp. it's something like:
where input values for warn and critical are
-w 400000 -c 500000
. I've also tried to pass different combinations toCheck.AddPerfDatum()
, but without success. However, it's possible I'm expecting something that cannot be :)Thank you for clarification.
The text was updated successfully, but these errors were encountered: