Ah, I screwed up a bit there. Both rrdd and xapi use the monitor_types module, but I don't think rrdd uses it very much - it might be easiest to split the module up and move the bits where they're needed.