[check_postgres] debugoutput

ROUX Christian christian.roux at cegedim-srh.com
Thu Mar 27 13:47:45 UTC 2014


Hi.
I try to use ./check_postgres.pl --action=query_time --excludeuser=srhbatch --warning='3 minutes' --critical='5 minutes' --debugoutput=a --dbuser=tjdscli02
I don't understand why I obtain DEBUG: ARRAY and not the output of psql .
An idea ?

The doc said :

--debugoutput=VAL
Outputs the exact string returned by psql, for use in debugging. The value is one or more letters, which determine if the output is displayed or not, where 'a' = all, 'c' = critical, 'w' = warning, 'o' = ok, and 'u' = unknown. Letters can be combined.


POSTGRES_QUERY_TIME OK: DB "template1" (host:/var/webfarm/tjdscli02/db/pgsql) [DEBUG: ARRAY(0x9ade540)] requête la plus longue : 0s  | time=0.01s durée de la requête=0s;180;300

Best regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20140327/c841d88f/attachment.html>


More information about the Check_postgres mailing list