Sun Management Center 3.6.1 User's Guide

ProcedureTo Set a History Interval

  1. Open the Attribute Editor for the data property on which you want to set the history information.

    For example, follow these steps to access the Attribute Editor for Load Averages Over the Last 5 Minutes:

    1. Click the Module Browser tab in the Details window.

    2. Click the expansion icon next to the Operating System icon in the hierarchy tree view.

    3. Click the expansion icon next to the Kernel Reader icon.

    4. Double-click the System Load Statistics icon.

    5. Select the table cell for Load Averages Over the Last 5 Minutes.

    6. Click the Attributes button.

  2. Click the History tab.

    The history panel is displayed.

  3. Type a value in seconds in the Sample Interval field or click the Advanced button.

    For example, to collect a history data point every two minutes, type 120 in the Sample Interval field.

  4. Select Save History as Disk File or Save History in Memory Cache.

  5. To save history as a disk file:

    1. Determine the file type, either circular or text.

      • A circular file has a predefined length of 1000 lines. If the amount of data that is written to the file exceeds that length, then the file rewrites from the beginning.

      • A flat text file has no predefined length. Information is appended to the flat file until you stop the process or until the disk space is exceeded. Use this feature if you need to keep history files for data warehousing purposes.

    2. For a text file, type the file name in the Text File Name field.

      If you do not choose a file name for your text file, data are saved automatically in the /var/opt/SUNWsymon/log/agent_default.history file.

      The file name cannot contain special characters, such as / or #.

  6. To save history in a memory cache, type the number of history data points in the Max Size (sample) field.

    For example, if you set this field to 1000, only the most recent 1000 data points are stored in the memory cache. Any older data points are discarded. These data points can be graphed. See To Create a Graph of a Monitored Data Property for more information.

  7. To apply your history file changes and close the History panel, click the OK button.