man afsmonitor (Formats) - Provides instructions for the afsmonitor command

NAME

afsmonitor - Provides instructions for the afsmonitor command

DESCRIPTION

The afsmonitor configuration file determines which machines the afsmonitor command probes for File Server or Cache Manager statistics and which statistics it gathers. Use the -config argument to the afsmonitor command to identify the configuration file to use.

The instructions that can appear in the configuration file are as follows: Names a client machine for which to display Cache Manager statistics. The order of CWcm lines in the file determines the order in which client machines appear from top to bottom on the CWSystem Overview and CWCache Managers output screens. Names a file server machine for which to display File Server statistics. The order of CWfs lines in the file determines the order in which file server machines appear from top to bottom on the CWSystem Overview and CWFile Servers output screens. Assigns the threshold value thresh to the statistic field, for either a File Server statistic (CWfs) or a Cache Manager statistic (CWcm). The optional cmd field names a binary or script to execute each time the value of the statistic changes from being below thresh to being at or above thresh. A change between two values that both exceed thresh does not retrigger the binary or script. The optional arg fields are additional values that the afsmonitor program passes as arguments to the cmd command. If any of them include one or more spaces, enclose the entire field in double quotes. The afsmonitor program passes the following parameters to the cmd:

    <hostname> (fs|cm) <field> <thresh> <actual> [<arg> ...]
The parameters CWfs, CWcm, <field>, <thresh>, and <arg> correspond to the values with the same name on the thresh line. The <hostname> parameter identifies the file server or client machine where the statistic has crossed the threshold, and the <actual> parameter is the actual value of <field> that exceeds the threshold value. Use the CWthresh line to set either a global threshold, which applies to all file server machines listed on CWfs lines or client machines listed on CWcm lines in the configuration file, or a machine-specific threshold, which applies to only one file server or client machine. To set a global threshold, place the thresh line before any of the CWfs or CWcm lines in the file. To set a machine-specific threshold, place the thresh line below the corresponding CWfs or CWcm line, and above any other CWfs or CWcm lines. A machine-specific threshold value always overrides the corresponding global threshold, if set. Do not place a CWthresh fs line directly after a CWcm line or a CWthresh cm line directly after a CWfs line. Specifies which individual statistic, group of statistics, or section of statistics to display on the CWFile Servers screen (CWfs) or CWCache Managers screen (CWcm) and the order in which to display them. The appendix of afsmonitor statistics in the IBM AFS Administration Guide specifies the group and section to which each statistic belongs. Include as many CWshow lines as necessary to customize the screen display as desired, and place them anywhere in the file. The top-to-bottom order of the CWshow lines in the configuration file determines the left-to-right order in which the statistics appear on the corresponding screen. If there are no CWshow lines in the configuration file, then the screens display all statistics for both Cache Managers and File Servers. Similarly, if there are no CWshow fs lines, the CWFile Servers screen displays all file server statistics, and if there are no CWshow cm lines, the CWCache Managers screen displays all client statistics. Precedes a line of text that the afsmonitor program ignores because of the initial number (CW#) sign, which must appear in the very first column of the line.

For a list of the values that can appear in the field/group/section field of a CWshow instruction, see the afsmonitor statistics appendix to the IBM AFS Administration Guide.

SEE ALSO

the afsmonitor(1) manpage

COPYRIGHT

IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.