Sun Management Center 3.6.1 User's Guide

File Scanning Module Version 2.0

The File Scanning module scans files on a host for user-specified patterns. Multiple instances of the File Scanning module can be loaded to scan multiple files. This module requires you to add rows for the data property tables. For more information, see To Add a Row to a Data Property Table.

The File Scanning module has the following managed objects:

The following table provides a brief description of the properties for file scanning.

Table C–124 File Scanning Properties

Property 

Description 

File ID 

Name of the pattern used in the file scan 

File Stats 

State of the pattern listed 

Scan Table 

Name of the pattern used in the file scan 

The following table provides a brief description of the properties for file ID.

Table C–125 File ID Properties

Property 

Description 

Filename 

Full path name of the file to be scanned  

Scan Mode 

Mode in which the file is being scanned  

Start Time 

Time the file scan was first started  

The File Statistics table displays summary information on the file that is to be scanned. The following table provides a brief description of the properties for file statistics.

Table C–126 File Statistics Properties

Property 

Description 

Modification Time 

Date and time when the file was last modified  

File Size 

Size of the file in bytes  

Number of Lines 

Number of lines that are in the file  

Lines Per Second 

Rate at which the file is changing in lines per second  

The following table provides a brief description of the properties for scan.

Table C–127 Scan Table Properties

Property 

Description 

Row Status 

Status of the row 

Pattern Name 

Name of the pattern that was used in the file scan  

Pattern Description 

Name of the pattern entry to be displayed in the name field of the Scan Results section. To scan the fault messages in the syslog file, prefix the description with FMA:

Regexp Pattern 

Regular expression pattern to be used when scanning the file for entries. To scan the fault messages in the syslog file, specify the pattern in this format: <token>:<value>, where <token> is the fault parameter and <value> is the value of the fault parameter.

Pattern State 

State of the pattern listed (on/off). The off state indicates that the listed pattern is not used in the file scan 

Matches 

Number of lines that contain the pattern