check_smb_share
Posted: Fri Jan 29, 2016 7:48 am
Hello,
I have the problem on Nagios with check_smb_share
If you enter:
./check_smb_share -H xx.xx.xx.xx -u ***** -p *****
so:
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:
OK SMB Sharename: Connection to xx.xx.xx.xx failed (Error NT_STATUS_IO_TIMEOUT)
It should be CRITICAL think. if to be sent notification.
If specify a paramater -s:
./check_smb_share -H xx.xx.xx.xx -s appl -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 //xx.xx.xx.xx/appl -U username
thus the connection is OK
can you help me?
I have the problem on Nagios with check_smb_share
If you enter:
./check_smb_share -H xx.xx.xx.xx -u ***** -p *****
so:
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:
OK SMB Sharename: Connection to xx.xx.xx.xx failed (Error NT_STATUS_IO_TIMEOUT)
It should be CRITICAL think. if to be sent notification.
If specify a paramater -s:
./check_smb_share -H xx.xx.xx.xx -s appl -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 //xx.xx.xx.xx/appl -U username
thus the connection is OK
can you help me?