Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

esetman

Reviews(1)
byesetman, January 29, 2016
Hello,
If you enter:
./check_smb_share xx.xx.xx.xx -H -u -p ***** *****

so I get the answer:
OK SMB Sharename: Domain = [TEST] OS = [Windows Server 2012 Standard 9200] Server = [Windows Server 2012 Standard 6.2]
It's alright.

If you enter the wrong IP guest, so I get the answer:
OK SMB Sharename: Connection to 172.17.40.155 failed (Error NT_STATUS_IO_TIMEOUT)
It should be CRITICAL think. If Notification to come.



If specify a paramater -s:
./check_smb_share H xx.xx.xx.xx appl -s -u -p ***** *****

so I get the answer:
CRITICAL SMB Sharename: appl Domain = [TEST] OS = [Windows Server 2012 Standard 9200] Server = [Windows Server 2012 Standard 6.2]
Does anyone know why?

If you enter:
smbclient -U username //xx.xx.xx.xx/appl
thus the connection is OK