Problem description:
Different behavior of SSH agent item for Zabbix server on Raspberry (5.2.6 , installed according to documentation) or in Docker container (5.2.6 from github https://github.com/zabbix/zabbix-docker).
I want the Zabbix server to be running on the Raspberry, so the SSH agent item should also work on the Raspberry.
For both environments the steps done are:
What is causing this difference and how can I solve this?
Different behavior of SSH agent item for Zabbix server on Raspberry (5.2.6 , installed according to documentation) or in Docker container (5.2.6 from github https://github.com/zabbix/zabbix-docker).
I want the Zabbix server to be running on the Raspberry, so the SSH agent item should also work on the Raspberry.
For both environments the steps done are:
- Create a new template
- Create an item:
- Type: SSH agent
- Key: ssh.run[clean]
- Authentication method: Password
- User name: give correct user name
- Password: give correct password
- Executed script: command that I want to use
- Test the created item, give different results
- Raspberry: error message “unsupported authentication method. Supported methods:”
- I found in the Zabbix repo (https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/zabbix_server/poller/checks_ssh.c#179,229,527)
- Found that “ssh_userauth_list” function is used, which could return nothing, that is the case.
- From the Raspberry itself, SSH communicate with the device used for the test the scritp does work.
- Docker container: no error message, result was as expected.
- Raspberry: error message “unsupported authentication method. Supported methods:”
What is causing this difference and how can I solve this?
Comment