Top
Systemwalker Service Quality Coordinator User's Guide
Systemwalker

10.1.3 Confirmation of Definition

The syntax of the threshold monitoring definition file (alertconfig.txt) you create can be checked by sqcCheckAlertconfig (Threshold Monitoring Definition Check Command). Run this command on the server where threshold monitoring is to be performed.


Checking the threshold monitoring definition currently in operation

In the example below, the AlertID1 set on column 1, line 82 in threshold monitoring definition is not unique. Make sure the AlertID is unique.

[Windows]

C:\> "C:\Program Files\SystemwalkerSQC\bin\sqcCheckAlertconfig.bat"

Check alertconfig file.

-------------------------------------------------------------------------------

ERROR: alertconfig.txt, line 82, col 1, value = AlertId1: Alert Id is not unique.

-------------------------------------------------------------------------------

Command succeeded.

[UNIX]

# /opt/FJSVssqc/bin/sqcCheckAlertconfig.sh

Check alertconfig file.

-------------------------------------------------------------------------------

ERROR: alertconfig.txt, line 82, col 1, value = AlertId1: Alert Id is not unique.

-------------------------------------------------------------------------------

Command succeeded.


Checking a threshold monitoring definition file stored in other location

In the example below, the value 01:00:00 set on column 7, line 84 in threshold monitoring definition is before start time (Start time). Make sure the end time (End time) should be the same or after the start time.

[Windows]

C:\> " C:\Program Files\SystemwalkerSQC\bin\sqcCheckAlertconfig.bat" -f c:\alertconfig.txt

Check alertconfig file.

-------------------------------------------------------------------------------

ERROR: alertconfig.txt, line 84, col 7, value = 01:00:00: End time must be >= Start time.

-------------------------------------------------------------------------------

Command succeeded.

C:\>

[UNIX]

# /opt/FJSVssqc/bin/sqcCheckAlertconfig.sh -f /tmp/alertconfig.txt

Check alertconfig file.

-------------------------------------------------------------------------------

ERROR: alertconfig.txt, line 84, col 7, value = 01:00:00: End time must be >= Start time.

-------------------------------------------------------------------------------

Command succeeded.