[check_postgres] bloat check doesn't work with --include

Jeff Frost jeff at frostconsultingllc.com
Wed Jul 22 01:05:26 UTC 2009


Looks like there's a bug with using --include=<table> and the bloat check:

discord:~/git/check_postgres $ ./check_postgres.pl -H localhost -u
nagios --action=bloat -db jefftest --include=bar --warning=400%
--critical=1000%
POSTGRES_BLOAT UNKNOWN: DB "jefftest" (host:localhost) No matching
relations found due to exclusion/inclusion options | time=0.03

But, in fact there is a table named bar:

      Table "public.bar"
 Column |  Type   | Modifiers
--------+---------+-----------
 id     | integer | not null
 foo_id | integer |

Is it possible I'm calling it incorrectly?

-- 
Jeff Frost, Owner 	<jeff at frostconsultingllc.com>
Frost Consulting, LLC 	http://www.frostconsultingllc.com/
Phone: 916-647-6411	FAX: 916-405-4032



More information about the Check_postgres mailing list