Re: [Nagios-devel] cfg_dir recursive?
Posted: Sat May 03, 2008 10:13 am
------=_Part_420_27899615.1209838432962
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Recursive Has been around for years, I was using it on version 1.2
currently I am using it with Nagios 3.0a1
I have the following line in my nagios.cfg
cfg_dir=/usr/local/nagios/etc/servers
in this directory I have up to 3 directories deep with some non cfg files as
well as some empty directories and it is getting everything it should.
Could the problem be Permissions not allowing the nagios user?
or could the problem correlate to the verion of Linux/Unix you are running?
Good Luck
Tony (author of NC_Net)
On Sat, May 3, 2008 at 3:05 AM, Jo Rhett wrote:
> Ethan, at the SF meeting you told me that cfg_dir was recursive.
> That confused me, so I went home and built a test case and sure
> enough, it's not recursive in 2.9. Did it become recursive in 3.x ?
>
> Situation
>
> /blah/nagios/etc (normal config directory)
> /blah/nagios/etc/customers (only has subdirs)
> /blah/nagios/etc/customers/cust1
> /blah/nagios/etc/customers/cust2
> ...etc
>
> I have to explicitly list each subdirectly with cfg_dir. Simply
> including customers doesn't work.
>
> --
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source
> and other randomness
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673 ... om/javaone
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
------=_Part_420_27899615.1209838432962
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Recursive Has been around for years, I was using it on version 1.2
currently I am using it with Nagios 3.0a1
I have the following line in my nagios.cfg
cfg_dir=/usr/local/nagios/etc/servers
in this directory I have up to 3 directories deep with some non cfg files as well as some empty directories and it is getting everything it should.
Could the problem be Permissions not allowing the nagios user?
or could the problem correlate to the verion of Linux/Unix you are running?
Good Luck
Tony (author of NC_Net)
On Sat, May 3, 2008 at 3:05 AM, Jo Rhett <[email protected]> wrote:
Ethan, at the SF meeting you told me that cfg_dir was recursive.That confused me, so I went home and built a test case and sure
enough, it's not recursive in 2.9. Did it become recursive in 3.x ?Situation/blah/nagios/etc (normal config directory)/blah/nagios/etc/customers (only has subdirs)/blah/nagios/etc/customers/cust1
/blah/nagios/etc/customers/cust2...etcI have to explicitly list each subdirectly with cfg_dir. Simplyincluding customers doesn't work.--Jo RhettNet Consonance : consonant endings by net philanthropy, open source
and other randomness-------------------------------------------------------------------------This SF.net email is sponsored by the 2008 JavaOne(SM) ConferenceDon't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.http://ad
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Recursive Has been around for years, I was using it on version 1.2
currently I am using it with Nagios 3.0a1
I have the following line in my nagios.cfg
cfg_dir=/usr/local/nagios/etc/servers
in this directory I have up to 3 directories deep with some non cfg files as
well as some empty directories and it is getting everything it should.
Could the problem be Permissions not allowing the nagios user?
or could the problem correlate to the verion of Linux/Unix you are running?
Good Luck
Tony (author of NC_Net)
On Sat, May 3, 2008 at 3:05 AM, Jo Rhett wrote:
> Ethan, at the SF meeting you told me that cfg_dir was recursive.
> That confused me, so I went home and built a test case and sure
> enough, it's not recursive in 2.9. Did it become recursive in 3.x ?
>
> Situation
>
> /blah/nagios/etc (normal config directory)
> /blah/nagios/etc/customers (only has subdirs)
> /blah/nagios/etc/customers/cust1
> /blah/nagios/etc/customers/cust2
> ...etc
>
> I have to explicitly list each subdirectly with cfg_dir. Simply
> including customers doesn't work.
>
> --
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source
> and other randomness
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673 ... om/javaone
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
------=_Part_420_27899615.1209838432962
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Recursive Has been around for years, I was using it on version 1.2
currently I am using it with Nagios 3.0a1
I have the following line in my nagios.cfg
cfg_dir=/usr/local/nagios/etc/servers
in this directory I have up to 3 directories deep with some non cfg files as well as some empty directories and it is getting everything it should.
Could the problem be Permissions not allowing the nagios user?
or could the problem correlate to the verion of Linux/Unix you are running?
Good Luck
Tony (author of NC_Net)
On Sat, May 3, 2008 at 3:05 AM, Jo Rhett <[email protected]> wrote:
Ethan, at the SF meeting you told me that cfg_dir was recursive.That confused me, so I went home and built a test case and sure
enough, it's not recursive in 2.9. Did it become recursive in 3.x ?Situation/blah/nagios/etc (normal config directory)/blah/nagios/etc/customers (only has subdirs)/blah/nagios/etc/customers/cust1
/blah/nagios/etc/customers/cust2...etcI have to explicitly list each subdirectly with cfg_dir. Simplyincluding customers doesn't work.--Jo RhettNet Consonance : consonant endings by net philanthropy, open source
and other randomness-------------------------------------------------------------------------This SF.net email is sponsored by the 2008 JavaOne(SM) ConferenceDon't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.http://ad
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]