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?
This problem can be fixed by collecting multiple samples of the data, described in the help text for the plugin: