6.7.4.2 Using Configuration File



 

You can create thresholds using the configuration file Threshold.conf located in the <WebNMS Home/conf> directory. Define the Threshold properties using the tag <THRESHOLD> ... </THRESHOLD> in this file. Ensure to restart the server if you have made configurations in this file.

 

Severity Constants

 

The Severity levels used for Threshold events are predefined and their corresponding integer values are given below. Use these values while specifying the severity in Threshold.conf.

 

Severity Constant

Value

Critical

1

Major

2

Minor

3

Warning

4

Clear

5

Info

6

Unknown

0

 

Top

 

Threshold for Long Value

 

<THRESHOLD

name="IfInOctect-critical"

kind="long"

severity="1"

category="Threshold"

thresholdType="Max"

thresholdValue="20000"

rearmValue="18000"

message="Threshold exceeded"

clrMessage="Threshold reset"

sendClear="true"/>

Top

 

Threshold for String Value

 

<THRESHOLD

name="threshold2"

kind="string"

allowed="router1,router2"

disAllowed="router5"

category="Threshold"

message="Threshold exceeded"

triggerSeverity="1"

resetSeverity="5"

clrMessage="Threshold reset" />

Top

 

Percentage Threshold

 

<THRESHOLD

name="threshold3"

kind="percentage"

oid="2.2.1.16.1"

oidType="node"

severity="1"

category="Threshold"

thresholdType="Max"

thresholdValue="60"

rearmValue="55"

message="Threshold exceeded"

clrMessage="Threshold reset"

sendClear="true" />

Top

 

Decimal Threshold

 

<THRESHOLD

name="Fault-Temp-Major"

kind="decimal"

severity="1"

category="Threshold"

thresholdType="min"

clrMessage="Threshold reset"

rearmValue="50.55"

message="Threshold exceeded"

thresholdValue="100.55"

sendClear="false"/>

 

Top

 

Range Threshold

 

<THRESHOLD

name="Fault-Res-Major"

kind="range"

severity="2"

category="KPI"

thresholdType="in"

maxValue="48"

minValue="24"

message="Fault Resolution Time is 1-2 days."

clrMessage="Fault Resolution Time within 1 day."

sendClear="true"/>

 

 

 


Copyright © 2013, ZOHO Corp. All Rights Reserved.