Looks like some whitespace/indent style issues on some of these blocks.  Can you bump everything 2 spaces into the ```if``` blocks.

https://github.com/sensu/sensu-community-plugins/blob/master/plugins/postgres/postgres-statsdb-metric.rb#L6