check_disk_smb doesn't work with '$' in the name of a
share.
"Invalid share name \\athena1\lsateam"
is what I get when I put "-H athena1 -s lsateam$" as
part of the arguments on the command-line.
I already tried with quotes ('), double-quotes (") and
slash (\) without much success.
Logged In: YES
user_id=536689
The module does not alow $ in share name, can fix it with adding \$ in share validation check.
($opt_s) || ($opt_s = shift) || usage("Share volume not specified\n");
my $share = $1 if ($opt_s =~ /([-_.A-Za-z0-9\$]+)/);
($share) || usage("Invalid share: $opt_s\n");
This did the trick for me :)