How to get get config object in a monitor?

Please see the Advanced UVM video course for more explanation of the config database.
You may also find information in the UVM Cookbook.