Ad Widget

Collapse

Zabbix 3.2 Install Agent on Linux Rhel 7 - Not connecting to agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uncram
    Junior Member
    • Jul 2017
    • 16

    #1

    Zabbix 3.2 Install Agent on Linux Rhel 7 - Not connecting to agent

    Having issue Install Agent on Linux Rhel 7 for Zabbix 3.2.

    First question is how do you match up the exact agent with the specific version of Zabbix. If I have 3.2 how do I pick which agent?

    FROM: http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/

    I choose 3.2.0.1 but how do you match up with the Server?

    zabbix-agent-3.2.0-1.el7.x86_64.rpm 2016-09-14 02:20 333K
    [ ] zabbix-agent-3.2.1-1.el7.x86_64.rpm 2016-10-03 15:55 334K
    [ ] zabbix-agent-3.2.2-1.el7.x86_64.rpm 2016-12-09 17:20 337K
    [ ] zabbix-agent-3.2.3-1.el7.x86_64.rpm 2016-12-22 08:34 338K
    [ ] zabbix-agent-3.2.4-1.el7.x86_64.rpm 2017-03-10 19:01 342K
    [ ] zabbix-agent-3.2.4-2.el7.x86_64.rpm 2017-03-10 19:01 342K
    [ ] zabbix-agent-3.2.5-1.el7.x86_64.rpm 2017-04-26 03:40 343K
    [ ] zabbix-agent-3.2.6-1.el7.x86_64.rpm 2017-05-06 16:53 344K
    [ ] zabbix-agent-3.2.7-1.el7.x86_64.rpm 2017-07-20 10:12 345K
    [ ] zabbix-agent-3.2.8-1.el7.x86_64.rpm

    Then I ran

    Step 1. rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rh...el7.x86_64.rpm
    Step 2. Change config, added Zabbix server and correct HOSTNAME
    Step 3. systemctl restart zabbix-agent
    Step 4. chkconfig --level 345 zabbix-agent on
    Step 5. firewall-cmd --zone=public --add-port=10050/tcp –permanent
    Stpe 6. firewall-cmd --reload

    RAN :
    Ps -C Zabbix_agentd
    RAN:
    Netsat -ntpl | grep zabbix

    Getting Good output, so going back does it matter which version of the agent I install and how to figure out?

    My dashboard Get Value from Agent Failed - IP 10050 - Interuppt system call

    Checked agent logs files.
    Says usual agent start listener
    Last edited by uncram; 05-10-2017, 16:57.
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Your agent don't need to be in the same version as your server.

    Coudl you perform telnet from server to your host using command
    Code:
    telnet <ip> 10050
    You are using IP or DNS ?

    Regards,
    Alex!

    Comment

    • volter
      Member
      Zabbix Certified Specialist
      • Dec 2011
      • 85

      #3
      This is either a SELinux issue or there is something wrong with your "Server" setting in the agent configuration file. If you are using an IP address there, make sure that the server is actually connecting using this IP address! If you are using a name, make sure that there is a DNS PTR record or a hosts file entry resolving to the aforementioned IP address.

      Comment

      Working...