[Nagiosplug-devel] [ nagiosplug-Bugs-3312534 ] check_disk_smb - Samba shares upper 2 To

SourceForge.net noreply at sourceforge.net
Thu Oct 20 17:01:18 CEST 2011


Bugs item #3312534, was opened at 2011-06-06 17:14
Message generated for change (Comment added) made by marrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3312534&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: release-1.4.15
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Olivier (olikamm)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_disk_smb - Samba shares upper 2 To

Initial Comment:
Plugin Version (-V output): nagios-plugins 1.4.15
 Plugin Name: check_disk_smb
 Plugin Commandline showing issues: none
 Operating System: CentOS release 5.6 (Final)

The plugin cannot detect space on Samba shares over 2To. It still works, but if I have a 8To share with 2To used, the plugin will write 2047.93G (100%) free.

I guess this is a limitation on a int32 variable.

----------------------------------------------------------------------

Comment By: Marc 'BlackJack' Rintsch (marrin)
Date: 2011-10-20 17:01

Message:
The problem may be smbclient which is used by the check_disk_smb script. I
have the same problem and when i issue the smbclient call I get:

# smbclient //host/share -U user%pass -c ls
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.34]
[…]
                65535 blocks of size 33553920. 65535 blocks available

The 65535 = 0xffff actually look like integer type limitation.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3312534&group_id=29880




More information about the Devel mailing list