Hello,
I used the icmppingsec simple check the response time of a remote site, but I got only 0s. I saw afterwards that seconds and not milliseconds are stored in the DB.
Bug or feature? In LAN/WAN, you have response times < 100 ms. Storing response timea in seconds is pretty useless.
To have milliseconds, change the following line in src/zabbix_server/pinger/pinger.c
old : SET_DBL_RESULT(&value, mseconds/1000);
new : SET_DBL_RESULT(&value, mseconds);
and recompile. It works quite well.
Greets /jm
I used the icmppingsec simple check the response time of a remote site, but I got only 0s. I saw afterwards that seconds and not milliseconds are stored in the DB.
Bug or feature? In LAN/WAN, you have response times < 100 ms. Storing response timea in seconds is pretty useless.
To have milliseconds, change the following line in src/zabbix_server/pinger/pinger.c
old : SET_DBL_RESULT(&value, mseconds/1000);
new : SET_DBL_RESULT(&value, mseconds);
and recompile. It works quite well.
Greets /jm
Comment