Nagios - link files to main cfg


Polling is the main issue here, I am curious if any one has been able to link a service to a file. For instance: snmp polling for Interface up/down. I would like to use a file that contains all the interfaces instead of generating them in the main file 5000+ lines!

Thanks in advance