Ad Widget

Collapse

Agent doesn't want to start without StartAgents=0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aloe
    Junior Member
    • Feb 2014
    • 2

    #1

    Agent doesn't want to start without StartAgents=0

    Hi all,

    I'm running Zabbix 2.2.2 on RedHat 6.3.
    I have a problem when starting zabbix agent, it reads:

    Code:
    # service zabbix-agent start
    Starting zabbix_agentd: zabbix_agentd [32454]: StartAgents is not 0, parameter Server must be defined
                                                               [NOK]
    When I change StartAgents to 0, it starts, but I would like StartAgents to keep the default value (i.e. 3).
    The server's parameters are defined (IP address=127.0.0.1, ListenPort=10050, ListenIP=0.0.0.0, Hostname).
    Would you have any idea why it's reacting like that?
    Last edited by Aloe; 18-02-2014, 09:43.
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    I think what that message is saying is this:

    If StartAgents is anything other than 0, then you must specify an acceptable value in Server=

    So it should look something like:
    Server=127.0.0.1
    StartAgents=3

    Make sure that your Server= line is not preceded with a comment "#". Commented lines are ignored.

    And 127.0.0.1 would only be good for the agent that is on your actual Zabbix server. Obviously for any other host, you would need to either specify the Zabbix server's real IP or FQDN in that field.

    Comment

    • Aloe
      Junior Member
      • Feb 2014
      • 2

      #3
      This alert was indeed for the agent running on my Zabbix server.

      I commented and then uncommented the "Server=127.0.0.1" line, restarted the server and the agent and now it's working... Quite weird but thanks for you help tchjts1!

      Comment

      Working...