Re: [Nagios-users] CFG_DIR recursive feature..
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Cipriani, Robert C > Sent: Thursday, December 27, 2007 3:42 PM > To: 'nagios-users@lists.sourceforge.net' > Subject: Re: [Nagios-users] CFG_DIR recursive feature.. > > > -Original Message- > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 27, 2007 11:26 AM > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > -Original Message- > > > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > > > Sent: Thursday, December 27, 2007 10:57 AM > > > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > > -Original Message- > > > > > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > > > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > > > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > > > > > > > I could see that it did not include the deeper config > > > files. > > > > > > > > > > > > > > > > Excuse me: > > > > > > > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > > > > nagios.cfg. > > > > > > > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > > > > > > > When I removed the comments from those last 3 lines and > > redid > > > > the > > > > > > > > nagios -v on the nagios.cfgit did not error. > > > > > > > > > > > > > > > > Chris > > > > > > > > > > > > [...snip] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this > > worked > > > > for > > > > > me > > > > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > > > > > > > > > > > > > I tried either: > > > > > > > > > > > > cfg_dir=svchosts.FBSD03 > > > > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > > > > > > > Both were still giving errors as long as the last 3 lines, that > > I > > > > > > mentioned > > > > > > in my previous email, were commented out. > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > > > > > > Chris, > > > > > > > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the > > . > > > > > character (a long shot...I haven't looked at the source > > code...that > > > > > shouldn't cause a problem but it's worth a try). > > > > > > > > > > > > > > > > > > No luck. I tried to change the . to - (dash): > > > > > > > > ### NAGIOS2 ### > > > > > > > > cfg_dir=svchosts-NAGIOS2/ > > > > #cfg_dir=svchosts-NAGIOS2/clients > > > > #cfg_dir=svchosts-NAGIOS2/servers > > > > #cfg_dir=
Re: [Nagios-users] CFG_DIR recursive feature..
> -Original Message- > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 27, 2007 11:26 AM > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > -Original Message- > > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, December 27, 2007 10:57 AM > > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > -Original Message- > > > > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > > > > > I could see that it did not include the deeper config > > files. > > > > > > > > > > > > > > Excuse me: > > > > > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > > > nagios.cfg. > > > > > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > > > > > When I removed the comments from those last 3 lines and > redid > > > the > > > > > > > nagios -v on the nagios.cfgit did not error. > > > > > > > > > > > > > > Chris > > > > > > > > > > [...snip] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this > worked > > > for > > > > me > > > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > > > > > > > > > I tried either: > > > > > > > > > > cfg_dir=svchosts.FBSD03 > > > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > > > > > Both were still giving errors as long as the last 3 lines, that > I > > > > > mentioned > > > > > in my previous email, were commented out. > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > Chris, > > > > > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the > . > > > > character (a long shot...I haven't looked at the source > code...that > > > > shouldn't cause a problem but it's worth a try). > > > > > > > > > > > > > > No luck. I tried to change the . to - (dash): > > > > > > ### NAGIOS2 ### > > > > > > cfg_dir=svchosts-NAGIOS2/ > > > #cfg_dir=svchosts-NAGIOS2/clients > > > #cfg_dir=svchosts-NAGIOS2/servers > > > #cfg_dir=svchosts-NAGIOS2/networks > > > > > > I also upgraded nagios-devel to RC1. It has failed. > > > > > > I could not enable the debugging level to show the startup > > > stats when the config files are getting loaded. > > > > > > I got someone else to look thru the source for me. > > > > > > Any new insights are welcome. > > > > > > Chris > > > > > > > > > > > > > > > Robert C. Cipriani > > > > Senior Network Administrator > > > > Tampa Bay Division IT > > > > Bright House Networks > > > > W: (727) 329-2000 x74264 > > > > M: (727) 365-1231 > > > > > > > > > >
Re: [Nagios-users] CFG_DIR recursive feature..
> > > -Original Message- > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 27, 2007 10:57 AM > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > -Original Message- > > > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > > > I could see that it did not include the deeper config > files. > > > > > > > > > > > > Excuse me: > > > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > > nagios.cfg. > > > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > > > When I removed the comments from those last 3 lines and redid > > the > > > > > > nagios -v on the nagios.cfgit did not error. > > > > > > > > > > > > Chris > > > > > > > > [...snip] > > > > > > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked > > for > > > me > > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > > > > > I tried either: > > > > > > > > cfg_dir=svchosts.FBSD03 > > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > > > Both were still giving errors as long as the last 3 lines, that I > > > > mentioned > > > > in my previous email, were commented out. > > > > > > > > Chris > > > > > > > > > > > > > > > > > > Chris, > > > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the . > > > character (a long shot...I haven't looked at the source code...that > > > shouldn't cause a problem but it's worth a try). > > > > > > > > > > No luck. I tried to change the . to - (dash): > > > > ### NAGIOS2 ### > > > > cfg_dir=svchosts-NAGIOS2/ > > #cfg_dir=svchosts-NAGIOS2/clients > > #cfg_dir=svchosts-NAGIOS2/servers > > #cfg_dir=svchosts-NAGIOS2/networks > > > > I also upgraded nagios-devel to RC1. It has failed. > > > > I could not enable the debugging level to show the startup > > stats when the config files are getting loaded. > > > > I got someone else to look thru the source for me. > > > > Any new insights are welcome. > > > > Chris > > > > > > > > > > > Robert C. Cipriani > > > Senior Network Administrator > > > Tampa Bay Division IT > > > Bright House Networks > > > W: (727) 329-2000 x74264 > > > M: (727) 365-1231 > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > > privileged, confidential or otherwise protected from disclosure. If > > you > > > are not the intended recipient of this e-mail, please notify the > > sender > > > immediately by return e-mail, purge it and do not disseminate or > copy > > > it. > > > > > > > > - > -- > > > -- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > > ___ > > > Nagios-users mailing li
Re: [Nagios-users] CFG_DIR recursive feature..
> -Original Message- > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 27, 2007 10:57 AM > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > -Original Message- > > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > I could see that it did not include the deeper config files. > > > > > > > > > > Excuse me: > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > nagios.cfg. > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > When I removed the comments from those last 3 lines and redid > the > > > > > nagios -v on the nagios.cfgit did not error. > > > > > > > > > > Chris > > > > > > [...snip] > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked > for > > me > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > I tried either: > > > > > > cfg_dir=svchosts.FBSD03 > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > Both were still giving errors as long as the last 3 lines, that I > > > mentioned > > > in my previous email, were commented out. > > > > > > Chris > > > > > > > > > > > > > Chris, > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the . > > character (a long shot...I haven't looked at the source code...that > > shouldn't cause a problem but it's worth a try). > > > > > > No luck. I tried to change the . to - (dash): > > ### NAGIOS2 ### > > cfg_dir=svchosts-NAGIOS2/ > #cfg_dir=svchosts-NAGIOS2/clients > #cfg_dir=svchosts-NAGIOS2/servers > #cfg_dir=svchosts-NAGIOS2/networks > > I also upgraded nagios-devel to RC1. It has failed. > > I could not enable the debugging level to show the startup > stats when the config files are getting loaded. > > I got someone else to look thru the source for me. > > Any new insights are welcome. > > Chris > > > > > > > Robert C. Cipriani > > Senior Network Administrator > > Tampa Bay Division IT > > Bright House Networks > > W: (727) 329-2000 x74264 > > M: (727) 365-1231 > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > privileged, confidential or otherwise protected from disclosure. If > you > > are not the intended recipient of this e-mail, please notify the > sender > > immediately by return e-mail, purge it and do not disseminate or copy > > it. > > > > > --- > > -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > Nagios-users mailing list > > Nagios-users@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 Try an absolute path. This is mine: cfg_dir=/usr/local/nagios/etc/hosts cfg_dir=/usr/local/nagios/etc/printers cfg_dir=/usr/local/nagios/etc/switches cfg_dir=/usr/local/nagios/etc/routers cfg_dir=/usr/local/nagios/etc/hostgroups cfg_dir=/usr/local/nagios/etc/services cfg_dir=/usr/local/nagios/etc/servicegroups cfg_
Re: [Nagios-users] CFG_DIR recursive feature..
> > > -Original Message- > > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 26, 2007 5:44 PM > > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > Yep. > > > > > > > > > > I could see that it did not include the deeper config files. > > > > > > > > Excuse me: > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > cfg_dir=svchosts.FBSD03/clients > > > > cfg_dir=svchosts.FBSD03/servers > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > nagios.cfg. > > > > > > > > It errors with no hosts and services defined. > > > > > > > > When I removed the comments from those last 3 lines and redid the > > > > nagios -v on the nagios.cfgit did not error. > > > > > > > > Chris > > > > [...snip] > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked for > me > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > I tried either: > > > > cfg_dir=svchosts.FBSD03 > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > Both were still giving errors as long as the last 3 lines, that I > > mentioned > > in my previous email, were commented out. > > > > Chris > > > > > > > > Chris, > > Any luck yet? It works for me with 3.0rc1. Maybe try without the . > character (a long shot...I haven't looked at the source code...that > shouldn't cause a problem but it's worth a try). > > No luck. I tried to change the . to - (dash): ### NAGIOS2 ### cfg_dir=svchosts-NAGIOS2/ #cfg_dir=svchosts-NAGIOS2/clients #cfg_dir=svchosts-NAGIOS2/servers #cfg_dir=svchosts-NAGIOS2/networks I also upgraded nagios-devel to RC1. It has failed. I could not enable the debugging level to show the startup stats when the config files are getting loaded. I got someone else to look thru the source for me. Any new insights are welcome. Chris > > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. > > --- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] CFG_DIR recursive feature..
> -Original Message- > From: Chris Haulmark [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 26, 2007 5:44 PM > To: Cipriani, Robert C; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > Yep. > > > > > > > > I could see that it did not include the deeper config files. > > > > > > Excuse me: > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > cfg_dir=svchosts.FBSD03/ > > > cfg_dir=svchosts.FBSD03/clients > > > cfg_dir=svchosts.FBSD03/servers > > > cfg_dir=svchosts.FBSD03/networks > > > > > > I commented out the last 3 lines and did nagios -v on the > nagios.cfg. > > > > > > It errors with no hosts and services defined. > > > > > > When I removed the comments from those last 3 lines and redid the > > > nagios -v on the nagios.cfgit did not error. > > > > > > Chris > > [...snip] > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked for me > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > I tried either: > > cfg_dir=svchosts.FBSD03 > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > Both were still giving errors as long as the last 3 lines, that I > mentioned > in my previous email, were commented out. > > Chris > > > Chris, Any luck yet? It works for me with 3.0rc1. Maybe try without the . character (a long shot...I haven't looked at the source code...that shouldn't cause a problem but it's worth a try). Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] CFG_DIR recursive feature..
> > > > > > Yep. > > > > > > I could see that it did not include the deeper config files. > > > > Excuse me: > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > cfg_dir=svchosts.FBSD03/ > > cfg_dir=svchosts.FBSD03/clients > > cfg_dir=svchosts.FBSD03/servers > > cfg_dir=svchosts.FBSD03/networks > > > > I commented out the last 3 lines and did nagios -v on the nagios.cfg. > > > > It errors with no hosts and services defined. > > > > When I removed the comments from those last 3 lines and redid the > > nagios -v on the nagios.cfgit did not error. > > > > Chris [...snip] > > > > Hmm...maybe try dropping the trailing slash? I know this worked for me > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > I tried either: cfg_dir=svchosts.FBSD03 cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 Both were still giving errors as long as the last 3 lines, that I mentioned in my previous email, were commented out. Chris > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. > > --- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] CFG_DIR recursive feature..
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Chris Haulmark > Sent: Wednesday, December 26, 2007 3:26 PM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > I thought it already did this. Are you using 3.x? > > > > > > > Yep. > > > > I could see that it did not include the deeper config files. > > Excuse me: > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > Here are the sample lines that I pasted from the nagios.cfg. > > cfg_dir=svchosts.FBSD03/ > cfg_dir=svchosts.FBSD03/clients > cfg_dir=svchosts.FBSD03/servers > cfg_dir=svchosts.FBSD03/networks > > I commented out the last 3 lines and did nagios -v on the nagios.cfg. > > It errors with no hosts and services defined. > > When I removed the comments from those last 3 lines and redid the > nagios -v on the nagios.cfgit did not error. > > Chris > > > > > Chris > > > > > > > > > > > Robert C. Cipriani > > > Senior Network Administrator > > > Tampa Bay Division IT > > > Bright House Networks > > > W: (727) 329-2000 x74264 > > > M: (727) 365-1231 > > > > > > > > > > > > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] [mailto:nagios- > > > users- > > > > [EMAIL PROTECTED] On Behalf Of Chris Haulmark > > > > Sent: Wednesday, December 26, 2007 3:04 PM > > > > To: nagios-users@lists.sourceforge.net > > > > Subject: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > 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/vse012070mrt/direct/01/ > > > > ___ > > > > Nagios-users mailing list > > > > Nagios-users@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 > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > > privileged, confidential or otherwise protected from disclosure. If > > you > > > are not the intended recipient of this e-mail, please notify the > > sender > > > immediately by return e-mail, purge it and do not disseminate or > copy > > > it. > > > > > > > > > --- > > > -- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > > ___ > > > Nagios-users mailing list > > > Nagios-users@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 > > > > >
Re: [Nagios-users] CFG_DIR recursive feature..
> > > > > I thought it already did this. Are you using 3.x? > > > > Yep. > > I could see that it did not include the deeper config files. Excuse me: I'm using nagios-3.0.b7 on FreeBSD 6.2. Here are the sample lines that I pasted from the nagios.cfg. cfg_dir=svchosts.FBSD03/ cfg_dir=svchosts.FBSD03/clients cfg_dir=svchosts.FBSD03/servers cfg_dir=svchosts.FBSD03/networks I commented out the last 3 lines and did nagios -v on the nagios.cfg. It errors with no hosts and services defined. When I removed the comments from those last 3 lines and redid the nagios -v on the nagios.cfgit did not error. Chris > > Chris > > > > > > > Robert C. Cipriani > > Senior Network Administrator > > Tampa Bay Division IT > > Bright House Networks > > W: (727) 329-2000 x74264 > > M: (727) 365-1231 > > > > > > > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:nagios- > > users- > > > [EMAIL PROTECTED] On Behalf Of Chris Haulmark > > > Sent: Wednesday, December 26, 2007 3:04 PM > > > To: nagios-users@lists.sourceforge.net > > > Subject: [Nagios-users] CFG_DIR recursive feature.. > > > > > > 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/vse012070mrt/direct/01/ > > > ___ > > > Nagios-users mailing list > > > Nagios-users@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 > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > privileged, confidential or otherwise protected from disclosure. If > you > > are not the intended recipient of this e-mail, please notify the > sender > > immediately by return e-mail, purge it and do not disseminate or copy > > it. > > > > > --- > > -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > Nagios-users mailing list > > Nagios-users@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 > > --- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] CFG_DIR recursive feature..
> > I thought it already did this. Are you using 3.x? > Yep. I could see that it did not include the deeper config files. Chris > > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios- > users- > > [EMAIL PROTECTED] On Behalf Of Chris Haulmark > > Sent: Wednesday, December 26, 2007 3:04 PM > > To: nagios-users@lists.sourceforge.net > > Subject: [Nagios-users] CFG_DIR recursive feature.. > > > > 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/vse012070mrt/direct/01/ > > ___ > > Nagios-users mailing list > > Nagios-users@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 > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. > > --- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] CFG_DIR recursive feature..
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/12/07 03:06 PM, Cipriani, Robert C wrote: > I thought it already did this. Are you using 3.x? It does it on 2.x, and did it as well on the early 3.0 alphas I tried long time ago. Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHcrYS6dZ+Kt5BchYRAnjMAJ9O4GK+962eFiUQzKQjdinXnlOKCACgjC6E PQuoOltt6VmOBhFZKiHKVY0= =Ntxb -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] CFG_DIR recursive feature..
I thought it already did this. Are you using 3.x? Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Chris Haulmark > Sent: Wednesday, December 26, 2007 3:04 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] CFG_DIR recursive feature.. > > 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/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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 CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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