Ad Widget

Collapse

Red Z

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djiepos
    Junior Member
    • Dec 2013
    • 4

    #1

    Red Z

    My server is running but i have a red Z in HOSTS

    Get value from agent failed: cannot connect to [[192.168.60.138]:10050]: [111] Connection refused

    This is for the zabbix server itself
    other servers have a green Z
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    Sounds like either your agent is not actually running, or you don't have Server= in your zabbix_agentd.conf file properly configured.

    If you are talking about the agent on the Zabbix server itself, you could make Server=127.0.0.1 which reports to localhost.

    Comment

    • djiepos
      Junior Member
      • Dec 2013
      • 4

      #3
      zabbix server

      where can i find thezabbix_agentd.conf file on the zabbix server ?
      Mine is running on Ubuntu

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        That depends on your individual install. Generally it is in the same location as your zabbix_server.conf
        For me, that is in /usr/local/etc and my Zabbix binaries are in /usr/local/sbin

        Just do a search for it as either zabbix user or root.
        find / -name zabbix_agentd.conf

        And you should check if you even have the Zabbix agent running.
        ps -ef|grep zabbix_agentd

        Comment

        • djiepos
          Junior Member
          • Dec 2013
          • 4

          #5
          unknown parameter

          I added the server=127.0.0.1

          sudo zabbix_server start

          unknown parameter [Server] in config file

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            Originally posted by djiepos
            I added the server=127.0.0.1

            sudo zabbix_server start

            unknown parameter [Server] in config file
            Zabbix config files are case sensitive. It would be Server= and not server=

            And did you put that in zabbix_server.conf or zabbix_agentd.conf? It should be in your zabbix_agentd.conf file

            And then in your command above, you are trying to start the Zabbix server, not the Zabbix agent.

            I think it would do you good to spend some time here: https://www.zabbix.com/documentation/2.0/manual

            Comment

            • djiepos
              Junior Member
              • Dec 2013
              • 4

              #7
              agent was not installed

              i di this:
              apt-get install zabbix-agent

              i edited the zabbix_agentd.conf

              Server=127.0.0.1,192.168.60.138
              save

              reboot server
              after this it works Green Z

              thanks for your help

              Comment

              • tchjts1
                Senior Member
                • May 2008
                • 1605

                #8
                Awesome.

                Now see if you have Template App Zabbix server, and attach it to your Zabbix server. It will provide valuable information about internal performance.

                Comment

                Working...