How to get get config object in a monitor?

In reply to svats:

I have one monitor for input in agent and monitor for output in env