Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Community Edition
-
None
-
Ubuntu 18.04 LTS
PostgreSQL 12
Description
Hello,
I successfully integrated MySQL and MongoDB application monitorings. However, PostgreSQL with Perl script fails.
- Parses the wrong version (Ubuntu 7.4.0-1ubuntu1~18.04.1 becomes version?)
- Fails to initialize data from PG.
/usr/lib/observium_agent/local# /usr/lib/observium_agent/local/postgresql.pl
|
<<<app-postgresql>>>
|
version:7.4 |
cCount:0 |
tDbs:0 |
tUsr:0 |
tHst:0 |
idle:0 |
select:0 |
update:0 |
delete:0 |
other:0 |
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 161. |
xact_commit:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 162. |
xact_rollback:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 163. |
blks_read:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 164. |
blks_hit:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 166. |
tup_returned:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 167. |
tup_fetched:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 168. |
tup_inserted:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 169. |
tup_updated:
|
Use of uninitialized value in concatenation (.) or string at /usr/lib/observium_agent/local/postgresql.pl line 170. |
tup_deleted:
|
select version()
|
PostgreSQL 12.2 (Ubuntu 12.2-2.pgdg18.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0, 64-bit |