verify CIFS/SMB protocol negotiation?
Steve Huff
shuff at hmdc.harvard.edu
Mon Feb 25 23:51:43 CET 2008
Hello folks!
I'm monitoring several Samba servers (SuSE OES) that suffer from a
debilitating problem: periodically their authentication cache stops
working, and as a result none of the services that depend on that
authentication cache, including Samba, respond to requests.
I'm currently using the check_disk_smb plugin to verify that a test
user can establish a CIFS connection (and also to monitor disk usage,
but that's secondary). Unfortunately, when the abovementioned
problem occurs, check_disk_smb fails not CRITICAL, but UNKNOWN; this
is because the request times out instead of being rejected, since the
server is still listening on the port, but the SMB negotiation never
completes.
I thought I would try to add an additional layer of testing by using
check_tcp's ability to send a string and expect a string in return;
unfortunately, it looks like SMB doesn't talk using human-readable
strings (or at least it looked that way to me). check_tcp always
succeeds, even when check_disk_smb will time out and fail.
Anybody else run into a similar problem? Any suggestions for another
way to implement the extra later of testing, or any other ideas?
thanks,
-Steve
--
Steve Huff - Systems Administrator, Harvard-MIT Data Center -
shuff at hmdc.harvard.edu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list