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

Incorrect output for datastore space left #72

Closed debelan closed 9 years ago

debelan commented 9 years ago

Hello again, I'm having the following issue, this is my check command: root@icinga# /usr/bin/perl /usr/lib/nagios/plugins/check_vmware_esx.pl -D vcenter.local --sslport=443 --nosession -H esxi1.local -u user -p pass -S volumes --gigabyte --spaceleft -w 20 -c 25

And this is the output

CRITICAL: 1 alert(s) found for some of the selected volume(s) (warn:20,crit:25) Volumes above thresholds:

vsanDatastore (vsan) free: 12206.90 GB (43.68%) / 27945.00 GB (100%)

Volumes below thresholds:|'vsanDatastore'=12206.90GB;20;25;;27945.00

Am I wrong ? Is there something wrong with my check command, I'm using same check command for my other esxi hosts with vcenter 5.1 . This check is performed on vcener 5.5 with esxi 5.5 .

Thank You, Hristo Mihov

debelan commented 9 years ago

Oh, My bad, I'm sorry ... Now when I post it i saw my mistake warning is 20 and critical is 25 ...