Ad Widget

Collapse

ZBX-19334 - Redundant parameter in configuration file (ListenIP) 5.4.1rc1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • james.cook000@gmail.com
    Member
    • Apr 2018
    • 49

    #1

    ZBX-19334 - Redundant parameter in configuration file (ListenIP) 5.4.1rc1

    Hi Zabbix,

    With the removal of ListenIP from the Server configuration does not allow for the user to specify a specific IP address for the server to listen on i.e:
    • Without ListenIP option = netstat info 0.0.0.0:10051
    • With ListenIP set to 10.0.2.20 = netstat info 10.0.2.20:10051

    Where this becomes an issue is scenarios where you may have a multi node cluster configured running server, several proxies and they all listen to the same port (10051) and specific IP addresses for each one using ListenIP.

    If ListenIP is removed then you can not run the server on any cluster node where a proxy is as the server will attempt to start and there will be a listen conflict as one ip address will already be used.

    You may say you should never run a server on the same host as a proxy, however in case of extended patching, hardware maintenance or any general outage of a cluster node its better having it running on the same host than not at all.

    Is there another way to set the server to listen on a specific IP address?

    I have raised issue https://support.zabbix.com/browse/ZBX-19506 to ask this question.

    Cheers

    James
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    It seems that the setting "ListenIP" in the server's configuration file was not deleted, but the content described as the default was rewritten.



    I tried to build Zabbix server using zabbix-5.4.1rc2.tar.gz, but ListenIP settings work.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      I think it was because the release notes said "Removed".
      ZBX-19334 Removed redundant ListenIP parameter in server's configuration file

      Comment

      • james.cook000@gmail.com
        Member
        • Apr 2018
        • 49

        #4
        Thanks guys.... my bad

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5

          ListenIP is still present as option.. Why do you think it has been removed?...

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            Heh.. You are right.. There is a extra line with that in 5.2... So just removing "redundant"..
            ### Option: ListenIP
            # List of comma delimited IP addresses that the trapper should listen on.
            # Trapper will listen on all network interfaces if this parameter is missing.
            #
            # Mandatory: no
            # Default:
            # ListenIP=0.0.0.0
            # ListenIP=127.0.0.1

            Comment

            Working...