From e377eebca2b02175431463c41c2c5dcdc5f01a00 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sat, 24 Jan 2004 21:53:11 +0000 Subject: - fixed pinger to correc calculate number of seconds (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1203 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- src/zabbix_sucker/pinger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/zabbix_sucker/pinger.c b/src/zabbix_sucker/pinger.c index 85463e88..afc105a5 100644 --- a/src/zabbix_sucker/pinger.c +++ b/src/zabbix_sucker/pinger.c @@ -211,7 +211,7 @@ int do_ping(void) } else { - snprintf(tmp,sizeof(tmp)-1,"%f",mseconds/100); + snprintf(tmp,sizeof(tmp)-1,"%f",mseconds/1000); process_value(SERVER_ICMPPING_KEY,ip,"1"); process_value(SERVER_ICMPPINGSEC_KEY,ip,tmp); } -- cgit