Module: check_mk
Branch: master
Commit: d82c4c10b47ecc9ac8c4c38bfd28597ecb352a89
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d82c4c10b47ecc…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 29 10:59:57 2015 +0200
Fixed inline comment
---
agents/plugins/mk_postgres | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/plugins/mk_postgres b/agents/plugins/mk_postgres
index 2092204..12fd191 100755
--- a/agents/plugins/mk_postgres
+++ b/agents/plugins/mk_postgres
@@ -49,7 +49,7 @@ OUTPUT="$(echo "select $QNAME = '<IDLE>',
count(*) from pg_stat_activity group b
su - $USER -c "psql -X --variable ON_ERROR_STOP=1 -d postgres -A -t -F'
'" 2>/dev/null)"
echo "$OUTPUT"
-# line with number of idle sessions is sometimes missing on Postgre 8.x. This can lead
+# line with number of idle sessions is sometimes missing on Postgres 8.x. This can lead
# to an altogether empty section and thus the check disappearing.
echo "$OUTPUT" | grep -q '^t ' || echo "t 0"