Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Gettin error when start pgscv #25

Open
GerrMullers opened this issue Dec 16, 2021 · 3 comments
Open

Gettin error when start pgscv #25

GerrMullers opened this issue Dec 16, 2021 · 3 comments

Comments

@GerrMullers
Copy link

when pgscv starts i after small time i get error
Dec 16 11:34:25 server pgscv[22893]: {"level":"error","service":"pgscv","time":"2021-12-16T11:34:25+02:00","message":"system/sysinfo collector failed; invalid input, '': wrong number of values"}
on prometheus error is
Get "http://server:9890/metrics": context deadline exceeded

status:
● pgscv.service - pgSCV is the Weaponry platform agent for PostgreSQL ecosystem
Loaded: loaded (/etc/systemd/system/pgscv.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-12-16 11:40:31 EET; 16min ago
Main PID: 24659 (pgscv)
CGroup: /system.slice/pgscv.service
└─24659 /app/pg/pgscv/pgscv --config-file=/app/pg/pgscv/pgscv.yml --log-level="debug"

yaml
listen_address: server:9890
autoupdate: off
no_track_mode: false
services:
"postgres_server:5432":
service_type: "postgres"
conninfo: "postgres://pgscv:[email protected]:5432/postgres"

after a long time starts, but then falls again

user in database
CREATE USER pgscv WITH PASSWORD 'password';
GRANT pg_read_server_files, pg_monitor TO pgscv;
GRANT EXECUTE on FUNCTION pg_current_logfile() TO pgscv;

@lesovsky
Copy link
Owner

lesovsky commented May 5, 2022

Hi,
could you provide info about operation system and content of /etc/os-release

@Gerrmuller
Copy link

NAME="Red Hat Enterprise Linux Server"
VERSION="7.8 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.8"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.8 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.8:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.8"

@Gerrmuller
Copy link

Hi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants