You are here

check_apache_performance plugin : 0MB in metric traffic

1 post / 0 new
yohandry.cueto
yohandry.cueto's picture
check_apache_performance plugin : 0MB in metric traffic

Hi,

When executing the script check_apache_performance , "most of times" the returned value

is 0 MB, like this

APACHE STATUS OK - apache metric-traffic = 0 MB | traffic=0 MB;;

Being a fairly used environmet this measure is not correct, there is always

traffic, in other ocassions I get very smalls numbers like:

APACHE STATUS OK - apache metric-traffic = 0.00766172624045986 MB | traffic=0.00766172624045986 MB;;

This make wonder if some math inside the script is rounding the values to 0 in some situations, I have been not

able to identify the piece of code doing this.

Have someone faced this problem? Any help to fix or point me to the right direction will be

appreciated.

Regards,