Ad Widget

Collapse

Trying to add secondary ip address in my proxy confing but it doesn't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BTom
    Junior Member
    • Sep 2024
    • 4

    #1

    Trying to add secondary ip address in my proxy confing but it doesn't work

    Hi, I'm trying to have a secondary ip address in my proxy confing, in case that the first is not working. I have it like this Server=184.21.156.234,137.61.64.14 but then the proxy doesn't work and "journalctl -xeu zabbix-proxy.service" says this: zabbix_proxy [1176119]: ERROR: "Server" configuration parameter must not contain comma but when i use semicolon the proxy starts, but i wont use the secondary ip if the first doesn't work. Any ideas on how to fix this?
  • Julianna Wilamowska
    Member
    • Oct 2024
    • 34

    #2
    Hello, it wont work like that. Zabbix supports 1 server instance for 1 proxy. If you need to monitor the second IP its best to do it separately.

    Comment

    • Airler
      Junior Member
      • Nov 2024
      • 5

      #3
      Hi BTom,
      I don't know your usecase...
      But would proxy lb and ha not be the feature you are searching for?
      Then you may give the ha proxy the second ip...

      Comment

      • sancho
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2015
        • 295

        #4
        Hello BTom
        In order for you to configure 2 servers in the zabbix_proxy.conf configuration you must set it to passive mode.

        Click image for larger version

Name:	imagen.png
Views:	160
Size:	78.7 KB
ID:	496438

        ​Merry Christmas to all.

        Comment

        Working...