Skip to content
Snippets Groups Projects
Commit f27d95aa authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

check_psqlserver update help text

parent a74ab0f6
No related branches found
No related tags found
1 merge request!118Update docs
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment