[check_postgres] error custom_query
l3w0rm
webmaster at leworm.fr
Sat Jul 27 22:39:56 UTC 2013
Hello all,
i use the version 2.20.1 and i have a starnge message :
' Format invalide renvoyé par la requête personnalisée'
my command is (i change login / passwd:
'
./check_postgres.pl -H=10.8.0.18 --dbuser=xxxxx --dbpass=xxxxx
--db=bestofdates --critical=5000 --action=custom_query --query="select
count(*) from subscribe where registered= 't' "
POSTGRES_CUSTOM_QUERY UNKNOWN: DB "bestofdates" (host:10.8.0.18) Format
invalide renvoyé par la requête personnalisée | time=0.06s count=2;;5000
'
when i type the query on pgsql i have :
bestofdates=# select count(*) from subscribe where registered= 't' ;
count
-------
2
(1 ligne)
i don t have a problem with format
have you a idea ?
thx
philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20130728/1c1ac092/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20130728/1c1ac092/attachment.sig>
More information about the Check_postgres
mailing list