Can Nagios call a .cfg from within an existing .cfg file
Posted: Sun Oct 28, 2012 8:03 pm
Hi,
Pretty new to Nagios and this is what I'd like to do, is it possible?
I wamt to create a host definition file with only the host information, then have it process 2 services .cfg files, one OS specific and one application specific for monitoring. These service .cfg files will be generic with no host information in them, just service details.
I would like these service .cfg files to be called from the host.cfg file and processed as if they were in the host.cfg file, inheriting all the host definitions.
Any way to do this, or thoughts how?
Thanks
Pretty new to Nagios and this is what I'd like to do, is it possible?
I wamt to create a host definition file with only the host information, then have it process 2 services .cfg files, one OS specific and one application specific for monitoring. These service .cfg files will be generic with no host information in them, just service details.
I would like these service .cfg files to be called from the host.cfg file and processed as if they were in the host.cfg file, inheriting all the host definitions.
Any way to do this, or thoughts how?
Thanks