I'm not sure I understand what you're trying to achieve. It is
quite possible to store monitoring data in postgres and have MRTG
extract it from there to produce stats ... we've done that in my
last employment.
It's also possible to monitor postgres databases with MRTG.
As for pointers: try
this
Cheers,
Tink