Prezados,
Sou novo na utilização do zabbix e estou com um problema que não consegui resolver. O caso é que o zabbix server não está conseguindo gerenciar ele mesmo. Antes de mais nada agradeço a ajuda.
Pelas saídas, aparentemente está tudo ok. A única coisa estranha é que ele desconecta o Telnet em muito pouco tempo de conexão.
Abaixo mostro configurações, comandos e saídas de debugs para o auxílio da ajuda.
Obrigado.
zabbix_agent.conf:
### Option: Server
# IP address of Zabbix server
# Connections from other hosts will be denied
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
#
# Mandatory: yes
# Default:
# Server=
Server=127.0.0.1
zabbix_agent log quando iniciado:
32085:20120817:091833.649 Got signal [signal:15(SIGTERM),sender_pid:32161,sender_uid:0,r eason:0]. Exiting ...
32085:20120817:091835.650 Zabbix Agent stopped. Zabbix 2.0.2 (revision 29214).
32165:20120817:091835.669 Starting Zabbix Agent [Zabbix server]. Zabbix 2.0.2 (revision 29214).
32166:20120817:091835.670 agent #0 started [collector]
32168:20120817:091835.672 agent #2 started[listener]
32169:20120817:091835.673 agent #3 started[listener]
32170:20120817:091835.673 agent #4 started [active checks]
32167:20120817:091835.673 agent #1 started[listener]
zabbix_server log :
4421:20120817:090809.772 executing housekeeper
4421:20120817:090815.248 housekeeper deleted: 0 records from history and trends, 12430 records of deleted items, 0 events, 0 alerts, 0 sessions
Tentei conectar através do telnet:
telnet 127.0.0.1 10050 Ele estabelece a conexão mas em menos de 2 segundos a fecha.
telnet 127.0.0.1 10050
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
Com 0 loglevel 4 Mostra as seguintes mensagens:
30963:20120817:120135.624 End of send_buffer():SUCCEED
30963:20120817:120135.624 Sleeping for 1 second(s)
30961:20120817:120136.623 In update_cpustats()
30961:20120817:120136.623 End of update_cpustats()
30963:20120817:120136.624 In send_buffer() host:'127.0.0.1' port:10051 values:0/100
O zabbix_get returna ok
zabbix_get -s 127.0.0.1 -p 10050 -k "proc.num[]"
159
Sou novo na utilização do zabbix e estou com um problema que não consegui resolver. O caso é que o zabbix server não está conseguindo gerenciar ele mesmo. Antes de mais nada agradeço a ajuda.
Pelas saídas, aparentemente está tudo ok. A única coisa estranha é que ele desconecta o Telnet em muito pouco tempo de conexão.
Abaixo mostro configurações, comandos e saídas de debugs para o auxílio da ajuda.
Obrigado.
zabbix_agent.conf:
### Option: Server
# IP address of Zabbix server
# Connections from other hosts will be denied
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
#
# Mandatory: yes
# Default:
# Server=
Server=127.0.0.1
zabbix_agent log quando iniciado:
32085:20120817:091833.649 Got signal [signal:15(SIGTERM),sender_pid:32161,sender_uid:0,r eason:0]. Exiting ...
32085:20120817:091835.650 Zabbix Agent stopped. Zabbix 2.0.2 (revision 29214).
32165:20120817:091835.669 Starting Zabbix Agent [Zabbix server]. Zabbix 2.0.2 (revision 29214).
32166:20120817:091835.670 agent #0 started [collector]
32168:20120817:091835.672 agent #2 started[listener]
32169:20120817:091835.673 agent #3 started[listener]
32170:20120817:091835.673 agent #4 started [active checks]
32167:20120817:091835.673 agent #1 started[listener]
zabbix_server log :
4421:20120817:090809.772 executing housekeeper
4421:20120817:090815.248 housekeeper deleted: 0 records from history and trends, 12430 records of deleted items, 0 events, 0 alerts, 0 sessions
Tentei conectar através do telnet:
telnet 127.0.0.1 10050 Ele estabelece a conexão mas em menos de 2 segundos a fecha.
telnet 127.0.0.1 10050
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
Com 0 loglevel 4 Mostra as seguintes mensagens:
30963:20120817:120135.624 End of send_buffer():SUCCEED
30963:20120817:120135.624 Sleeping for 1 second(s)
30961:20120817:120136.623 In update_cpustats()
30961:20120817:120136.623 End of update_cpustats()
30963:20120817:120136.624 In send_buffer() host:'127.0.0.1' port:10051 values:0/100
O zabbix_get returna ok
zabbix_get -s 127.0.0.1 -p 10050 -k "proc.num[]"
159
Comment