Nagios Configuration Hierarchy
Posted: Tue Mar 09, 2010 6:55 pm
Hello,
I'm new to nagios and was wondering if there was any documentation on how the config files related that was graphical and hierarchical. I've been reading the manual and was looking for something that would tell me if you modify host.cfg and use a new host group that it must be defined in hostGroup.cfg, etc.
Also, can config files inherit in a directory structure?
I've found several how-to's for configuring directories using the types of services, such as:
objects/network/routers/
where /routers would store the config files for the routers making it easier to modify/maintain.
Can a config file be in the objects directory with generic information, then more detailed information be in the network directory, then router directories? Maybe this has been explained but I'm not finding it. We have something like this but it is all maintained in one host file. Such as: web-host is defined with all the required directives, then underneath web-host, another host is defined to use web-host.
Can these settings be split into several config files and stored in different directories?
Please let me know if I should post this elsewhere.
Kind Regards,
Carol
I'm new to nagios and was wondering if there was any documentation on how the config files related that was graphical and hierarchical. I've been reading the manual and was looking for something that would tell me if you modify host.cfg and use a new host group that it must be defined in hostGroup.cfg, etc.
Also, can config files inherit in a directory structure?
I've found several how-to's for configuring directories using the types of services, such as:
objects/network/routers/
where /routers would store the config files for the routers making it easier to modify/maintain.
Can a config file be in the objects directory with generic information, then more detailed information be in the network directory, then router directories? Maybe this has been explained but I'm not finding it. We have something like this but it is all maintained in one host file. Such as: web-host is defined with all the required directives, then underneath web-host, another host is defined to use web-host.
Can these settings be split into several config files and stored in different directories?
Please let me know if I should post this elsewhere.
Kind Regards,
Carol