Ad Widget

Collapse

Force Active mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Villain
    Member
    • Aug 2006
    • 84

    #1

    Force Active mode

    Is there a way to force the agent into active mode? I have it running on a couple of webservers that are behind a load balancer. To ensure that the servers themselves are working properly, I would like the agent to contact the server, instead of having to open more ports on the load balancer.

    I set the DisableActive= flag to 0, which I thought would force it active, but that has not worked so far. Is there a better way to do this?

    Thank you.
  • dantheman
    Senior Member
    • May 2006
    • 209

    #2
    you set that in the item configuration, chagne the type from Zabbix Agent to Zabbix Agent (active)

    Comment

    • Villain
      Member
      • Aug 2006
      • 84

      #3
      I've done that, and still do not get a connection to the clients.

      Example:

      Description: CPU Load - 15 minute avg
      Type: Zabbix agent (active)
      Key: system.cpu.load[,avg1]
      Type of Information: Numeric (float)
      Units: <blank>
      Use Multiplier: Do not User
      Update (in sec): 30
      Keep history: 90
      Keep trends (days): 365
      Status: Monitored
      Store Value: As is
      Applications: -none-

      I'm not finding anything that would stop the service from talking to the server. We're running version 1.1 (Will likely upgrade later this week to 1.1.2).

      Comment

      • dantheman
        Senior Member
        • May 2006
        • 209

        #4
        Do you have the "hostname=" configured in the agent's configuration file? that value will need to match what you named the host in zabbix.

        Comment

        • Villain
          Member
          • Aug 2006
          • 84

          #5
          I just fixed the hostname=

          It was set to the name of the server, so I guess that would explain that part. I did a killall zabbix_agentd, then restarted the agent, and still no data coming through, though.

          Is there anything else that I could be missing?

          Comment

          • dantheman
            Senior Member
            • May 2006
            • 209

            #6
            it might take a few minutes... ummm the agent has to start up.. get the list of items that it needs to send and then start the schedule... I know that there is a time set to how often it refreshes that list of active checks that it does... I don't remember what the default is...

            The next piece would be to set the debuglevel=4 on the agent and then restart it like you did, and then check the agent log file and see what is happening.

            Comment

            • Villain
              Member
              • Aug 2006
              • 84

              #7
              nevermind, I found it, problem with our loadbalancer not letting the traffic through. Thanks for the help, I got data flowing now!

              Comment

              • dantheman
                Senior Member
                • May 2006
                • 209

                #8
                Not a problem, glad you got it going.

                Comment

                Working...