The default SSH.sep for Performance Explorer SSH monitoring is contained in the \SilkPerformer x.x\Monitors folder. By default it has 5 defined commands that run during a monitoring interval. The number of defined commands can be increased or decreased but the value of the returned command must be a number. For Example, the addition of a 6th command:- 1.Extract the contents of the SSH.SEP with WINZIP to a folder named SSH 2.Use SilkPerformer to open the extracted SSH.LTP 3.Click PROJECT | PROJECT ATTRIBUTES 4. Add the following project attributes:- Command6 : This is the command to be executed Type should be string, value should be the actual command to run, and default value should be the same as value. Command6.Active : If TRUE then this command will be executed Type should be Boolean, value should be true, and default value should be the same as value. Command6.Column : The column to extract from the output of the command Type should be number, value should be the column number, and default value should be the same as value. #BDLMonitor6.Name : This is the description that appears in Performance Explorer Type should be string, value should be the actual description to appear, and default value should be the same as value. #BDLMonitor6.Type : This is the Measure type for Performance Explorer to display Type should be string, value should be the actual description to appear, and default value should be the same as value. #BDLMonitor6.Enabled : If TRUE then this measure is displayed. Type should be Boolean, value should be true, and default value should be the same as value. Enter the above in the appropriate fields. 5. Alter the following SSH.BDF script constant to the desired number of configured commands:- e.g. CONST_NR_COUNTERS := 6; 6. Ensure a TryScript works 7. Change the name of the file if desired. To do this open the Data file MONITOR.CONF from the project window which will look like the following:- Miscellaneous\Secure Shell Borland Software 2003 Borland 15.0 Change the following line to name your SEP whatever you like e.g. Miscellaneous\My SSH Monitor 8. Go to FILE | EXPORT PROJECT and rename to a .sep format 9. Place in the Working\Monitors folder 10. Now when you go to MONITOR | ADD DATA SOURCES in Performance Explorer there will be an entry under +MISCELLANEOUS My SSH Monitor Old KB# 18645
↧