Ad Widget

Collapse

agent goes off every 10 minues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ploochan
    Member
    • Oct 2009
    • 42

    #1

    agent goes off every 10 minues

    I have 20 agents being monitor on Zabbix; however only one goes off every 10 minutes. We have 2 nic card on zabbix server, on a two different subnets.
    I thought I have problems with the conf file in the agent, so I put the 2 IP's on the conf file (please see bottom).
    The weird part is that I have 2 other agents in the same subnet 10.10.5.x, and they are working fine, but the 3rd agent.

    Also, I am able to ping from server to agent, and the other way around w/no problems. Also, they both can resolve DNS.

    Please HELP!


    This is the conf file on the server that I have problems.

    # This is config file for zabbix_agentd
    # To get more information about ZABBIX, go http://www.zabbix.com

    ############ GENERAL PARAMETERS #################

    # 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.

    Server=10.10.5.7,10.50.2.3

    # Server port for sending active checks

    #ServerPort=10051

    # Unique hostname. Required for active checks.

    Hostname=PDDC1

    # Listen port. Default is 10050

    #ListenPort=10050

    # IP address to bind agent
    # If missing, bind to all available IPs

    #ListenIP=127.0.0.1

    # Number of pre-forked instances of zabbix_agentd.
    # Default value is 5
    # This parameter must be between 1 and 16

    StartAgents=5

    # How often refresh list of active checks. 2 minutes by default.

    #RefreshActiveChecks=120

    # Disable active checks. The agent will work in passive mode listening server.

    #DisableActive=1

    # Enable remote commands for ZABBIX agent. By default remote commands disabled.

    #EnableRemoteCommands=1

    # Specifies debug level
    # 0 - debug is not created
    # 1 - critical information
    # 2 - error information
    # 3 - warnings (default)
    # 4 - for debugging (produces lots of information)

    DebugLevel=3

    # Name of PID file

    PidFile=C:\zabbix\zabbix_agentd.pid

    # Name of log file.
    # If not set, syslog will be used

    LogFile=C:\zabbix\zabbix_agentd.log

    # Spend no more than Timeout seconds on processing
    # Must be between 1 and 30

    Timeout=3

    ####### USER-DEFINED MONITORED PARAMETERS #######
    # Format: UserParameter=<key>,<shell command>
    # Note that shell command must not return empty string or EOL only
    #UserParameter=system.test,who|wc -l
    ### Set of parameter for monitoring MySQL server (v3.23.42 and later)
    ### Change -u<username> and add -p<password> if required
    #UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
    #UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
    #UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
    #UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
    #UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
    #UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
    #UserParameter=mysql.version,mysql -V
    Last edited by ploochan; 29-01-2010, 22:38.
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    It is hard to tell what is going on without more details.
    I would suggest to increase DebugLevel (DebugLevel=4) and check log file messages.

    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • ploochan
      Member
      • Oct 2009
      • 42

      #3
      ok, changed to (DebugLevel=4)

      and now I get this error every other 10mins:

      172:20100201:144429 Get active checks error: Cannot connect to [10.10.5.7:10051] [No connection could be made because the target machine actively refused it.

      ]

      Any Ideas?
      thanks again!!!
      Last edited by ploochan; 01-02-2010, 23:34.

      Comment

      • sbadger
        Member
        • Dec 2005
        • 81

        #4
        Originally posted by ploochan
        172:20100201:144429 Get active checks error: Cannot connect to [10.10.5.7:10051] [No connection could be made because the target machine actively refused it.
        This sure sounds like you have a firewall running on that machine.
        See if you can telnet to it on the port you have set for active check on, usually 10051.

        Comment

        • ploochan
          Member
          • Oct 2009
          • 42

          #5
          nope, it is open. Any other ideas? Thanks!!!!

          Comment

          • alixen
            Senior Member
            • Apr 2006
            • 474

            #6
            Hi,

            Is the host named PDDC1 in Zabbix configuration ?
            Be careful, case matters (PDDC1 is OK, Pddc1 or pddc1 are not OK).

            Regards,
            Alixen
            http://www.alixen.fr/zabbix.html

            Comment

            • ploochan
              Member
              • Oct 2009
              • 42

              #7
              The hostname is caps, not lowercase. I even tried by changing it to IP instead, and still doesnt work.

              Comment

              • ploochan
                Member
                • Oct 2009
                • 42

                #8
                This is the trigger that I am having problems only on this host
                {Template_Windows:status.last(0)}=3

                and please see the picture for the host configuration for that trigger
                Attached Files

                Comment

                Working...