diff --git a/check_psqlserver b/check_psqlserver index 16e823ffb6f82db8f80e06603a38f68cc4c57dd5..59af0f07dfc55be5018722b0156dfe291741ebf2 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