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.
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 |
<THRESHOLD
name="IfInOctect-critical"
kind="long"
severity="1"
category="Threshold"
thresholdType="Max"
thresholdValue="20000"
rearmValue="18000"
message="Threshold exceeded"
clrMessage="Threshold reset"
sendClear="true"/>
<THRESHOLD
name="threshold2"
kind="string"
allowed="router1,router2"
disAllowed="router5"
category="Threshold"
message="Threshold exceeded"
triggerSeverity="1"
resetSeverity="5"
clrMessage="Threshold reset" />
<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" />
<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"/>
<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.