Network Hardware User Manual

U3585-J-Z125-8-76 63
SM2 operation Statements for SM2 adminstrators
Statements for preparing, starting, and stopping monitoring programs
Once you have defined the objects to be monitored, the monitoring program run can be
started. Certain preparations are recommended for the COSMOS monitoring program to
ensure that it starts quickly and without errors. After defining new monitored objects/
monitoring parameters, the monitoring program run must be stopped and then started
again in order to actually add the newly defined objects and parameters to the monitoring
program. The INITIATE, START, CHANGE and STOP statements are used for this purpose.
The START statement is used to start the monitoring programs. The CHANGE statement
is required following the redefinition of monitored objects/monitoring parameters of the
monitoring program run in order to add the new objects/parameters to the monitoring
program. The monitoring program run is stopped and then started with the new monitored
objects/monitoring parameters. The STOP statement terminates the specified monitoring
programs.
The START, CHANGE and STOP statements merely interrupt the current monitoring cycle.
Statements for opening and closing the SM2 output file and controlling monitored-
data acquisition
In addition to the output of reports on the screen, monitored data can be continuously
written to file. Creating the SM2 output file (OPEN-LOG-FILE) and closing it (CLOSE-LOG-
FILE) is a privilege reserved for SM2 administrators. The OPEN-LOG-FILE statement can
be used to modify the predefined SM2 file attributes.
The MODIFY-MEASUREMENT-PERIODS statement can be used to modify the monitoring
cycles for background monitoring (collecting and writing monitored data to the SM2 output
file), and to modify the screen output and the sampling cycle.
Statement Function
INITIATE-COSMOS Prepare the COSMOS monitoring program
START-MEASUREMENT-PROGRAM Start the monitoring program run
CHANGE-MEASUREMENT-PROGRAM Stop the current monitoring program run and restart
it with new monitored objects/monitoring parameters
STOP-MEASUREMENT-PROGRAM Terminate the monitoring program run
Statement Function
OPEN-LOG-FILE Open the SM2 output file
CLOSE-LOG-FILE Close the SM2 output file
MODIFY-MEASUREMENT-PERIODS Modify the SM2 monitoring cycle