Page 1 of 1

check_SMB_Share" WannaCry virus

Posted: Tue May 16, 2017 1:06 pm
by SavaSC
Hello,

We are using the check_SMB_share plug in to check the availability of our Win file shares. Due to the WannaCry ransomware, we have shut down SMB1 on all of our servers. Now, the share checks using check_SMB_share are retuning an error of:
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
Is there a way to make this plugin use SMB2 or 3? If not, what else can I use to check the availability of a Windows share?

Thanks!

Re: check_SMB_Share" WannaCry virus

Posted: Tue May 16, 2017 1:12 pm
by dwhitfield
There are a few plugins that share that name. Could you link to the one you are using?

Also, it looks like some people have had success using https://github.com/Flameeyes/nagios-plu ... b_share.pl

Re: check_SMB_Share" WannaCry virus

Posted: Tue May 16, 2017 1:45 pm
by SavaSC
Seems to have worked. Thanks!!!!

Re: check_SMB_Share" WannaCry virus

Posted: Tue May 16, 2017 1:48 pm
by dwhitfield
Excellent! Ready to lock this up?

Re: check_SMB_Share" WannaCry virus

Posted: Tue May 16, 2017 2:17 pm
by SavaSC
Yes, please do. I appreciate the quick response!