Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Performance Monitor (NPM) > Alert email action messages shows volume percentage with 5 decimal places

Alert email action messages shows volume percentage with 5 decimal places

Created by James Fahey, last modified by MindTouch on Jun 23, 2016

Views: 30 Votes: 0 Revisions: 4

Overview

When using alert email actions for volumes percentage, the output shows the value in 5 decimal places. For example 90.12345%.

This shows hows to format the output to be in whole numbers which rounds up the 5 decimal places.

Environment

  • All Core versions
  • All NPM versions

Cause 

This is by design, the value of the percentage of volumes are formatted by 5 decimal places.

Resolution

  1. To remove the decimal places entirely from the Volume Percent Available variable when parsed is to, add the option of Format Output Value and select Bytes, then type a '%' after the variable is inserted in the message:
  2. To remove the decimal places entirely from the Percent Used'variable when parsed is to, add in the variable syntax F=Bytes inside the '{}' and then the percent symbol behind the variable: ${N=SwisEntity;M=VolumePercentUsed;F=Bytes} % 
  3. It should look like the below after setting the format:

 

 

 

 

Last modified
21:44, 22 Jun 2016

Tags

Classifications

Public