ZABBIX Forums  

Go Back   ZABBIX Forums > Zabbix in Your Language > На русском языке

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2017, 16:24
galaxydata.ru galaxydata.ru is offline
Junior Member
 
Join Date: Dec 2017
Posts: 4
Default Get value from agent failed: cannot connect to [[ip]:10050]: [13] Permission denied

Все здравствуйте.
Ошибка подключения агента
Get value from agent failed: cannot connect to [[ip]:10050]: [13] Permission denied

zabbix_server (Zabbix) 3.4.4
zabbix_agentd (daemon) (Zabbix) 3.4.4

OS: CentOS 7.1
Attached Images
 
Reply With Quote
  #2  
Old 05-12-2017, 17:28
Kos Kos is offline
Senior Member
 
Join Date: Aug 2015
Location: Riga, Latvia
Posts: 608
Default

Code:
Get value from agent failed: cannot connect to [[ip]:10050]: [13] Permission denied
А у Вас реально везде поддерживается IPv6 (судя по формату того самого [ip] перед ":10050" на скриншоте)?
И в конфиге агента в строках "Server=" и "ListenIP=" тоже указаны адреса в IPv6 формате?
Reply With Quote
  #3  
Old 05-12-2017, 17:40
galaxydata.ru galaxydata.ru is offline
Junior Member
 
Join Date: Dec 2017
Posts: 4
Default

Server=2006:470:6d:10:0:0:0:554

Когда добавил
ListenIP=2001:470:6d:10:0:0:0:5

появилась ошибка:
# tail -n 7 /var/log/zabbix/zabbix_agentd.log

11639:20171205:204005.443 Starting Zabbix Agent [isp-zodiac.galaxydata.ru]. Zabbix 3.4.4 (revision 74338).
11639:20171205:204005.443 **** Enabled features ****
11639:20171205:204005.443 IPv6 support: YES
11639:20171205:204005.443 TLS support: YES
11639:20171205:204005.443 **************************
11639:20171205:204005.443 using configuration file: /etc/zabbix/zabbix_agentd.conf
11639:20171205:204005.444 listener failed: bind() for [[2001:470:6d:10:0:0:0:5]:10050] failed: [99] Cannot assign requested address
Reply With Quote
  #4  
Old 05-12-2017, 20:36
galaxydata.ru galaxydata.ru is offline
Junior Member
 
Join Date: Dec 2017
Posts: 4
Default

Get value from agent failed: cannot connect to [[185.173.175.16]:10050]: [4] Interrupted system call

Тоже самое и на IPv4
Reply With Quote
  #5  
Old 05-12-2017, 20:45
galaxydata.ru galaxydata.ru is offline
Junior Member
 
Join Date: Dec 2017
Posts: 4
Default

Решилась проблема.
Сначала агент отказывался перезагружаться.
# systemctl restart zabbix-agent
Job for zabbix-agent.service failed because a configured resource limit was exceeded. See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.

Затем я перезагрузил сервер.
И в конфиг агента добавил ipv4 и ipv6
/etc/zabbix/zabbix_agentd.conf

Code:
Server=2411:470:6d:10:5:0:0:5,65.266.662.22
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:31.