Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Test #5

Open
elrico22 opened this issue May 21, 2021 · 12 comments
Open

How To Test #5

elrico22 opened this issue May 21, 2021 · 12 comments

Comments

@elrico22
Copy link

Hello,
I'm trying to test your scripts using ./frogg_smb_check.sh
i just want to test smb just the root > \ip_of_myserver
i tried to use : ./frogg_smb_check.sh share ip_of_myserver
but nothing on the screen
i also try : ./frogg_smb_check.sh share ip_of_myserver "frogg$" where frogg$ is the name of the hidden shared folder
but nothing on the screen
Do you have a more detailled guide ?
Thanks

@FroggDev
Copy link
Owner

Hi,
I saw your message but i hadn't the time to answer, i am really busy with works this past days.
I ll try to give you an anwser this week.
Sorry for the wait

@elrico22
Copy link
Author

elrico22 commented Jun 3, 2021

Hello
no problem, thanks for your time

@FroggDev
Copy link
Owner

Look like it is solved, i close the issue, if there is anything else you tell me !

@elrico22
Copy link
Author

elrico22 commented Aug 2, 2021

Hello FroggDev,
I was waiting for a detailled user guide
Thanks

@FroggDev
Copy link
Owner

FroggDev commented Aug 6, 2021

Hi there,

The read me has been updated with lot of informations
https://github.com/FroggDev/zabbix-smb

isnt it enought ? What could i add ?

the most important is to try the command from zabbix server (with your configuration informations)
./frogg_smb_check.sh share {serverSMB} "{share_name_separated_with,}"

If there is no result it mean all worked find, else it mean all the share that appear cannot be found.
You can try with a share that not exist it should appear.
I hope it helps

if it is still enought fell free to ask

best regards.

@FroggDev FroggDev reopened this Aug 6, 2021
@FroggDev
Copy link
Owner

FroggDev commented Aug 6, 2021

Added
The result should be empty, that mean all worked well, else you should see an error, or the list of shares not found by the script, or the not matching rights
On the readme

@FroggDev
Copy link
Owner

FroggDev commented Aug 6, 2021

Added the command to make deeper tests

smbclient -L {server_ip} -g -N -U zabbix

On the read me

@elrico22
Copy link
Author

elrico22 commented Aug 6, 2021

Hello,
What is the correct syntax to use ?
i try this : ./frogg_smb_check.sh share X.X.X.X (IP address of my server) share_name
When i use this command with existing shared folder, result is empty but it's also empty when i use with share folder which doesn't exist
Thank you.

@FroggDev
Copy link
Owner

FroggDev commented Aug 7, 2021

Hi,

What is the result of the command:

smbclient -L {server_ip} -g -N -U zabbix

Best regards

@elrico22
Copy link
Author

elrico22 commented Aug 9, 2021

When i use this command, i have the list of shared folder of the server with error:
do_connect: Connection to X.X.X.X failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Unable to connect with SMB1 -- no workgroup available

@tmhanaishi
Copy link

tmhanaishi commented Jun 3, 2022

Frogg muito obrigado, consegui monitorar uma pasta com autenticação!!!

@0verwan
Copy link

0verwan commented May 21, 2024

Hello! I'm newer in zabbix and I already follow procedure. Now I need to know where can I insert my variables to monitor the shared folder.

Server IP Address ?
Share Path?
User/Password for Auth?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants