PDA

View Full Version : Problem using SSH on 1.8


gfalardi
18-01-2010, 10:26
Hello,

I have some problem to monitor the server itself. When I switch items' type from "zabbix agent" to "SSH agent", it doesn't work, with public key or password authentication.

Log says "Parameter is not supported by agent Old satus [0]"

The zabbix server is configured to support SSH2.

Any idea how to make it works ?

Regards

gfalardi
25-01-2010, 10:59
there is no problem to connect between server and client in SSH without entering password.

can't find anywhere how to enable ssh agent monitoring on server and clients.

gfalardi
25-01-2010, 15:20
my sshd logs in debug mode says that :

sshd[28616]: debug1: rexec start in 4 out 4 newsock 4 pipe 6 sock 7
sshd[28496]: debug1: Forked child 28616.
sshd[28616]: debug1: inetd sockets after dupping: 3, 3
sshd[28616]: Connection from 127.0.0.1 port 53642 sshd[28616]: debug1: Client protocol version 2.0; client software version zabbix_agent
sshd[28616]: debug1: no match: zabbix_agent
sshd[28616]: debug1: Enabling compatibility mode for protocol 2.0
sshd[28616]: debug1: Local version string SSH-2.0-OpenSSH_4.3
sshd[28617]: debug1: permanently_set_uid: 74/74
sshd[28617]: debug1: list_hostkey_types: ssh-dss sshd[28617]: debug1: SSH2_MSG_KEXINIT sent
sshd[28617]: Connection closed by UNKNOWN
sshd[28617]: debug1: do_cleanup
sshd[28616]: debug1: do_cleanup

It doesn't work, using zabbix_agent or zabbix_agentd

Regards

alixen
26-01-2010, 14:25
Hi,

May be I don't understand what you are trying to do but there is no relation between Zabbix agent and SSH checks.
Check http://www.zabbix.com/documentation/1.8/complete#ssh_checks. You are supposed to provide a script when you define an SSH check item.

Hope this helps
Alixen

gfalardi
26-01-2010, 14:56
I've tried and it works, thanks

So you cannot monitor all yours items with SSH ?