-
Incident report
-
Resolution: Fixed
-
Major
-
1.8.2
-
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.