table of contents
other versions
- wheezy 1.6.1-3+deb7u5
- wheezy-backports 1.6.9-2+deb8u4~bpo70+1
- jessie 1.6.9-2+deb8u5
- jessie-backports 1.6.18.2-1~bpo8+1
- testing 1.6.20-2
- unstable 1.6.20-2
- experimental 1.8.0~pre1-5
other sections
AFSMONITOR(5) | AFS File Reference | AFSMONITOR(5) |
NAME¶
afsmonitor - Provides instructions for the afsmonitor commandDESCRIPTION¶
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:- cm <host name>
- Names a client machine for which to display Cache Manager statistics. The order of "cm" lines in the file determines the order in which client machines appear from top to bottom on the "System Overview" and "Cache Managers" output screens.
- fs <host name>
- Names a file server machine for which to display File Server statistics. The order of "fs" lines in the file determines the order in which file server machines appear from top to bottom on the "System Overview" and "File Servers" output screens.
- thresh (fs | cm) <field> <thresh> [< cmd>] [<arg> ...]
- Assigns the threshold value thresh to the statistic
field, for either a File Server statistic ("fs") or a
Cache Manager statistic ("cm"). 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.
<hostname> (fs|cm) <field> <thresh> <actual> [<arg> ...]
- •
- To set a global threshold, place the thresh line before any of the "fs" or "cm" lines in the file.
- •
- To set a machine-specific threshold, place the thresh line below the corresponding "fs" or "cm" line, and above any other "fs" or "cm" lines. A machine-specific threshold value always overrides the corresponding global threshold, if set. Do not place a "thresh fs" line directly after a "cm" line or a "thresh cm" line directly after a "fs" line.
- show (fs | cm) field/group/section
- Specifies which individual statistic, group of statistics,
or section of statistics to display on the "File Servers" screen
("fs") or "Cache Managers" screen ("cm") and
the order in which to display them. The appendix of afsmonitor
statistics in the OpenAFS Administration Guide specifies the
group and section to which each statistic belongs. Include as many
"show" lines as necessary to customize the screen display as
desired, and place them anywhere in the file. The top-to-bottom order of
the "show" lines in the configuration file determines the
left-to-right order in which the statistics appear on the corresponding
screen.
- # comments
- Precedes a line of text that the afsmonitor program ignores because of the initial number ("#") sign, which must appear in the very first column of the line.
SEE ALSO¶
afsmonitor(1)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.2012-03-26 | OpenAFS |