postgres / nginx app script update?
the "current" version of the postgresql app `unix agent stats script` doesn't seem to work on "modernish" postgres installs
``` root@bluebox:/usr/lib/observium_agent/scripts-available# ./postgresql.pl Use of uninitialized value $version in pattern match (m//) at ./postgresql.pl line 88. Use of uninitialized value $version in pattern match (m//) at ./postgresql.pl line 134. Use of uninitialized value $version in pattern match (m//) at ./postgresql.pl line 140. <<<app-postgresql>>> Use of uninitialized value $version in concatenation (.) or string at ./postgresql.pl line 151. version: 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 ./postgresql.pl line 161. xact_commit: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 162. xact_rollback: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 163. blks_read: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 164. blks_hit: Use of uninitialized value $version in pattern match (m//) at ./postgresql.pl line 165. Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 166. tup_returned: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 167. tup_fetched: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 168. tup_inserted: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 169. tup_updated: Use of uninitialized value in concatenation (.) or string at ./postgresql.pl line 170. tup_deleted: ```
(this is on postgres 14... current is 16... )
Has someone already solved this problem?
Also, are there plans to address the current limitation of the nginx `unix agent app script` that constrains it to a single instance of nginx?
for systems with multiple containers running isolated nginx stacks, the current 'one instance of an app per monitored device' is kinda limiting...
is this something that's likely to be addressed anytime soonish?
hope the world's treatin y'all well!
W
Wolf Noble Hoof & Paw loiosh@wolfspaw.com
-=[ This message has been composed and transmitted with 100% recycled electrons ]=-
participants (1)
-
Wolf Noble