-
Notifications
You must be signed in to change notification settings - Fork 30
Pgscv_problem #40
Comments
Seems pgscv fails to read |
is there any other errors, except this "system/sysinfo collector failed; invalid input, '': wrong number of values" ? If no, you should check logs of prometheus/grafana. |
etc/os-release gives this output NAME="CentOS Linux" CENTOS_MANTISBT_PROJECT="CentOS-7" |
|
Hm, it fails when reading empty line in this file. Will fix in next release. As a workaround you can remove empty line in the os-release file. |
Thank you for answering, also during no data i mean for 30 seconds curl -s http://127.0.0.1:9890/metrics | grep -c ^postgres this command gives 0 |
If you see no any other errors in pgSCV logs related to postgres, checkout Postgres logs and logs of other components. |
I removed the empty line, but error is the same |
When I adding empty line, i see that error. When remove empty line, error disappear. Also I have a unit test which helps me to reproduce that behaviour. |
Thank you it helped me a lot, but I got this warning again |
Messages with warning severity are not critical, you could ignore it or reduce logging level from |
There are not errors in PostgreSQL logs and pgscv, but I am not able to see some data again for 2 minutes continuously. |
Show me the first lines of logs after pgscv is started (before the line with "message":"listen on http...") |
Jun 28 17:22:13 testdb systemd[1]: Started pgSCV is the Weaponry platform agent for PostgreSQL ecosystem. |
Ok, as i can see "postgres" service is registered. Now run pgscv with "--log-level=debug". It will produce a lot of debug messages. In another console run "curl -s http://127.0.0.1:9890/metrics | grep -c ^postgres" several times. When command returns 0 metrics, inspect debug logs for any suspicious messages. |
Thank you for your help, I think it is because of VM |
After starting pgscv, although pgscv's status is active, but it gives following error:
Also, i connect my database to prometheus and grafana, and in every 3 minute it returns no data, and after 30 seconds i am able to see data means i loose some data. So, I changed restart time to 1 sec, and now after 12 minutes for 2minutes there are not any data repeatedly.
OS: Centos 7
pgSCV Version: 0.7.5
Postgres: 11
Postgres and pgSCV are running on the same host
pgscv.yml:
The text was updated successfully, but these errors were encountered: