Re: [Nagios-users] NDO
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brian Loe > Sent: Wednesday, January 16, 2008 2:46 PM > To: Nagios Users > Subject: [Nagios-users] NDO > > Now that I do have Nagios in a mysql database, what other add-ons > utilize it? The documentation on it is pretty thin... I would assume > its very helpful when you have lots of Nagios servers feeding a > centralized one? > Nagvis is one. It works very nicely. 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 2008. 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] Reg: glibc and openssl
Can you post your /etc/xinetd.d/nrpe? Are you using tcp wrappers? Are you now getting the SSL error from both localhost and Nagios server? Can you run an lsof|grep nrpe to confirm that nrpe is listening and under the control of xinetd? (Sorry for the top post...I need a better mail client...Outlook totally stinks at the reply thing. Looking for a replacement now.). Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 9:01 AM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Reg: glibc and openssl Importance: High Hi Marc, Thanks for your reply, I found the wrong entry under /etc/xinetd.d/nrpe and corrected the same but now i am receiving a CHECK_NRPE: Error - Could not complete SSL handshake error. But I can able to telnet. Regards G. Mohan Kumar Senior Systems Engineer Wipro Technologies 475-A, Old Mahabalipuram Road, Sozhanganallur, Chennai- 600119. India Tel:+91-44-30691933 [EMAIL PROTECTED] www.wipro.com From: [EMAIL PROTECTED] on behalf of Marc Powell Sent: Wed 1/16/2008 7:05 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Reg: glibc and openssl On Jan 16, 2008, at 6:31 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] > wrote: > Hi, > After upgrading a glibc and openssl on my client machine (Suse 9 > SP3) the telnet to 5666 is not working from localhost and from > nagios server, nagios server couldn't communicate to that client. > pls help us to resolve this issue. > > Error: > Connection refused by host > Have you done any troubleshooting at all you can share with us? Basic troubleshooting like verifying that NRPE is running on the machine, that it actually runs under the new glibc? Does netstat show it listening? Does nrpe debug mode show anything interesting? Is nrpe running as a daemon or from (x)inetd? Have you verified that configuration in either case? If run from xinetd, is xinetd running? Depending on the version differences, those could be non-trivial upgrades and may require a re-compilation of nrpe on that machine. Of course, I'm assuming that you are talking about nrpe. If not, please be more specific. -- Marc > Thanks and Regards > G. Mohan Kumar > Senior Systems Engineer > ...should know better... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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
[Nagios-users] Solaris 10 SMF, Getting NRPE to run as user nagios
I have NRPE running on Solaris 10 SPARC under SMF, but the only way I could get it to run as user nagios is if I set SUID on the nrpe executable. This is the output inetadm -l svc:/network/nrpe/tcp:default SCOPENAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i" arg0="/usr/local/nagios/bin/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE default tcp_wrappers=FALSE user="nagios" , but if I don't do the SUID I get in the system log: nrpe[10222]: [ID 306117 auth.error] Error: NRPE daemon cannot be run as user/group root! I've searched the web and the archives to no avail. Does anyone have experience running NRPE under SMF? Any concerns about running it SUID? Thanks so much. 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 2008. 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] Can't make plugins 1.4.11 on Solaris 10 Sparc
-Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Cipriani, Robert C > Sent: Friday, January 11, 2008 12:38 PM > To: 'nagios-users@lists.sourceforge.net' > Subject: [Nagios-users] Can't make plugins 1.4.11 on Solaris 10 Sparc > > > Trying to build Nagios plugins 1.4.11 on Solaris 10 SPARC. Using gcc 3.4.6 > and GNU make 3.8.1, getting this: > > ... > rm -f libgnu.a > false cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o > xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o creat- > safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o fsusage.o > getopt.o getopt1.o mbchar.o mountlist.o open-safer.o pipe-safer.o printf- > args.o printf-parse.o regex.o safe-read.o safe-write.o strcasecmp.o > stripslash.o strndup.o strnlen.o vasnprintf.o vasprintf.o xmalloc.o > make[3]: *** [libgnu.a] Error 1 > ... > > What's it using the 'false' command for? I saw a page that suggested that > the 'ar' command is the one that is supposed to run. It is in my path > though. Any ideas? I don't suppose anyone has a package built for Solaris > 10? > > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 I noticed when running .configure that the ar command was returning the 'usage' line with the command line options. It seems the Solaris options for ar are different than GNU's. I think configure didn't detect the correct 'ar', and set the Makefile path for it to 'false'. Hence the confusion. I installed GNU binutils from Sunfreeware.com and re-ran the config, it works fine. 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. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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
[Nagios-users] Can't make plugins 1.4.11 on Solaris 10 Sparc
Trying to build Nagios plugins 1.4.11 on Solaris 10 SPARC. Using gcc 3.4.6 and GNU make 3.8.1, getting this: ... rm -f libgnu.a false cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o vasprintf.o xmalloc.o make[3]: *** [libgnu.a] Error 1 ... What's it using the 'false' command for? I saw a page that suggested that the 'ar' command is the one that is supposed to run. It is in my path though. Any ideas? I don't suppose anyone has a package built for Solaris 10? 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. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 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 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). 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..
> -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 > > > > > --- > > -- > > 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 ver
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
[Nagios-users] Best way to manage host-specific thresholds?
Group, I am trying to wrap my head around the best way to manage things like ping RTA/packet loss, partition free space warn/critical, cpu/memory use, etc. I can set these up using custom object variables for a host template, and reference them via macros in the command definition. If I need a different setting for a particular host, I can override these inherited values in that host's config. check_nrpe throws a bit of a wrench in this - I'd probably need a different command set up for each item I'd like to check via NRPE. Does it sound like I'm on the right track? Another item I'm struggling with is how to monitor partitions easily. I can check all filesystems by just passing "/" as the argument. This makes it easy since I don't care what the separate partitions are - if there is /var, /usr, and so on these will automatically be checked. One problem is that if any one of these exceeds the threshold, the notification will occur, even if all the others are fine. I am trying to avoid having to set up a service for each partition on each host. Any thoughts on this? I'd rather use Nagios for this rather than something like Vertias Volume Manager's space monitoring. My generic host template: define host{ namegeneric-host; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts notification_period 24x7; Send host notifications at any time register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! #Default threshold variables #check_ping _PING-RTA-W 50 ;Round Trip Average Warn _PING-RTA-C 100;Round Trip Average Crit _PING-PL-W 10%;Packet Loss Warn _PING-PL-C 20%;Packet Loss Crit _PING-PKT5 ;Packet count } My check_ping command: define command{ command_namecheck_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $_HOSTPING-RTA-W$,$_HOSTPING-PL-W$ -c $_HOSTPING-RTA-C$,$_HOSTPING-PL-C$ -p $_HOSTPING-PKT$ } Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 Nolite id cogere, cape malleum majorem 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
[Nagios-users] Variable References in host/service definitions?
Is it possible to reference variables anywhere other than in commands? That is, in within host and service definitions? e.g. define host{ namegeneric-host ... register0 #Default threshold vars #check_ping _WARNRTA100 _CRITRTA500 _WARNPL 20% _CRITPL 60% define service{ use generic-service hostgroup_name linux-servers service_description PING check_command check_ping!$_HOSTWARNRTA$!$_HOSTWARNPL$!$_HOSTCRITRTA$!$_HOSTCRITPL$ } define command{ command_namecheck_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5 } If this doesn't work, is there another way to pass a value to $ARGn$ without changing the command definition to use the _HOST macros directly? Are macros (and env variables) the only way to reference variables? I hope this makes sense. Thanks. 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. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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
[Nagios-users] Custom Variables in Hostgroups?
Group, It doesn't seem that I can put custom vars into hostgroups to apply to all members. Would a template be the correct place for these? I am trying to set up variables for default thresholds for service checks (like RTA and packet loss for check_ping) that could be overridden in the individual host definitions. 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. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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] Adding a CFG file for virtual machines
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Egan Sent: Wednesday, December 05, 2007 12:04 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Adding a CFG file for virtual machines I would like to add a separate group within Nagios for my virtual machines. I created a file called virtual.cfg and changed the HOST GROUP DEFINITION to the following: Define hostgroup { hostgroup_namevirtual-servers ; the name of the hostgroup alias Virtual Servers ; long name of the group } For each host definition, the 'use' statement is as follows: Use virtual-servers ; Inherit default values from a template In the nagios.cfg file, I have added the following statement: Cfg_file=/usr/local/nagios/etc/objects/virtual.cfg When I verify the configuration files, I get the following error: Error: Template 'virtual-servers' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/virtual.cfg'. starting on line 39 I think I am missing a step or two to include this new cfg file. Any help would be appreciated. Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]> Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.comhttp://www.capitalsafety.com/> -- If I understand what you are trying to do: I am putting hosts into hostgroups in the host definitions like this: #HOST DEFINITION define host{ use linux-server; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name sparky alias Oracle RAC address 1.2.4.4 hostgroups linux-servers } Note that 'linux-server' is a host template, and 'linux-servers' is a hostgroup. 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. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ 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] Centralizing NRPE Configuration
;) *hangs head in shame* 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: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 10:03 AM To: Cipriani, Robert C Cc: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Centralizing NRPE Configuration Cipriani, Robert C wrote: > I like the idea of being able to say "add line x to file y if > line x doesn't yet exist". > grep -q "^$line$" file || echo "$line" >> file oh gods, that was a tricky one! ;-) -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 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. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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] Environmental monitoring
Using APC. Has SNMP. 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:[EMAIL PROTECTED] On Behalf Of Kevin Scott Sumner Sent: Wednesday, November 28, 2007 9:49 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Environmental monitoring This is somewhat off-topic, but can anyone recommend a vendor for environmental? I would like to monitor the temp. and humidity of our two server rooms. Integration with Nagios is a huge plus. Cheers, Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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] Centralizing NRPE Configuration
True, the nrpe config will be generic, and will only have to push nrpe.cfg when I add new commands. I just wanted to know what tools were out there, in case things get more complicated in the future. I have a monitored box configured the way I want it, I will probably just tar /usr/local/nagios, /usr/lib/nrpe, etc. and make a package to install on other servers that appends a line to /etc/services and copies the nrpe file into /etc/xinetd.d. 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: Hari Sekhon [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 8:48 AM To: Cipriani, Robert C Cc: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Centralizing NRPE Configuration Cipriani, Robert C wrote: > I'll probably need something a bit more sophisticated than a bash script. I > like the idea of being able to say "add line x to file y if line x doesn't > yet exist". > You can do that in Bash, in fact I do it for deployment to make sure nrpe is in /etc/services. Why not just have one global nrpe config that you have on all hosts though? This is way easier to manage and maintain. You just make up different check command names for very specific things. This also simplifies things incredibly and means you could never lose your config, unless all your nrpe holding servers burned down along with your svn server and all your backups. -h -- Hari Sekhon 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. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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] Centralizing NRPE Configuration
I'll probably need something a bit more sophisticated than a bash script. I like the idea of being able to say "add line x to file y if line x doesn't yet exist". 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: Hari Sekhon [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 8:14 AM To: Cipriani, Robert C Cc: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Centralizing NRPE Configuration Cipriani, Robert C wrote: > Does anyone have any suggestions on a way to centralize NRPE configs? I > suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server > if I need to add any commands. Is there a better way to manage this? I'd > like the Nagios server to be a central point of configuration. I am using > nrpe's --enable-command-args option and passing parameters via check_nrpe, so > once the monitored host has the nrpe.cfg, there wouldn't be much to do there. > I use Svn + Bash to rsync/scp configs. This works swimmingly for me, but then I do love bash and I wrote quite a bit to install nrpe, configure the environment by checking /etc/services etc and push the config over. If you are a wizz in Bash then this is excellent. I can redeploy all configurations to all servers with just one command. There is also cfengine, but I didn't bother with this. Even if you're not a Bash wizz, then just a few lines to scp and possibly restart daemon (although I use xinetd to limit the source of the request to the nagios server for extra protection so I don't even have to do that). -h -- Hari Sekhon 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. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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] Centralizing NRPE Configuration
Thanks. I will investigate subversion too. Could you email me some more details of how you are using svn to manage Nagios? I've only used CVS, and not for a purpose such as this. 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:[EMAIL PROTECTED] On Behalf Of Max Hetrick Sent: Monday, November 26, 2007 5:18 PM To: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Centralizing NRPE Configuration -BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Cipriani, Robert C wrote: > Does anyone have any suggestions on a way to centralize NRPE configs? I > suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server > if I need to add any commands. Is there a better way to manage this? I'd > like the Nagios server to be a central point of configuration. I am using > nrpe's --enable-command-args option and passing parameters via check_nrpe, so > once the monitored host has the nrpe.cfg, there wouldn't be much to do there. What about through SVN? I've never done it, but I just thought of it when you mentioned centralizing it. I keep track of my Nagios configuration files this way, but it wouldn't be hard to add NRPE into the mix so that you can checkout the latest set of files. Just an idea... Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHS0YlHoeeepPau2ERAoyyAJ9bzsR9NcXyRd86RgbYV+c3J6Al6wCgwCmy x/MAAWU/CHhPQb0pDwCnMdk= =FW0G -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 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] Bad group on cmd pipe after restart.
I see what you mean...why doesn't it work as expected? Did you say which version you are using? 3.x? I have the luxury of running apache/Nagios on a dedicated virtual machine. 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:[EMAIL PROTECTED] On Behalf Of Kevin Scott Sumner Sent: Monday, November 26, 2007 6:15 PM To: Cipriani, Robert C Cc: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Bad group on cmd pipe after restart. Robert, Affecting the apache user will affect *all* instances of apache in our infrastructure (regular website, as well as BackupPC's apache, etc). I know this seems like a broken setup -- it is. :) We're in planning phases for better machine user/group management, but creating a one-off machine in terms of users/groups is difficult at the moment because the flat files are automatically spawned by some, err... "feature challenged" scripts. I'm pushing hard to get this changed, but for now, I can't change change a user's group membership without it affecting that on every machine. I realize I could remedy this situation by running apache as www-data:nagios on our nagios server, but my question isn't so much about making it work -- it's about whether nagios is broken in the way that it deals with creating its command pipe or whether I've over looked something (a bug vs. my poor brain, if you will). Cheers, Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill > > Kevin, > > Just out of curiosity, why not run Nagios as nagios:nagios? On my setup, the > apache user is a member of the nagios group. Maybe yours is using the nagios > user's default group? > > > > 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 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] Centralizing NRPE Configuration
I had ran across cfengine when looking to manage Kickstart configs. I will definitely give it a look. I'm sure we have a use for it elsewhere. Thank you. 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:[EMAIL PROTECTED] On Behalf Of Aaron M. Segura Sent: Monday, November 26, 2007 5:28 PM To: Cipriani, Robert C Cc: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Centralizing NRPE Configuration I use cfengine for that purpose. I have it copy the config from the central server then restart the nrpe daemon. Might be a little overkill for just this one thing, but it's useful for all sorts of stuff. http://www.cfengine.org/ On Mon, 2007-11-26 at 17:07 -0500, Cipriani, Robert C wrote: > Does anyone have any suggestions on a way to centralize NRPE configs? I > suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server > if I need to add any commands. Is there a better way to manage this? I'd > like the Nagios server to be a central point of configuration. I am using > nrpe's --enable-command-args option and passing parameters via check_nrpe, so > once the monitored host has the nrpe.cfg, there wouldn't be much to do there. > > > > 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 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
[Nagios-users] Centralizing NRPE Configuration
Does anyone have any suggestions on a way to centralize NRPE configs? I suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server if I need to add any commands. Is there a better way to manage this? I'd like the Nagios server to be a central point of configuration. I am using nrpe's --enable-command-args option and passing parameters via check_nrpe, so once the monitored host has the nrpe.cfg, there wouldn't be much to do there. 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] Bad group on cmd pipe after restart.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Scott Sumner Sent: Monday, November 26, 2007 4:36 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Bad group on cmd pipe after restart. Hi all, I've got nagios 3.0b6 running on Debian/etch with Debian's default Apache. Apache runs as www-data:www-data. Nagios runs as nagios:www-data, set this way via nagios.cfg's nagios_group command. In /etc/passwd, nagios has the default group of nagios. (Confusing, I know, but I'm trying not to stray too far away from the Debian norm.) When I restart nagios, the command pipe ends up with the group nagios, not www-data, as I specified in the config. I'm confident in saying that it's nagios that does this, not the init script. Is this by design or an oversight? If by design, what have I overlooked or not understood? Thanks! Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill - Kevin, Just out of curiosity, why not run Nagios as nagios:nagios? On my setup, the apache user is a member of the nagios group. Maybe yours is using the nagios user's default group? 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