Threshold Calculations For Drive Space

Last Modified

Wed Jul 19 15:12 GMT 2017

Description

  • With most services in newer releases of N-able N-central we have moved to using smaller unit sizes to allow more flexibility. This means that previously when a service (say Disk for example) might have been measured in GB for the thresholds, it will not use a smaller unit such as Bytes or KB.

Environment

  • Various N-able N-central Versions

Solution

Calculations

A side effect of making the services more versatile is that the numbers can become slightly harder to work with. The actual service will show a traditional relevant value (such as GB), but the thresholds tab will show the granular value. To get the final result you simply need to divide by 1024 for each step (Byte, KB, MB, GB, TB):
  • For Byte to KB divide by 1024 once.
  • For Byte to MB divide by 1024 twice (divide by 1048576)
  • For Byte to GB divide by 1024 three times (divide by 1073741824)
  • For Byte to TB divide by 1024 four times (divide by 1099511627776)
These number assume you are moving from Bytes, but if moving from KB to MB it is simply reduce the number of steps (divide by 1024 when moving from KB to MB).