check_disk_smb reporting wrong percentage
Posted: Wed Feb 18, 2015 10:14 am
Hello,
I have setup check_disk_smb ( version 2.0.3 ) to check a network share that is 5TB in size. Here is the command:
/usr/local/nagios/libexec/check_disk_smb -H 192.168.118.226 -s pims_livelink24 -w 90% -c 95% -u <username> -p <password>
Which is returning:
Disk ok - 1023G (100%) free on \\192.168.118.226\pims_livelink24 | 'pims_livelink24'=0B;989545365504;1044520108032;0;1099494850560
1023G are available but it is reporting 100% as the percentage. Also it returns 0B in the perf data. Is there some strange bug related to the sizes of ints? Just an initial guess.
Any help would be appreciated.
I have setup check_disk_smb ( version 2.0.3 ) to check a network share that is 5TB in size. Here is the command:
/usr/local/nagios/libexec/check_disk_smb -H 192.168.118.226 -s pims_livelink24 -w 90% -c 95% -u <username> -p <password>
Which is returning:
Disk ok - 1023G (100%) free on \\192.168.118.226\pims_livelink24 | 'pims_livelink24'=0B;989545365504;1044520108032;0;1099494850560
1023G are available but it is reporting 100% as the percentage. Also it returns 0B in the perf data. Is there some strange bug related to the sizes of ints? Just an initial guess.
Any help would be appreciated.