We have a Debian 12 OS and a Zabbix 6 instance (6.0.26).
We have a Mikrotik device and an item uses a trigger which is an ssh_agent.
The item reports this message:
But when I try the SSH connection from CLI it works as I expect:
In the documentation I found that ssh_agent supports SSH options:
See the table below:
Key | Unique (per host) item key in the format ssh.run[unique short description,<ip>,<port>,<encoding>,<ssh options>] | ... ssh options (supported since version 6.0.25; require libssh of version 0.9.0 and higher or libssh2)
This is how I try to use ssh:
As I wrote we use Zabbix 6.0.26.
libssh and libssh2 versions:
libssh-4:amd64 0.10.6-0+deb12u1
libssh2-1:amd64 1.10.0-3+b1
but I still get the message above when I try to run the trigger.
Am I failed something?
We have a Mikrotik device and an item uses a trigger which is an ssh_agent.
The item reports this message:
Code:
Cannot establish SSH session: kex error : no match for method mac algo client->server: server [hmac-sha1,hmac-md5], client [[email protected],[email protected],hmac-sha2-256,hmac-sha2-512]
Code:
ssh [email protected] -i /home/zabbix/.ssh/mikrotik
See the table below:
Key | Unique (per host) item key in the format ssh.run[unique short description,<ip>,<port>,<encoding>,<ssh options>] | ... ssh options (supported since version 6.0.25; require libssh of version 0.9.0 and higher or libssh2)
This is how I try to use ssh:
Code:
ssh.run[ping_{$PING_IP1},,,,"KexExchange=diffie-hellman-group-exchange-sha256;MACs=hmac-sha1"]
libssh and libssh2 versions:
libssh-4:amd64 0.10.6-0+deb12u1
libssh2-1:amd64 1.10.0-3+b1
but I still get the message above when I try to run the trigger.
Am I failed something?
Comment