Ad Widget

Collapse

Zabbix Agent on OpenSUSE 15.5

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SPG-DK11
    Junior Member
    • Jul 2023
    • 4

    #1

    Zabbix Agent on OpenSUSE 15.5

    Hi All,

    I've been trying to get the Zabbix Agent 2 to work on OpenSUSE 15.5, with the default 'Linux by Zabbix agent' template.
    However it always returns that the Zabbix agent is not available.

    As far as I can see, nothing is returned in the error logs. I've checked our firewall communication, 10050/51 are allowed both ways, and a bunch of other ports with no blocked network traffic between the agent and the zabbix server.
    I've tried both encryption and no encryption, both don't seem to work.

    For installation I've followed the installation procedure of: Download and install Zabbix 6.4 for SUSE Linux Enterprise Server 15 (SP4+)

    The service of zabbix shows the status as running without an issue.

    Any ideas would be much appreciated, as we've a few hand fulls of OpenSUSE servers we'd like to add to monitoring.

    EDIT; I am running Zabbix 6.4.4

    Thanks!
    Last edited by SPG-DK11; 01-08-2023, 09:00.
  • Answer selected by SPG-DK11 at 03-08-2023, 09:39.
    SPG-DK11
    Junior Member
    • Jul 2023
    • 4

    Originally posted by Vermizz
    Hi,
    Do you have the correct zabbix server IP address (Server) and hostname value in the zabbix agent configuration file?


    For test run this:
    From zabbix server to remote agent run:
    Code:
    zabbix_get -s yourhostIP -k agent.ping
    From zabbix server run:
    Code:
    telnet yourhostIP 10050
    From your host:
    Code:
    telnet zabbixserverIP 10051​
    Hi Vermizz,

    Thank you for the questions, the telnet from the host to the server worked fine, however server to host did not work. I got the error no route to host.
    After further investigation I totally forgot that OpenSUSE has a firewall within the OS itself as well, apart from our physical firewalls.

    After opening the ports 10050 and 10051 in the OpenSUSE firewall everything worked right away.

    Comment

    • SPG-DK11
      Junior Member
      • Jul 2023
      • 4

      #2
      Any ideas would be much appreciated, till today I still have not been able to fix this.

      Comment

      • Vermizz
        Member
        • Oct 2022
        • 33

        #3
        Hi,
        Do you have the correct zabbix server IP address (Server) and hostname value in the zabbix agent configuration file?


        For test run this:
        From zabbix server to remote agent run:
        Code:
        zabbix_get -s yourhostIP -k agent.ping
        From zabbix server run:
        Code:
        telnet yourhostIP 10050
        From your host:
        Code:
        telnet zabbixserverIP 10051​

        Comment

        • SPG-DK11
          Junior Member
          • Jul 2023
          • 4

          #4
          Originally posted by Vermizz
          Hi,
          Do you have the correct zabbix server IP address (Server) and hostname value in the zabbix agent configuration file?


          For test run this:
          From zabbix server to remote agent run:
          Code:
          zabbix_get -s yourhostIP -k agent.ping
          From zabbix server run:
          Code:
          telnet yourhostIP 10050
          From your host:
          Code:
          telnet zabbixserverIP 10051​
          Hi Vermizz,

          Thank you for the questions, the telnet from the host to the server worked fine, however server to host did not work. I got the error no route to host.
          After further investigation I totally forgot that OpenSUSE has a firewall within the OS itself as well, apart from our physical firewalls.

          After opening the ports 10050 and 10051 in the OpenSUSE firewall everything worked right away.

          Comment

          Working...