CFG_DIR recursive feature..

Chris Haulmark chris at sigd.net
Wed Dec 26 21:03:50 CET 2007


In the /usr/local/etc/nagios/nagios.cfg of the master nagios server
in the distributed model, there are a line of:

cfg_dir=/usr/local/etc/nagios/slaves/

There those directories:

/usr/local/etc/nagios/slaves/
				..../nagios1
				..../nagios2
				..../nagios3

In each of the directories, there are services/hosts cfg files for
each nagios slave.

What I am trying to accomplish is for the master nagios server's
nagios.cfg to include all those slaves' directories with a single
line.

Is there a way to include several directories recursively?

Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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