![](https://secure.gravatar.com/avatar/4fad748f042c73a9d01d1ff340dbced4.jpg?s=120&d=mm&r=g)
Reading the documentation, I did find out that the tuples stats collection was added in version 8.3, so I changed my file (patch attached). And indeed, testing on 8.3 and 8.4 everything works perfectly, it can find and extract every information, on an older server that has 8.1 installed, it simply doesn't aggregate tuples data. I didn't put time in investigating older versions as they are really obsolete.
I didn't know which is the proper way to fix the output: - output all zero values for the tuples stats - don't output anything at all for nonexistent values so I decided I would go with the second choice. This is reflected in my patch.
If you think that the other way around is better, than indicate, and I'll make another patch.
I added a small remark in the header of the file to indicate the version peculiarities. The web page should be updated as well
Regards, Tylla
On 2016-01-05 18:40, Adam Armstrong wrote:
What doesn't work on 8.x? The comment in the script says it returns fewer stats.
adam.
On 05/01/2016 17:36:42, Attila Nagy tylla_at_memetic.org@tylla.hu wrote:
Hi everyone!
I was in the process of configuring the UNIX agent and I found (as written in the documentation too) that the script only supports Postgres version 9. But after experimenting a little bit I realized that the script works perfectly with the 8.4 version. I was able to test with an 8.3 which was working as well. So maybe the script should be changed to enable any 8.X version.
Anyway I created a patch and attached it.
If some of you find it helpful then maybe post the version which was working, so we can update the version string.
Regards, Tylla _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium