POSTGRES_CUSTOM_QUERY UNKNOWN: DB "db_tools" (host:host) Inv
Posted: Wed Apr 21, 2021 2:04 am
Hi There,
POSTGRES_CUSTOM_QUERY UNKNOWN: DB "db_tools" (host:host) Invalid format returned by custom query | time=0.36s count=422;1
I have a similiar issue referenced in this post but I can't seem to the resolve it.
https://support.nagios.com/forum/viewto ... =7&t=28736
This is my query, it is a count and the returned value is an integer.
I tried with warning and critical and this one with warning only and tried with neither warning or critical but then it moaned about at least having one.
Any ideas?
Thanks
POSTGRES_CUSTOM_QUERY UNKNOWN: DB "db_tools" (host:host) Invalid format returned by custom query | time=0.36s count=422;1
I have a similiar issue referenced in this post but I can't seem to the resolve it.
https://support.nagios.com/forum/viewto ... =7&t=28736
This is my query, it is a count and the returned value is an integer.
Code: Select all
/check_postgres.pl -H host -p 5432 -db user_tools -dbuser db_tools -dbpass xxxxx -w 1 --action custom_query --query="select count(*) from sftp_uploader_queue where write_path like '%FobyRAM' and date_added > now() - interval '1 day'"
POSTGRES_CUSTOM_QUERY UNKNOWN: DB "db_tools" (host:host) Invalid format returned by custom query | time=0.36s count=422;1
Any ideas?
Thanks