Hi, I just try to monitor a server using SSH login. But I found Zabbix only randomly working with my checks.
All check items are sometimes working if I test them. But mostly I get
Cannot read data from SSH server
I did a lot of research and also tried updating these two values in /etc/zabbix/zabbix-server.conf:
But I had no success. Most of my items fail. Only one or two random checks work every now and then.
I can see zabbix making a successful login to the observed system (/var/log/secure) but it seems that Zabbix fails to execute or parse the ssh command every now and then.
Here is one of the affected configurations:
It works sometimes, but sadly only every now and then. If I do using a normal SSH session, it works fine (simulate login and command).
All check items are sometimes working if I test them. But mostly I get
Cannot read data from SSH server
I did a lot of research and also tried updating these two values in /etc/zabbix/zabbix-server.conf:
Code:
timeout=10 StartPollers=100
I can see zabbix making a successful login to the observed system (/var/log/secure) but it seems that Zabbix fails to execute or parse the ssh command every now and then.
Here is one of the affected configurations:
Name: CPU Load
Type: SSH Agent
Key: ssh.run["cpu load",vsprovider.de.mycompany.com,22,utf-8]
Host interface: <may host>
Authentication method: Password
User name: <username
Password: <password>
Executed script: cat /proc/loadavg|cut -d ' ' -f2
Type: SSH Agent
Key: ssh.run["cpu load",vsprovider.de.mycompany.com,22,utf-8]
Host interface: <may host>
Authentication method: Password
User name: <username
Password: <password>
Executed script: cat /proc/loadavg|cut -d ' ' -f2
It works sometimes, but sadly only every now and then. If I do using a normal SSH session, it works fine (simulate login and command).
Comment