nagiosql - nagios 3.x - hosts configuration in directory

Tom Brown tom at ng23.net
Thu May 15 18:56:54 CEST 2008


I have setup nagiosql as it fits my needs well as having the config in a 
db - however the only sticking point i see is that the configuration 
files for hosts and services are individual files within directory's 
rather than all in a single config file.

I have tried something like

cfg_file=/etc/nagios/hosts/*.cfg

however this creates an error such as

Error: Cannot open config file '/etc/nagios/hosts/*.cfg' for reading: No 
such file or directory

and equally

cfg_file=/etc/nagios/hosts/

does not work - anyone got a handy hint for this?

thanks


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list