Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2394

icmpping loss gets incorrect value 4294967196

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.4
    • 1.8.2
    • Server (S)
    • None

      After upgrading from 1.8 to 1.8.2 i started to get icmpping loss values 4294967196 instead of normal percent

      Unlsess I could not figure out the exact couse of the problem I found out that somehow pinger pings host twice and therefore actually gets 6 responses but code falsely assumes there were 3 pings so the value of loss percentage will be (3-6)/3*100 = 4294967196 (in unsigned)

      I managed to fix it by adding new line 294 to libs/zbxicmpping/icmpping.c to reset the received packet counter:
      293: c+= 3;
      294+: host->rcv=0;
      295:
      296: do {

      Please find out why it pingd two times in a row and does not reset the counter.

            Unassigned Unassigned
            martlaak Märt Laak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: