On 07/08/2018 10:22 AM, Mariel Cherkassky wrote:
Hi,
I'm trying to install the pgwatch2 tool in our company without using
the docker option. I followed the instructions that are specified in
the github page but I'm facing an error during STEP 4.2 when I try to
add my cluster to be the /dbs page in order to monitor it. After I add
it I'm getting the error :
ERROR: Could not connect to InfluxDB
On the same machine I have an influxdb database running :
ps -ef | grep influx
influxdb 3680 1 0 17:12 ? 00:00:01 influxd -config
/PostgreSQL/influxdb/config/influxdb.conf
When I look at the log of the influxdb I see that every time I press
the "New" button under DBS page the next row :
[httpd] ::1 - root [08/Jul/2018:17:19:04 +0300] "GET
/query?q=SHOW+TAG+VALUES+WITH+KEY+%3D+%22dbname%22&db=pgwatch2
HTTP/1.1" 401 33 "-" "python-requests/2.19.1"
de27bc5c-82b9-11e8-8003-000000000000 141
What else do you recommend to check ?
Thanks , Mariel.
Please stop asking questions in inappropriate forums. This is not a
performance issue, so it definitely doesn't belong on this list.. If it
belongs on a postgres forum at all it belongs on pgsql-general. More
likely, you should be asking in the pgwatch2 forums, not Postgres forums.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services