BaldMansMojo / check_vmware_esx

chech_vmware_esx Fork of check_vmware_api.pl
GNU General Public License v2.0
124 stars 67 forks source link

Wrong performance data units for io select #161

Open bunghi opened 5 years ago

bunghi commented 5 years ago

Hi,

When using --select io i get this output:

OK: I/O usage=121 KB/s - I/O read=3 KB/s - I/O write=118 KB/s|'io_usage'=121KB/s;;;; 'io_read'=3KB/s;;;; 'io_write'=118KB/s;;;;

Problem is that unit 'KB/s' is not accepted by Nagios Plugins development guideline (http://nagios-plugins.org/doc/guidelines.html#AEN200) which means I have no datapoints in my InfluxDB.

Si there anyway to change that?

$  /usr/lib/nagios/plugins/check_vmware_esx -V
Version 0.9.26

Thanks

BaldMansMojo commented 5 years ago

I can't remember if there was any fix/modification for that within the last updates. So first try latest version. Performance values not corresponding with plugin developer guide is a know issue inherited from the old op5 version.

But in this case there will be no corresponding values be available. Because it is KB/s and not KB or a number. I will have a look at it but it can take some time.