[Nagiosplug-help] check_disk_smb, is it able to use c$?

Karl DeBisschop karl at debisschop.net
Mon Feb 17 13:28:03 CET 2003


On Mon, 2003-02-17 at 15:35, Daniel Jimenez wrote:
> All,
>
> When I do a:
>
> /usr/lib/nagios/plugins/check_disk_smb -H \\server -s c$ -u username
> -p password -v
>
> It returns:
>  
> 
> /usr/bin/smbclient  //server/c password -U username  -c ls
> 
> Result from smbclient not suitable
> 
> UNKNOWN.
>
> This is because the share 'c' doesn't exists, the check_disk_smb does
> not send c$ to smbclient. Does anyone know how to get around this? I'd
> like to avoid creating shares w/o a '$' because they are not hidden.

The CVS tree and the upcoming beta no longer suppress the trailing '$'.
Of course you will need to be sure thta your shell does not munge it,
but I don't think that is a problem in most cases.

BTW - Please do not post to technical mailing lists in HTML.

--
Karl





More information about the Help mailing list