Forgot to mention: you might also want to think about setting up a
separate superuser account for the stats monitor. Unlike Unix,
Postgres doesn't think there can be only one superuser. The advantage
of this is (a) you can give it a separate password from what you
normally use, and (b) you can choose some less obvious name than
"postgres".
regards, tom lane