Ad Widget

Collapse

error: Get value from agent failed.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frankp
    Junior Member
    • Jun 2010
    • 20

    #1

    error: Get value from agent failed.

    Can someone help to explain and resolve the following errors listed inzabbix server log!?

    4766:20100627:105843.245 Item [SYSTEM-X: perf_counter[\PhysicalDisk(_Total)\Avg. Disk Write Queue Length]] error: Get value from agent failed:
    ZBX_TCP_READ() failed [Interrupted system call]
    4766:20100627:105843.280 ZABBIX Host [SYSTEM-X]: first network error, wait for 15 seconds

    4764:20100627:141937.702 Item [SYSTEM-X: perf_counter[\Processor(_Total)\% User Time]] error: Get value from agent failed:
    ZBX_TCP_READ() failed [Interrupted system call]
    4764:20100627:141937.704 ZABBIX Host [SYSTEM-X]: first network error, wait for 15 seconds

    4767:20100627:204116.819 Item [SYSTEM-X: perf_counter[\Processor(_Total)\% Privileged Time]] error: Get value from agent failed:
    ZBX_TCP_READ() failed [Interrupted system call]
    4767:20100627:204116.821 ZABBIX Host [SYSTEM-X]: first network error, wait for 15 seconds
    I've checked the registered system objects with the typeperf -qx command and all of them are ok.

    My environment:

    Operating system:
    -CentOS release 5.4 (Final)
    -Linux HOST.DOMAIN 2.6.18-164.11.1.el5PAE #1 SMP Wed Jan 20 08:16:13 EST 2010 i686 i686 i386 GNU/Linux

    Zabbix-Server:
    30650:20100619:074601.186 Starting Zabbix Server. Zabbix 1.8.2 (revision 11211).
    30650:20100619:074601.186 **** Enabled features ****
    30650:20100619:074601.186 SNMP monitoring: YES
    30650:20100619:074601.186 IPMI monitoring: YES
    30650:20100619:074601.187 WEB monitoring: YES
    30650:20100619:074601.187 Jabber notifications: NO
    30650:20100619:074601.187 ODBC: NO
    30650:20100619:074601.187 SSH2 support: YES
    30650:20100619:074601.187 IPv6 support: YES
    30650:20100619:074601.187 **************************


    Operating system client:
    Windows Server 2003 R2 SP2

    Zabbix Agentd:
    28380:20100617:125051.557 Zabbix Agent started. Zabbix 1.8.2 (revision 11189).
    27548:20100617:125051.557 zabbix_agentd collector started
    24840:20100617:125051.557 zabbix_agentd listener started
    15756:20100617:125051.557 zabbix_agentd listener started
    1244:20100617:125051.557 zabbix_agentd listener started
    23344:20100617:125051.573 zabbix_agentd listener started
    13348:20100617:125051.573 zabbix_agentd listener started
  • nima0102
    Senior Member
    • May 2010
    • 106

    #2
    Hi
    I have the same problem too.Unfortunately with changing "Timeout" option to 30 the problem was not solved!!
    I think this problem is related to bug on agentd in 1.8.2!

    Thanks for any help or guidance

    Comment

    • frankp
      Junior Member
      • Jun 2010
      • 20

      #3
      Hello together,
      would be great to get an explanation of the logged errors.
      I asume the errors will not be logged just for fun.
      So the main questions are:
      • What are the possible causes of the problem?
      • What are the consequences of this type of error messages?
      • What are possible solutions?


      Thanks
      Frank

      Comment

      • ruswold
        Senior Member
        • Mar 2010
        • 210

        #4
        Originally posted by frankp
        Hello together,
        would be great to get an explanation of the logged errors.
        I asume the errors will not be logged just for fun.
        So the main questions are:
        • What are the possible causes of the problem?
        • What are the consequences of this type of error messages?
        • What are possible solutions?


        Thanks
        Frank
        Hi
        1. Check firewall ports 10050 on Server and agents
        2. Check zabbix_agent.conf ServerPort (default 10051) and ListenPort (default 10050), hostname (must be the same on zabbix_server and agent, important register!)
        3. Try get result from zabbix manually:
        zabbix_get -sHOST -kITEM_DESCRIPTION
        4. If yours host and server don't use IPv6, don't compile zabbix with support IPv6

        Yours item is ok. I also used this item:
        Code:
        perf_counter[\PhysicalDisk(0 C:)\Avg. Disk Queue Length]

        Comment

        • frankp
          Junior Member
          • Jun 2010
          • 20

          #5
          Morning ruswold,
          thanks for your comment.
          Since I've already checked your suggestion 1, 2, and 3, number 4 could be the cause.
          I'll look into this next week.

          Have a nice weekend
          Regards
          Frank

          Comment

          • Utyf
            Junior Member
            • Aug 2010
            • 2

            #6
            Hi everybody!

            I have meet the same trouble.

            My configuration:
            Zabbix Server

            - CentOS release 5.5 (Final)
            - Linux lin1.mydomain.ru 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
            - Zabbix Server v1.8.2 (revision 11211) (29 March 2010)


            Zabbix Client:

            - Windows 7 Ultimate 64-bit
            - system.uname: Windows WIN7 6.1.7600 Windows Server 2008 AMD-64
            - agent.version: 1.8.2


            Zabbix Server running in vmware on the Zabbix Client

            Zabbix Agent normally working and collecting items except "perf_counter".
            Error message:

            4599:20100817:105631.979 Item [WIN7: perf_counter[\\System\\File Read Bytes/sec,1]] error: Get value from agent failed: ZBX_TCP_READ() failed [Interrupted system call]
            4599:20100817:105631.982 ZABBIX Host [WIN7]: first network error, wait for 15 seconds
            4599:20100817:105648.024 Item [WIN7: perf_counter[\\System\\File Read Bytes/sec,1]] error: Not supported by Zabbix Agent
            4599:20100817:105648.024 Parameter [WIN7: perf_counter[\\System\\File Read Bytes/sec,1]] is not supported by agent Old status [0]



            But!!! zabbix_get is working !!!

            lin1# ./zabbix_get -sWIN7 -k"perf_counter[\\System\\File Read Bytes/sec,1]"
            1805.569236
            lin1#


            Do you have any idea?
            Last edited by Utyf; 29-09-2010, 15:17.

            Comment

            • ruswold
              Senior Member
              • Mar 2010
              • 210

              #7
              Originally posted by Utyf
              ./zabbix_get -sWIN7 -k"perf_counter[\\System\\File Read Bytes/sec,1]
              Do you have any idea?
              I think you use wrong key. It should be like:
              perf_counter[\System\File Read Bytes/sec]

              Comment

              • Utyf
                Junior Member
                • Aug 2010
                • 2

                #8
                Originally posted by ruswold
                I think you use wrong key. It should be like:
                perf_counter[\System\File Read Bytes/sec]
                Yes. You right!
                I used "Template Windows", that used "\\System..".
                Now I created Item manually with "perf_counter[\System\File Read Bytes/sec]", it working !

                Why "Template Windows" used wrong syntacsis?
                And why zabbix_get working with wrong sintacsis?

                Comment

                Working...