Error: "Please enter a valid Alarm Threshold" When Configuring Voltage Alarm on NetScaler

Error: "Please enter a valid Alarm Threshold" When Configuring Voltage Alarm on NetScaler

book

Article ID: CTX202443

calendar_today

Updated On:

Description

When you enter a decimal value (3.4 or 4.5) for Alarm Threshold and Normal Threshold the following error is displayed:
Error: "Please enter a valid Alarm Threshold"

When you enter a whole number (3 or 4) NetScaler accepts the value.

User-added image

Resolution

If you want to configure the alarm with decimal values then you have to multiply the threshold values by 1000.

For example, if the acceptable voltage range of a platform is MIN=3.17 and MAX=3.54 then you need to multiply the values by 1000. So the acceptable range in this case is  MIN=3.17 *1000 =3170 and MAX=3.54*1000 =3540.

The following is a sample command to configure the alarm:
> set snmp alarm VOLTAGE-HIGH -thresholdValue (3.54*1000)  -normalValue (3.5*1000) -state ENABLED -severity Critical -logging ENABLED -timeout 0
> set snmp alarm VOLTAGE-HIGH -thresholdValue 3540  -normalValue 3500 -state ENABLED -severity Critical -logging ENABLED -timeout 0


Problem Cause

NetScaler only accepts unsigned integer values for Alarm Threshold and Normal Threshold.

Issue/Introduction

The following error is displayed when configuring voltage alarm on NetScaler: Please enter a valid Alarm Threshold