From 6c0b1a6431540c074920252a3b2a964fe9bdf99b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 19 Sep 2020 21:24:38 +0300 Subject: Proof-read the docs. --- doc/ping903q.1 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'doc/ping903q.1') diff --git a/doc/ping903q.1 b/doc/ping903q.1 index cf6172e..9352ca9 100644 --- a/doc/ping903q.1 +++ b/doc/ping903q.1 @@ -13,7 +13,7 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with Ping903. If not, see . -.TH PING903Q 1 "March 10, 2020" "PING903Q" "User Commands" +.TH PING903Q 1 "September 19, 2020" "PING903Q" "User Commands" .SH NAME ping903q \- ping903 query tool .SH SYNOPSIS @@ -51,8 +51,8 @@ detailed information about round trip times and lost packets. By default, the program attempts to connect to the default REST API port of (localhost:8080). If the file .B /etc/ping903.conf -exists, it will obtain the socket address from the \fBlisten\fR -statement. See +exists and contains the \fBlisten\fR statement, the value of this +statement will be used instead. See .BR ping903.conf (5), for detailed description of the configuration file. .SS Nagios check mode @@ -76,7 +76,7 @@ authorization \fIrealm\fR name presented by the server. If such an entry is found, the user name and password listed in it will be used to send the authorized request. .PP -Using the \fB\-R\fR option, you can force using a specific realm for +The \fB\-R\fR option allows you to use a specific realm for authorization. In this case, the \fB.ping903.cred\fR file is scanned at startup and the credentials found in it are used to authorize the request, without sending unauthorized request first and consulting the @@ -89,7 +89,7 @@ When called without arguments, the program exits with code 0 if all monitored IP addresses are alive, 2 if none of them is reachable and 1 if some of them are. .PP -Exit codes in nagios check mode: +In Nagios check mode, exit codes are: .TP .B 0 Success @@ -167,7 +167,7 @@ arguments. Other options valid in this mode: .TP \fB\-N\fR -By default hosts in initial state (i.e. for which no data has been +By default, hosts in initial state (i.e. for which no data has been collected) are treated as "OK" (exit status 0). This option changes the default to treat them as "UNKNOWN" (exit status 3). .TP @@ -183,7 +183,8 @@ Switch to the host match mode. .SH SEE ALSO .BR ping903 (8), .BR ping903.cred (5), -.BR Nagios . +.B Nagios +. .SH COPYRIGHT Copyright \(co 2020 Sergey Poznyakoff .br -- cgit v1.2.1