Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:monitoring
check_mk
check_mk-pnp-templates-check_mk-if.php.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check_mk-pnp-templates-check_mk-if.php.patch of Package check_mk
--- check_mk-if.php.orig 2019-12-23 15:05:13.439565790 +0100 +++ check_mk-if.php 2019-12-23 15:04:57.583566796 +0100 @@ -54,9 +54,13 @@ } # Convert bytes to bits if neccessary -$bandwidth = $MAX[1] * $unit_multiplier; -$warn = $WARN[1] * $unit_multiplier; -$crit = $CRIT[1] * $unit_multiplier; +#$bandwidth = $MAX[1] * $unit_multiplier; +#$warn = $WARN[1] * $unit_multiplier; +#$crit = $CRIT[1] * $unit_multiplier; +# https://lists.mathias-kettner.de/pipermail/checkmk-en/2018-May/025300.html +$bandwidth = ((float)$MAX[1]) * $unit_multiplier; +$warn = ((float)$WARN[1]) * $unit_multiplier; +$crit = ((float)$CRIT[1]) * $unit_multiplier; # Now choose a convenient scale, based on the known bandwith of # the interface, and break down bandwidth, warn and crit by that
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor