Question
Every few minutes, the check will return Critical ? it appears its getting a negative number for latency:
CHECK_VMWARE_API.PL CRITICAL - io read latency=-1 ms | io_read=-1ms;40;90
The same check will then return OK a few seconds later:
CHECK_VMWARE_API.PL OK - io read latency=0 ms | io_read=0ms;40;90
Any idea why it might be getting a negative number?
Answer
This problem can be fixed by collecting multiple samples of the data, described in the help text for the plugin:
-M, --maxsamples=<max sample count> Maximum number of samples to retrieve. Max sample number is ignored for historic intervals. Default value is 1 (latest available sample).
-
Tags:
- negative
- latency
- check_vmware_api
Comments
0 comments
Please sign in to leave a comment.