Ad Widget

Collapse

zabbix sender fails with large file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hkjarral
    Junior Member
    • Jul 2019
    • 9

    #1

    zabbix sender fails with large file

    Hello,

    I have been struggling with zabbix_sender for sending a file with more than 12 values. Uptill 12-15 values it works fine, server can receive values parse it and everything but as soon as file has more than 20 entries it fails.

    Code:
    zabbix_sender -vv   -z 192.168.X.X-p 10051  -i  zbx-ceph-osds.RXgvlHn8HR4 
    zabbix_sender [1945223]: DEBUG: answer []
    zabbix_sender [1945223]: Warning: incorrect answer from server []
    Sending failed.
    Code:
      cat zbx-ceph-osds.RXgvlHn8HR4 
    hosting-x.domain.com ceph.osdspaceavail[osd.3] 139.73577880859375
    hosting-x.domain.com ceph.osdspaceavail[osd.4] 82.3427734375
    hosting-x.domain.com ceph.osdspaceavail[osd.5] 92.45989990234375
    hosting-x.domain.com ceph.osdspaceavail[osd.0] 82.10772705078125
    hosting-x.domain.com ceph.osdspaceavail[osd.1] 85.06463623046875
    hosting-x.domain.com ceph.osdspaceavail[osd.2] 113.3829345703125
    hosting-x.domain.com ceph.osdspaceavail[osd.8] 97.68695068359375
    hosting-x.domain.com ceph.osdspaceavail[osd.9] 122.2645263671875
    hosting-x.domain.com ceph.osdspaceavail[osd.10] 91.3482666015625
    hosting-x.domain.com ceph.osdspaceavail[osd.6] 99.08160400390625
    hosting-x.domain.com ceph.osdspaceavail[osd.7] 98.67034912109375
    hosting-x.domain.com ceph.osdspaceavail[osd.11] 76.7340087890625
    hosting-x.domain.com ceph.spaceavail 1180.8794555664062
    hosting-x.domain.com ceph.spacetotal 5364.021286010742
    hosting-x.domain.com ceph.osdstatus[osd.0] 1
    hosting-x.domain.com ceph.osdstatus[osd.1] 1
    hosting-x.domain.com ceph.osdstatus[osd.2] 1
    hosting-x.domain.com ceph.osdstatus[osd.3] 1
    hosting-x.domain.com ceph.osdstatus[osd.4] 1
    hosting-x.domain.com ceph.osdstatus[osd.5] 1
    hosting-x.domain.com ceph.osdstatus[osd.6] 1
    hosting-x.domain.com ceph.osdstatus[osd.7] 1
    hosting-x.domain.com ceph.osdstatus[osd.8] 1
    hosting-x.domain.com ceph.osdstatus[osd.9] 1
    hosting-x.domain.com ceph.osdstatus[osd.10] 1
    hosting-x.domain.com ceph.osdstatus[osd.11] 1
    hosting-x.domain.com ceph.osdcount 12

    #zabbix_sender -V
    zabbix_sender (Zabbix) 3.4.15
    Revision 86739 12 November 2018, compilation time: Nov 12 2018 09:35:45
    Copyright (C) 2018 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.

    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit (http://www.openssl.org/).

    Compiled with OpenSSL 1.1.0f 25 May 2017
    Running with OpenSSL 1.1.0k 28 May 2019


    #zabbix_server --version
    zabbix_server (Zabbix) 3.4.15
    Revision 86739 12 November 2018, compilation time: Nov 12 2018 10:55:19
    Copyright (C) 2018 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.

    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit (http://www.openssl.org/).

    Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
    Running with OpenSSL 1.0.1e-fips 11 Feb 2013

  • hkjarral
    Junior Member
    • Jul 2019
    • 9

    #2
    Anyone seen this or is it just me

    Comment

    • andris
      Zabbix developer
      • Feb 2012
      • 228

      #3

      "incorrect answer from server" means that server responded with not an expected answer in JSON format. You can try to look into Zabbix server log. If there is nothing you can try to increase DebugLevel for trapper processes.

      Comment

      • hkjarral
        Junior Member
        • Jul 2019
        • 9

        #4
        Nothing in the zabbix server log altough I do see it when I try via tcpdump.

        Comment

        • hkjarral
          Junior Member
          • Jul 2019
          • 9

          #5
          Ok I figured it out. It was different MTU size on zabbix server.

          Comment

          Working...