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?
check_smb_share
Re: check_smb_share
If you enter the wrong password so I returned:
OK SMB Sharename: session setup failed: NT_STATUS_LOGON_FAILURE
Again, I think it should be CRITICAL or WARNING
OK SMB Sharename: session setup failed: NT_STATUS_LOGON_FAILURE
Again, I think it should be CRITICAL or WARNING
Re: check_smb_share
I see that you also posted on the exchange, https://exchange.nagios.org/directory/P ... re/details. Thanks for doing so, hopefully the author will see it.
As this is a community plugin, we do not maintain them. I do agree with your logic though, that it should return a warning or critical.
After googling check_smb_share, I do see a few forks on Github - have you tried to see if any of them address this issue?
As this is a community plugin, we do not maintain them. I do agree with your logic though, that it should return a warning or critical.
After googling check_smb_share, I do see a few forks on Github - have you tried to see if any of them address this issue?
Former Nagios Employee
Re: check_smb_share
on github https://github.com/internetstaff/check_smb_share
the version: REVISION=0.9
I have version: REVISION=1.0
Both versions are treated equally
the version: REVISION=0.9
I have version: REVISION=1.0
Both versions are treated equally
Re: check_smb_share
I also found, https://github.com/Flameeyes/nagios-plu ... b_share.pl
Does this return a different result at all?
Does this return a different result at all?
Former Nagios Employee