From 5c72d075deb12239e2f1c61cf7b91e0f6ef19640 Mon Sep 17 00:00:00 2001 From: tonvoon Date: Wed, 30 Jun 2010 13:16:32 +0000 Subject: Corrected rate_multiplier calculation --- plugins/check_snmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_snmp.c') diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index e6707a08..206073b6 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -424,7 +424,7 @@ main (int argc, char **argv) temp_double+=(double)18446744069414584320.0; /* 2^64-2^32 */; } /* Convert to per second, then use multiplier */ - temp_double = temp_double/(duration*rate_multiplier); + temp_double = temp_double/duration*rate_multiplier; iresult = get_status(temp_double, thlds[i]); asprintf (&show, conv, temp_double); } -- cgit v1.2.3-74-g34f1