Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check_smb_share_AA is another plugin to check access to Windows Share for a specific user.
Current Version
1.1
Last Release Date
2014-07-22
Owner
Guerpillon Bruno
Compatible With
AA stands for Authorization - Authentication
This plugin will check not only if the share exists but it will check too if you're authorized to access it (share rights) and if you're using a valid authentication (user/password spelling in Centreon).
This plugin is a shell script.
Typically, the plugin will use smbclient to connect to a share and will do a dir command. Doing a dir will completly valid the share access and authorization.
- Usage -
./check_smb_share_AA Nagios plugin to check Windows share
Usage: check_smb_share_AA -H <host> -U USER%PASSWORD -S SHARE check_smb_share_AA --help check_smb_share_AA --version
- Example -
=== User doesnt have access rights to the share === ./check_smb_share_AA -H HOST1 -U user%password -S share CRITICAL Authorization problem : Access denied
=== Bad user/password spelling in config === ./check_smb_share_AA -H HOST1 -U user%passwooord -S share CRITICAL Authentication problem : Check USER/PWD config
=== Access is allowed === ./check_smb_share_AA -H HOST1 -U user%password -S share OK Share : centreon
You must be logged in to submit a review.
To:
From: