From: Alf Wachsmann Date: Thu, 29 Jul 2004 05:17:02 +0000 (+0000) Subject: afsmonitor-document-usage-20040729 X-Git-Tag: BP-openafs-stable-1_4_x~59 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=276d7351122263a76ce0122e36b8218569480e2f afsmonitor-document-usage-20040729 FIXES 5931 update the docs to reflect the usage correctly --- diff --git a/doc/html/AdminReference/auarf052.htm b/doc/html/AdminReference/auarf052.htm index 4db5a2c..a75913a 100644 --- a/doc/html/AdminReference/auarf052.htm +++ b/doc/html/AdminReference/auarf052.htm @@ -54,13 +54,19 @@ script. The optional arg1 through afsmonitor program passes as arguments to the cmd_to_execute 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_to_execute: +

host_name fs|cm field_name +threshold_val +actual_val [<arg1>] +. . . [<argn>]

The parameters fs, cm, field_name, threshold_val, and arg1 through argn correspond to the values with the same name on the thresh line. The host_name parameter identifies the file server or client machine where the statistic has crossed the threshold, and the actual_val parameter is the actual value of -field_name that equals or exceeds the threshold value. +field_name that exceeds the threshold value.

Use the thresh line to set either a global threshold, which applies to all file server machines listed on fs lines or client machines listed on cm lines in the configuration file, or a