EXITS File Format

The SYSWATCH EXITS file contains a series of exit statements, each naming an exit routine to use to retrieve data, and a time interval for running the routine. For each exit routine prepare one statement consisting of two values, in the format:
exit_routine +hh:mm:s
The first value is the name of an exit routine. The second value is the run interval. Any information following the second value is treated as a comment. For example,
QTIME  +00:03:0  Get the system time using QUERY TIME
is an exit statement telling SYSWATCH to run the QTIME exit routine every three minutes to obtain the date and time from the system. Blank lines are ignored, and lines beginning with an asterisk (*) or slash asterisk (/*) are treated as comments.

The following table describes the exit statement values.

Table 1. SYSWATCH EXITS Values
Value Description
exit_routine Specifies the name of an exec to be run as an exit routine. Data retrieved by this exit routine will be forwarded to the central system for display.
+hh:mm:s Specifies how often the exit routine will be run.

Specify the interval in +hh (00–23) hours, mm (00–59) minutes, and s (0–5) seconds, where seconds is in multiples of ten.

At each monitored system, run at least one exit routine at a time interval of 5 minutes or less. SYSWATCH uses this time interval to call your attention to possible system networking problems. It does so by highlighting on the System Selection panel the node ID of any system that has not returned data in 5 minutes. If all exit routines on one system run at intervals longer than 5 minutes, that system will always be highlighted. But by running just one routine at a shorter interval, only those systems that may be functioning improperly will be highlighted.