Ad Widget

Collapse

Active agent setup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • s2390
    Junior Member
    • Sep 2015
    • 15

    #1

    Active agent setup

    Hi

    I've been trying to do this for a while now and am getting no where with looking at the docs and searching the forum (I've found threads like this but with no answer to the original question... https://www.zabbix.com/forum/showthread.php?t=40510).

    So what are you meant to put for the IP/DNS of a remote active agent that the server can't connect to, under Configuration > Host > 'Agent interfaces'?

    Am I missing a documentation page on such a situation somewhere?

    Thanks
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If the Zabbix agent than monitoring only on the active,
    a host of settings on the Zabbix server, the setting of the agent interface
    does not matter in the appropriate IP.

    Please set Hostname in zabbix_agentd.conf on agent side, and set same host name on the Zabbix server.

    And, Please be sure to set the IP of Zabbix server to ServerActive in zabbix_agentd.conf.

    Comment

    • s2390
      Junior Member
      • Sep 2015
      • 15

      #3
      Thank you.

      I sorted this. I had to set all the items and/or templates to "Zabbix agent (active)" instead of "Zabbix agent".

      Is there an easier way to just change this once per host instead?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        I recommend that you create a template for the active agent.

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #5
          Originally posted by s2390
          Thank you.

          I sorted this. I had to set all the items and/or templates to "Zabbix agent (active)" instead of "Zabbix agent".

          Is there an easier way to just change this once per host instead?
          Configuration -> Hosts -> Choose some random host -> Items -> remove from page header from "Host" entry your random hostname -> in "Template" choose "Not Templated Items" -> In "Type" drop down list choose "zabbix agent" -> click on "Filter" button

          After some time you will have list of all untemplated items which is a little misleading because most of the items would be as defined in templates.
          So now mark all items and go to bottom and choose "Mass update". In Mass update form choose only change items type to "zabbix agent (active)"

          When above change will be finished all your items which previously where "zabbix agent" type will be "zabbix agent (active)".
          http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
          https://kloczek.wordpress.com/
          zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
          My zabbix templates https://github.com/kloczek/zabbix-templates

          Comment

          Working...