OVNPM 1.5.2 - Performance Agent for NonStop Server Monitoring Guide
54
4-1-2 Writing the Threshold Text File
This section explains the syntax to write a threshold text file. To understand the threshold syntax, export threshold
configurations and compare the text file with the thresholds in the Display Agent Alert Configuration window.
The threshold text file defines two kinds of objects: the Group and the Threshold itself.
The syntax of a few samples is provided below for reference:
4-1-2-1 Group Syntax
The syntax of a group is:
group <groupId>, name <groupName> {,<group-option>};
<goupId> is group id from 1 to 9999.
<groupName> is group name. The quote can be used if name contains
a blank. Maximum length is 32 characters.
<group-option>
[operator (all|any) ]
[log (-1 | 0 | 1 | 2 | 3) ]
[severity (severe | high | medium | low) ]
[comment <quotedString> ]
<quotedString> is a quoted string. The maximum length is 80 characters.
Quote inside the string must be preceded by a quote.
• Any group-option can be omitted.
• When omitted, the default operator is all.
• When omitted, the default severity is low.
• There is no default value for the group-option.
4-1-2-2 Group Definition Sample
Sample 1: Following sample is the minimal definition for a group.
group 1, name "system disc";
Sample 2:
group 2,
name "data disc pool",
severity high,
operator all,
comment "pool for virtual data disc is full";
4-1-2-3 Threshold Syntax
threshold <condition> {,<threshold-option>};
<condition>
<domain>”[”<instance>”].”<metric> <operator> <value>
<domain> is the domain name or the domain Id.
<instance> is the instance name, the instance id or
a pattern using wildcards “*” or “?”.
<metric> is the metric name or the metric id.