Ad Widget

Collapse

Adding multiple Zabbix servers in agentd.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wmo
    Junior Member
    • Feb 2007
    • 18

    #1

    Adding multiple Zabbix servers in agentd.conf

    Hi all,

    i got a question regarding multiple zabbix servers being put in a conf file.

    What is the proper way to do this?

    With the old version (1.1.4) i just had it like this:

    Server=192.168.11.x
    Hostname=blabla
    Timeout=25

    Server=192.168.9.x
    Hostname=blabla
    Timeout=25

    This worked fine with version 1.1.4 but it seems that it doesn't anymore.

    Can anyone tell me the proper/good way to do this?
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #2
    Hi,

    AFAIR, there is a part in the docs which says:

    Put all servers in one line, separated by comma, no spaces

    I think, I even tested this once.

    HTH,

    Norbert.

    Comment

    • wmo
      Junior Member
      • Feb 2007
      • 18

      #3
      I've tried that but it doesn't seem to work.

      I've got this in my conf file:

      Server=192.168.11.5,192.168.9.5

      Zabbix server 11.5 gets all the info while 9.5 doesn't get anything.

      Anyone got some idea's on how to solve this?

      Comment

      • NOB
        Senior Member
        Zabbix Certified Specialist
        • Mar 2007
        • 469

        #4
        Hi,

        this is mentioned in the zabbix_agentd.conf (for Windows):

        Code:
        # List of comma delimited IP addresses (or hostnames) of ZABBIX servers. 
        # No spaces allowed. First entry is used for sending active checks.
        # Note that hostnames must resolve hostname->IP address and
        # IP address->hostname.
        Is that what you observe ?

        Regards,

        Norbert.

        Comment

        • wmo
          Junior Member
          • Feb 2007
          • 18

          #5
          Thx for the replies NOB.

          Figured out what the problem was. A bit stupid, but it's working now.

          The second zabbix server itself was not running. After turning on the zabbix server service it now runs smooth.

          Comment

          Working...