[Nagiosplug-devel] check_iftraffic.pl

Charly Chan tekion at gmail.com
Mon Nov 26 22:39:23 CET 2007


Hi list

There seems to be an issue with the current check_iftraffic.pl script, here's what I am getting from it:
main::(./check_iftraffic.pl:207):       my $in_traffic = sprintf( "%.2lf",
main::(./check_iftraffic.pl:208):               ( $in_bytes - $last_in_bytes ) / ( time - $last_check_time ) );
  DB<20> n
Invalid conversion in sprintf: "%f" at ./check_iftraffic.pl line 207.
main::(./check_iftraffic.pl:209):       my $out_traffic = sprintf( "%.2lf",
main::(./check_iftraffic.pl:210):               ( $out_bytes - $last_out_bytes ) / ( time - $last_check_time ) );


It looks like there an issue of sprintf format with "%f". Does any one have any idea? Thanks.



- Charly Chan (tekion)

-----------------------
The mailing list archive is found here:
http://www.nagiosexchange.org/nagiosplug-devel.31.0.html
				




More information about the Devel mailing list