From f27d95aa27af922ee11c67133ef4945d1c02643e Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 16 Jun 2023 14:01:42 +0200 Subject: [PATCH] check_psqlserver update help text --- check_psqlserver | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/check_psqlserver b/check_psqlserver index 16e823f..59af0f0 100755 --- a/check_psqlserver +++ b/check_psqlserver @@ -18,12 +18,13 @@ # 2023-06-08 v0.4 <axel.hahn@unibe.ch> get summary for cronflicts and problems # 2023-06-09 v0.5 <axel.hahn@unibe.ch> deltaunit can be set as parameter # 2023-06-13 v0.6 <axel.hahn@unibe.ch> no output on activity; update replication check +# 2023-06-16 v0.7 <axel.hahn@unibe.ch> update help text # ====================================================================== . $(dirname $0)/inc_pluginfunctions self_APPNAME=$( basename $0 | tr [:lower:] [:upper:] ) -self_APPVERSION=0.6 +self_APPVERSION=0.7 # --- other vars... cfgfile=/etc/icingaclient/.psql.conf @@ -126,12 +127,12 @@ OPTIONS: PARAMETERS: -m method; valid methods are: - activity running processes and queries - conflicts Detected conflicts from pg_stat_database_conflicts + activity Count running processes and queries + conflicts Count of detected conflicts dbrows Count of database row actions diskblock Count of diskblocks physically read or coming from cache - problems Problems and troublemakers - replication Replication status (table output only) + problems Count of problems and troublemakers + replication Replication status and lag time transactions Count of transactions over all databases EXAMPLES: @@ -392,7 +393,7 @@ case "${sMode}" in ;; *) - echo ERRROR: [${sMode}] is an INVALID mode + echo "ERRROR: [${sMode}] is an INVALID mode" _usage ph.abort -- GitLab