RE: [Nagios-users] blagging
What about Nagios on CD instead? http://www.nagiosexchange.org/NagiosOnCD.126.0.html Maybe you can run P2V after installation if you must have a VM . -Original Message- Yeah, defo not after the latter.=20 Would be happy with something that worked, and that would get me started, that I could look at to learn how to add various commands to nagios myself.=20 I know enough about linux to learn from someone elses install :) --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] trouble with statusmap.cgi
Hi people, No doubt you have seen this many times before, for some reason statusmap.cgi was not in the sbin folder when I first installed Nagios, I have since installed gdlib & its pre-requisites and overlaid Nagios but I still don't have a statusmap.cgi The only thing that shows about Gdlibs in config.log is: GDLIBS='-lgd -lz -lm -lpng' And the only warnings I receive in Config.log are: conftest.c:26: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:75: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:82: warning: conflicting types for built-in function 'strdup' conftest.c:83: warning: conflicting types for built-in function 'strstr' conftest.c:104: warning: conflicting types for built-in function 'snprintf' Has anyone any ideas? Thanks in advance, Mark Duffy --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Troubles compiling with C
On Mon, 22 May 2006, Scott Bierma wrote: > Can anyone help us with installing Nagios? Get the packaged version. Like the ones from Dag Wiers as pointed to at http://www.nagios.org/download/ > At first glance it seems that there was no C compiler to build the program > install, but I double checked and the packages are there. When running the > configure script per the Installation Directions we get the following error: . Based on the various messages I do NOT recommend you to compile things yourself. You will have a steep enough learning curve at it is now. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] usb gsm modems for linux
Hi Geoff, I used to get my serial based units from OzTrak, but they seem to have gone belly up. I did find another place in Aus that apparently carries these sorts of items. http://www.esis.com.au/Modems-industrial/Modems-industrial.htm#GSM_Modems Scroll down to the section 'Twist GSM Desktop Modem - Dual Band - RS232 or USB'. I've never used a USB one, but if you get it working let us know. :) Cheers. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Host retry interval
Am Montag 22 Mai 2006 22:44 schrieb Holger Weiss: > * Eli Stair <[EMAIL PROTECTED]> [2006-05-22 12:49]: >> > > for that service. Ergo, if you set your service checks max to 15, after > > 15 minutes (assuming your delay is 60 seconds) your service will hit a > > HARD CRITICAL, and host checks will fire. > > That's not correct, host checks are performed as soon as a service check > returns some non-OK status. Yes thats right. A service never reaches the max_check_attempts if the host check return not OK Jörg pgpvmOCCLuM9I.pgp Description: PGP signature
Re: [Nagios-users] Host retry interval
* Eli Stair <[EMAIL PROTECTED]> [2006-05-22 12:49]: > HOST check mode is initiated once the service reaches the HARD state, which > comes on the last allowed check as defined by max_check_attempts for that > service. Ergo, if you set your service checks max to 15, after 15 minutes > (assuming your delay is 60 seconds) your service will hit a HARD CRITICAL, > and host checks will fire. That's not correct, host checks are performed as soon as a service check returns some non-OK status. > On 5/22/06 12:45 PM, "Kyle Tucker" <[EMAIL PROTECTED]> wrote: > > According to the docs, "Nagios checks the status of a host is when a service > > check results in a non-OK status.". Is that when it reaches a HARD state > > after all iterations of max_check_attempts are done or as soon as it goes to > > non-OK (SOFT) state? If the latter, which seems to be when it's kicking off > > host checks, I don't see how increasing the service checks will help. True, the `max_check_attempts' and `retry_check_interval' settings for the service won't affect your problem. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Host retry interval
* Kyle Tucker <[EMAIL PROTECTED]> [2006-05-22 14:45]: > I have many hosts that are constantly giving me DOWN/UP state as they > are unreachable for certain periods. In an attempt to give the system more > time to become available, I increased the max_check_attempts from 2 to 5. At > 2 the interval between retry attempts was 10 seconds. Now at 5, the interval > is 7 seconds. I'd like to have this interval higher for some hosts, but > there's a real scary note on the hosts check_interval option to not use it > if you can help it. Using `check_interval' within a host definition would activate regularly scheduled checks of the host as opposed to checking the host on-demand only. The directive you'd want is `retry_check_interval', but such a thing doesn't exist for host checks. > Is this my only option or is there a better way? With Nagios 2.x, there is no "real" solution, you can only use workarounds such as defining host escalations in order to suppress the first notification. AFAICS, this will be solved with Nagios 3.x. > I am also following the thread titled "Workaround for 'Host DOWN' > false-positives" This might be another useful workaround, haven't looked at it yet. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] blagging
Yeah, defo not after the latter. Would be happy with something that worked, and that would get me started, that I could look at to learn how to add various commands to nagios myself. I know enough about linux to learn from someone elses install :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Martin Sent: 22 May 2006 21:21 To: jeff vier Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] blagging On Mon, May 22, 2006 at 03:09:49PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote: > > So what are the requirements again? Install a stock Linux > > distribution, install Nagios, install plugins, install a stock web > > config gui tool, and install the client portion of the windows > > agents? > > If you believe in your heart that it will be that > simple...well...bless you, and good luck. > You've apparently never done consulting work. It depends on the task. If the request was "wouldn't it be nice if there was a VMware-player compatible configuration such that someone could drop this in and be able to try a very basic Nagios installation, assuming they had basic UNIX skills" then it would be possible. If the request is "Please give me a Nagios installation that I will never have to think about, has space-shuttle level documentation, and is compatible with every system and configuration I have without fail and can totally configure itself without any human intervention" then its a totally different deal. -Jason Martin -- This message is PGP/MIME signed. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] blagging
On Mon, May 22, 2006 at 03:09:49PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote: > > So what are the requirements again? Install a stock Linux > > distribution, install Nagios, install plugins, install a stock web > > config gui tool, and install the client portion of the windows > > agents? > > If you believe in your heart that it will be that simple...well...bless > you, and good luck. > You've apparently never done consulting work. It depends on the task. If the request was "wouldn't it be nice if there was a VMware-player compatible configuration such that someone could drop this in and be able to try a very basic Nagios installation, assuming they had basic UNIX skills" then it would be possible. If the request is "Please give me a Nagios installation that I will never have to think about, has space-shuttle level documentation, and is compatible with every system and configuration I have without fail and can totally configure itself without any human intervention" then its a totally different deal. -Jason Martin -- This message is PGP/MIME signed. pgp3MI101o6ZU.pgp Description: PGP signature
RE: [Nagios-users] Troubles compiling with C
[EMAIL PROTECTED] root]# rpm -qa | grep gcc compat-gcc-c++-7.3-2.96.128 compat-gcc-7.3-2.96.128 libgcc-3.2.3-54 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 [EMAIL PROTECTED] VOICE │ INTERNET │ PRIVATE DATA │ MANAGED SOLUTIONS From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Masopust, Christian Sent: Monday, May 22, 2006 3:55 PM To: Scott Bierma; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 9:53 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [EMAIL PROTECTED] nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## - ## ## Platform. ## ## - ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## --- ## ## Core tests. ## ## --- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ## ## Cache variables. ## ## ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## - ## ## Output variables. ## ## - ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC
Re: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1
I got the plugin here: http://www.ibiblio.org/john/megaraid/ Nagios was installed via apt-get. I guess I could recompile it from source though I'd like to not do that since I have a number of Nagios servers in use. I did try adding the line "$my runtimedir;" before the first use of the variable but the error persisted. I will try some other things. Any other suggestons are welcome. :-) On 5/22/06, Marc Powell <[EMAIL PROTECTED]> wrote: > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Gary Danko > Sent: Monday, May 22, 2006 12:28 PM > To: Nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1 > > We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The > check_megaraid version we use is 0.8.2. I am trying to migrate to > Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. > > [EMAIL PROTECTED]:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid > -H mail-incoming -C xx > megaraid OK Always perform your tests as the nagios user. The nagios user won't have the same access rights as the root user so tests that work as root may not work for the nagios user. It wouldn't have mattered in this particular case but it's good practice. > > But in the Nagios web console on the same server I receive this error: > > **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit > package name at (eval 6) line 51. > > Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? I don't use it but have some suggestions. Since this is a non-standard plugin you should provide pointers to download the specific version you are using when asking for help. There are a couple of check_megaraid plugins that I've found but none use the variable $runtimedir. It would appear that this plugin is not written to be compatible with the Nagios embedded Perl interpreter. I would hazard a guess that your 1.3 installations were compiled without the ePN but your nagios-2 installation was. This should have been a problem for 1.3 as well since the plugin requirements are the same. You can either -- 1) recompile your nagios-2 installations without the ePN. 2) modify the plugin to be compatible with the ePN - This may be as simple as adding 'my $runtimedir;' somewhere before the first use of that variable. - other guidelines to make perl plugins compatible with the ePN are available here -- http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN -- Marc --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 ___ 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 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] blagging
On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote: > > > > > So, who fancies creating a virtual machine for me running linux with > > > > > Nagios installed, with a web-based front-end to manage Nagios with, > > > > > all > > > > > configured to be compatible with a windows based agent ? > > > > > > > > How many tens of thousands of dollars are you offering, again? > > > > > > Wow, you running a discount week or something? That seems a tad cheap > > > given the requirements. > So what are the requirements again? Install a stock Linux > distribution, install Nagios, install plugins, install a stock web > config gui tool, and install the client portion of the windows > agents? If you believe in your heart that it will be that simple...well...bless you, and good luck. You've apparently never done consulting work. signature.asc Description: This is a digitally signed message part
RE: [Nagios-users] blagging
Yes to all. Ideally NRPE_NT will be used, so the server end of that needs to be setup :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Martin Sent: 22 May 2006 21:04 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] blagging On Mon, May 22, 2006 at 02:48:35PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 15:41 -0400, Jim Perrin wrote: > > On 5/22/06, jeff vier <[EMAIL PROTECTED]> wrote: > > > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > > > So, who fancies creating a virtual machine for me running linux with > > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > > configured to be compatible with a windows based agent ? > > > > > > How many tens of thousands of dollars are you offering, again? > > > > Wow, you running a discount week or something? That seems a tad cheap > > given the requirements. So what are the requirements again? Install a stock Linux distribution, install Nagios, install plugins, install a stock web config gui tool, and install the client portion of the windows agents? -Jason Martin -- Useless Invention: A freezer for Eskimos. This message is PGP/MIME signed. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] blagging
On Mon, May 22, 2006 at 02:48:35PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 15:41 -0400, Jim Perrin wrote: > > On 5/22/06, jeff vier <[EMAIL PROTECTED]> wrote: > > > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > > > So, who fancies creating a virtual machine for me running linux with > > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > > configured to be compatible with a windows based agent ? > > > > > > How many tens of thousands of dollars are you offering, again? > > > > Wow, you running a discount week or something? That seems a tad cheap > > given the requirements. So what are the requirements again? Install a stock Linux distribution, install Nagios, install plugins, install a stock web config gui tool, and install the client portion of the windows agents? -Jason Martin -- Useless Invention: A freezer for Eskimos. This message is PGP/MIME signed. pgpxMmqNj75q5.pgp Description: PGP signature
RE: [Nagios-users] Troubles compiling with C
could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris --"I sense much NT in you, NT leads to Blue Screen.Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside."- Unknown Unix Jedi From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott BiermaSent: Monday, May 22, 2006 9:53 PMTo: nagios-users@lists.sourceforge.netSubject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [EMAIL PROTECTED] nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## - ## ## Platform. ## ## - ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## --- ## ## Core tests. ## ## --- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ## ## Cache variables. ## ## ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## - ## ## Output variables. ## ## - ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl=''
[Nagios-users] Troubles compiling with C
Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [EMAIL PROTECTED] nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## - ## ## Platform. ## ## - ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## --- ## ## Core tests. ## ## --- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ## ## Cache variables. ## ## ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## - ## ## Output variables. ## ## - ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## --- ## ## confdefs.h. ## ## --- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #de
Re: [Nagios-users] Host retry interval
HOST check mode is initiated once the service reaches the HARD state, which comes on the last allowed check as defined by max_check_attempts for that service. Ergo, if you set your service checks max to 15, after 15 minutes (assuming your delay is 60 seconds) your service will hit a HARD CRITICAL, and host checks will fire. /eli On 5/22/06 12:45 PM, "Kyle Tucker" <[EMAIL PROTECTED]> wrote: > Thanks Eli, > > According to the docs, "Nagios checks the status of a host is when a service > check results in a non-OK status.". Is that when it reaches a HARD state > after all iterations of max_check_attempts are done or as soon as it goes to > non-OK (SOFT) state? If the latter, which seems to be when it's kicking off > host checks, I don't see how increasing the service checks will help. > >> I'd suggest NOT taking this action at the host level; reason being that all >> service checks are halted for the duration of this non-parallelized >> action... You want to avoid doing a host check until absolutely necessary. >> Suggest increasing the max_check_attempts on the SERVICE to a larger number, >> this will avoid impacting the monitoring system as a whole. >> >> /eli >> >> >> On 5/22/06 11:45 AM, "Kyle Tucker" <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> I have many hosts that are constantly giving me DOWN/UP state as they >>> are unreachable for certain periods. In an attempt to give the system more >>> time to become available, I increased the max_check_attempts from 2 to 5. At >>> 2 the interval between retry attempts was 10 seconds. Now at 5, the interval >>> is 7 seconds. I'd like to have this interval higher for some hosts, but >>> there's a real scary note on the hosts check_interval option to not use it >>> if you can help it. Is this my only option or is there a better way? I am >>> also following the thread titled "Workaround for 'Host DOWN' >>> false-positives" >>> but I don't clearly see how to set that up. Here's some output for a failed >>> host (I tail and parse the date field in a script so it's readable). >>> >>> Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - >>> snmpd not responding >>> Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - >>> snmpd not responding >>> Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - >>> snmpd not responding >>> Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - >>> snmpd not responding >>> Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - >>> snmpd not responding >>> >> > --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] blagging
On Mon, 2006-05-22 at 15:41 -0400, Jim Perrin wrote: > On 5/22/06, jeff vier <[EMAIL PROTECTED]> wrote: > > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > > So, who fancies creating a virtual machine for me running linux with > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > configured to be compatible with a windows based agent ? > > > > How many tens of thousands of dollars are you offering, again? > > Wow, you running a discount week or something? That seems a tad cheap > given the requirements. I didn't put a ceiling on it, I just wanted to aim him at the correct ballpark. I figure 7 (* $10K) is a bare-minimum. *I* wouldn't take it, but someone might. Get up over $100K, and I would at least think about it. signature.asc Description: This is a digitally signed message part
Re: [Nagios-users] Host retry interval
Thanks Eli, According to the docs, "Nagios checks the status of a host is when a service check results in a non-OK status.". Is that when it reaches a HARD state after all iterations of max_check_attempts are done or as soon as it goes to non-OK (SOFT) state? If the latter, which seems to be when it's kicking off host checks, I don't see how increasing the service checks will help. > I'd suggest NOT taking this action at the host level; reason being that all > service checks are halted for the duration of this non-parallelized > action... You want to avoid doing a host check until absolutely necessary. > Suggest increasing the max_check_attempts on the SERVICE to a larger number, > this will avoid impacting the monitoring system as a whole. > > /eli > > > On 5/22/06 11:45 AM, "Kyle Tucker" <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have many hosts that are constantly giving me DOWN/UP state as they > > are unreachable for certain periods. In an attempt to give the system more > > time to become available, I increased the max_check_attempts from 2 to 5. At > > 2 the interval between retry attempts was 10 seconds. Now at 5, the interval > > is 7 seconds. I'd like to have this interval higher for some hosts, but > > there's a real scary note on the hosts check_interval option to not use it > > if you can help it. Is this my only option or is there a better way? I am > > also following the thread titled "Workaround for 'Host DOWN' > > false-positives" > > but I don't clearly see how to set that up. Here's some output for a failed > > host (I tail and parse the date field in a script so it's readable). > > > > Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - > > snmpd not responding > > Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - > > snmpd not responding > > Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - > > snmpd not responding > > Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - > > snmpd not responding > > Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - > > snmpd not responding > > > -- - Kyle - [EMAIL PROTECTED] http://www.panix.com/~kylet - --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] disable embedded perl
On Mon, 22 May 2006, Terry wrote: Is there a way to disabled the embedded perl interpretor other than recompile? Not at the moment. -- -sg --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] blagging
On 5/22/06, jeff vier <[EMAIL PROTECTED]> wrote: On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > So, who fancies creating a virtual machine for me running linux with > Nagios installed, with a web-based front-end to manage Nagios with, all > configured to be compatible with a windows based agent ? How many tens of thousands of dollars are you offering, again? Wow, you running a discount week or something? That seems a tad cheap given the requirements. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] blagging
On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > So, who fancies creating a virtual machine for me running linux with > Nagios installed, with a web-based front-end to manage Nagios with, all > configured to be compatible with a windows based agent ? How many tens of thousands of dollars are you offering, again? signature.asc Description: This is a digitally signed message part
[Nagios-users] blagging
So, who fancies creating a virtual machine for me running linux with Nagios installed, with a web-based front-end to manage Nagios with, all configured to be compatible with a windows based agent ? :) --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Host retry interval
I'd suggest NOT taking this action at the host level; reason being that all service checks are halted for the duration of this non-parallelized action... You want to avoid doing a host check until absolutely necessary. Suggest increasing the max_check_attempts on the SERVICE to a larger number, this will avoid impacting the monitoring system as a whole. /eli On 5/22/06 11:45 AM, "Kyle Tucker" <[EMAIL PROTECTED]> wrote: > Hi, > I have many hosts that are constantly giving me DOWN/UP state as they > are unreachable for certain periods. In an attempt to give the system more > time to become available, I increased the max_check_attempts from 2 to 5. At > 2 the interval between retry attempts was 10 seconds. Now at 5, the interval > is 7 seconds. I'd like to have this interval higher for some hosts, but > there's a real scary note on the hosts check_interval option to not use it > if you can help it. Is this my only option or is there a better way? I am > also following the thread titled "Workaround for 'Host DOWN' false-positives" > but I don't clearly see how to set that up. Here's some output for a failed > host (I tail and parse the date field in a script so it's readable). > > Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - > snmpd not responding > Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - > snmpd not responding > Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - > snmpd not responding > Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - > snmpd not responding > Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - > snmpd not responding > --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Host retry interval
Hi, I have many hosts that are constantly giving me DOWN/UP state as they are unreachable for certain periods. In an attempt to give the system more time to become available, I increased the max_check_attempts from 2 to 5. At 2 the interval between retry attempts was 10 seconds. Now at 5, the interval is 7 seconds. I'd like to have this interval higher for some hosts, but there's a real scary note on the hosts check_interval option to not use it if you can help it. Is this my only option or is there a better way? I am also following the thread titled "Workaround for 'Host DOWN' false-positives" but I don't clearly see how to set that up. Here's some output for a failed host (I tail and parse the date field in a script so it's readable). Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - snmpd not responding Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - snmpd not responding Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - snmpd not responding Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - snmpd not responding Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - snmpd not responding -- - Kyle - [EMAIL PROTECTED] http://www.panix.com/~kylet - --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] disable embedded perl
Is there a way to disabled the embedded perl interpretor other than recompile? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Escalations
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Derek J. Balling > Sent: Monday, May 22, 2006 1:23 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Escalations > > I'm using the version of Nagios that is in Debian/Stable (which I think is > a modified 1.3). > > I'm trying to sort out escalations a little bit. I can see how hostgroup > escalations work, if there is a host-level problem. > > If I've got, say, "smtp" service definitions for three hosts, do I really > have to have three different serviceescalation declarations -- one for > each service definition -- to escalate each one? Is there no way > whatsoever to simply say anything with service_description "SMTP" and > host_name of "*" or something? > > Seems really ... well ... sucky, that for every host/service declaration > I'd have to explicitly have an independent escalation declaration as well. Mm... Documentation... Crunchy. http://nagios.sourceforge.net/docs/1_0/templatetricks.html#serviceescala tion -- Marc --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Escalations
I'm using the version of Nagios that is in Debian/Stable (which I think is a modified 1.3).I'm trying to sort out escalations a little bit. I can see how hostgroup escalations work, if there is a host-level problem.If I've got, say, "smtp" service definitions for three hosts, do I really have to have three different serviceescalation declarations -- one for each service definition -- to escalate each one? Is there no way whatsoever to simply say anything with service_description "SMTP" and host_name of "*" or something?Seems really ... well ... sucky, that for every host/service declaration I'd have to explicitly have an independent escalation declaration as well.Cheers,D --Derek J. BallingSystems AdministratorVassar College124 Raymond AveBox 13 - Computer Center 217Poughkeepsie, NY 12604(845) 437-7231 smime.p7s Description: S/MIME cryptographic signature
RE: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Gary Danko > Sent: Monday, May 22, 2006 12:28 PM > To: Nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1 > > We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The > check_megaraid version we use is 0.8.2. I am trying to migrate to > Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. > > [EMAIL PROTECTED]:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid > -H mail-incoming -C xx > megaraid OK Always perform your tests as the nagios user. The nagios user won't have the same access rights as the root user so tests that work as root may not work for the nagios user. It wouldn't have mattered in this particular case but it's good practice. > > But in the Nagios web console on the same server I receive this error: > > **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit > package name at (eval 6) line 51. > > Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? I don't use it but have some suggestions. Since this is a non-standard plugin you should provide pointers to download the specific version you are using when asking for help. There are a couple of check_megaraid plugins that I've found but none use the variable $runtimedir. It would appear that this plugin is not written to be compatible with the Nagios embedded Perl interpreter. I would hazard a guess that your 1.3 installations were compiled without the ePN but your nagios-2 installation was. This should have been a problem for 1.3 as well since the plugin requirements are the same. You can either -- 1) recompile your nagios-2 installations without the ePN. 2) modify the plugin to be compatible with the ePN - This may be as simple as adding 'my $runtimedir;' somewhere before the first use of that variable. - other guidelines to make perl plugins compatible with the ePN are available here -- http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN -- Marc --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] check_megaraid fails in Nagios 2.0 on Debian 3.1
If you're using embedded Perl (and it appears you are), the requirement for plugins in Nagios 2 are fairly stringent, and they'll fail if not coded properly. http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN This plugin probably fails requireent #4. The good news is that it's probably an easy fix. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Danko Sent: Monday, May 22, 2006 10:28 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1 We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The check_megaraid version we use is 0.8.2. I am trying to migrate to Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. [EMAIL PROTECTED]:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xx megaraid OK But in the Nagios web console on the same server I receive this error: **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit package name at (eval 6) line 51. Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] check_megaraid fails in Nagios 2.0 on Debian 3.1
We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The check_megaraid version we use is 0.8.2. I am trying to migrate to Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. [EMAIL PROTECTED]:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xx megaraid OK But in the Nagios web console on the same server I receive this error: **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit package name at (eval 6) line 51. Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] check_http: fail if word appears on page?
On Mon, 22 May 2006, Andrew Cruse wrote: You might check out "negate" which I believe is part of the standard plugin distro: Ah, I will have to give that a shot. I'll have to set up a secondary check above the standard HTTP check, but that's ok.. Otherwise, I guess I could just write my own plugin. :) Thanks! | nate carlson | [EMAIL PROTECTED] | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981| --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] check_http: fail if word appears on page?
[EMAIL PROTECTED] wrote: > I've got a case where I'm monitoring a web site that throws > up a message saying 'This site is undergoing maintenance' > when there is a problem with the backend servers.. is there a > way with check_http to verify that the word maintenance does *not* > appear on the page? > > I've tried using the regex engine, but haven't figured out a way to > negate the regexp. > > Any suggestions would be appreciated! You might check out "negate" which I believe is part of the standard plugin distro: negate (nagios-plugins 1.4.0alpha1) 1.13 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2002-2003 Nagios Plugin Development Team <[EMAIL PROTECTED]> Negates the status of a plugin (returns OK for CRITICAL, and vice-versa). Usage: negate [-t timeout] negate (-h | --help) for detailed help negate (-V | --version) for version information Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 9) [keep timeout than the plugin timeout to retain CRITICAL status] negate "/usr/local/nagios/libexec/check_ping -H host" Run check_ping and invert result. Must use full path to plugin negate "/usr/local/nagios/libexec/check_procs -a 'vi negate.c'" Use single quotes if you need to retain spaces This plugin is a wrapper to take the output of another plugin and invert it. If the wrapped plugin returns STATE_OK, the wrapper will return STATE_CRITICAL. If the wrapped plugin returns STATE_CRITICAL, the wrapper will return STATE_OK. Otherwise, the output state of the wrapped plugin is unchanged. Send email to nagios-users@lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to [EMAIL PROTECTED] Andrew --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] check_http: fail if word appears on page?
I've got a case where I'm monitoring a web site that throws up a message saying 'This site is undergoing maintenance' when there is a problem with the backend servers.. is there a way with check_http to verify that the word maintenance does *not* appear on the page? I've tried using the regex engine, but haven't figured out a way to negate the regexp. Any suggestions would be appreciated! | nate carlson | [EMAIL PROTECTED] | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981| --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] Remote execution
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of MAIGNAN Luc > Sent: Monday, May 22, 2006 9:54 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Remote execution > > Hi all, > > I try to check disk space on remote host. I define the name of hosts in > the service definition, but the results are always from localhost. What > have I to do to execute the check_disk command on the remote host ? Read this FAQ and search the archives -- http://www.nagios.org/faqs/viewfaq.php?faq_id=59 -- Marc --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Remote execution
check_disk will always check the host it's run on. To check remote machines, look into something like nrpe, nagios_statd, or SNMP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MAIGNAN Luc Sent: Monday, May 22, 2006 7:54 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Remote execution Hi all, I try to check disk space on remote host. I define the name of hosts in the service definition, but the results are always from localhost. What have I to do to execute the check_disk command on the remote host ? Thanks for any help --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Remote execution
Hi all, I try to check disk space on remote host. I define the name of hosts in the service definition, but the results are always from localhost. What have I to do to execute the check_disk command on the remote host ? Thanks for any help * Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l'hypothèse ou il aurait été modifié, altéré, falsifié ou encore édité ou diffusé sans autorisation. - This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ** --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Monitoring Windows servers
On Mon, 22 May 2006, Oliver Marshall wrote: I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? When looking at Nagios and specially the plugins world, there are a couple place to look. There is the main nagios-plugins distribution which covers a core set of functionality and there are a host of additional plugins that have been contributed and are available via nagios-exchange. Both have active support on the mailing lists. For Windows - you have a couple of choices: NSClient/NSClient++/NC_Net and NRPE_NT. NRPE_NT allows you to write Windows scripts and extend the pluging capability. A number for wmi scripts are hosted on nagios-exchange. -- -sg --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] NSclient windows plugin
On Mon, 22 May 2006, Oliver Marshall wrote: Anyone here managed to get the NSClient working (http://nsclient.ready2run.nl/) ? I have installed the windows and linux ends. The windows end is fine and is running happily. The linux end is causing config issues in nagios. I have copied over the check_nt file to the libexec folder (/usr/local/libexec). I have added the following to the command.cfg file; command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I have also created the correct (?) entries in hosts.cfg and services.cfg. However, when I verify the nagios.cfg file using "nagios -v nagios.cfg" it says that the command I have listed in the services.cfg file isn't setup in the command.cfg file. The check_command line in my services entry states; check_command check_nt_disk C 10 50 Do you have "!" between the componenets above? My text email client doesn't see any. Nagios expects "!" as a separator. which is the disk letter for $arg1$, warning level for $arg2$ and critical level for $arg3$. I have also tried the actual command line, which is; check_nt -H 192.168.100.241 -p 1248 -v USEDDISKSPACE -l C -w 20 -c 30 The actual error that nagios returns when doing a verify is; "Service check command 'check_nt_disk C 10 50' specified in service 'Disk Check' for host 'G2SUPPORT_LAPTO.g2support.local' not defined anywhere!" :S Any idea why its not picking up the new commands in command.cfg ? I have tried rebooting the Nagios server, so nagios picks up the new settings. Olly p.s. Also, is there a way to force nagios to update its settings from an SSH session without a server reboot ? In the linux world - server reboot is a rare requirement. Most conditions, send the Nagios daeom a HUP will cause it to re-read its configuration file. However if you are using features like state retention, and make changes to those parameters, you wil want to stop and start the nagios daemon. -- -sg --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] NSclient windows plugin
Anyone here managed to get the NSClient working (http://nsclient.ready2run.nl/) ? I have installed the windows and linux ends. The windows end is fine and is running happily. The linux end is causing config issues in nagios. I have copied over the check_nt file to the libexec folder (/usr/local/libexec). I have added the following to the command.cfg file; command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I have also created the correct (?) entries in hosts.cfg and services.cfg. However, when I verify the nagios.cfg file using "nagios -v nagios.cfg" it says that the command I have listed in the services.cfg file isn't setup in the command.cfg file. The check_command line in my services entry states; check_command check_nt_disk C 10 50 which is the disk letter for $arg1$, warning level for $arg2$ and critical level for $arg3$. I have also tried the actual command line, which is; check_nt -H 192.168.100.241 -p 1248 -v USEDDISKSPACE -l C -w 20 -c 30 The actual error that nagios returns when doing a verify is; "Service check command 'check_nt_disk C 10 50' specified in service 'Disk Check' for host 'G2SUPPORT_LAPTO.g2support.local' not defined anywhere!" :S Any idea why its not picking up the new commands in command.cfg ? I have tried rebooting the Nagios server, so nagios picks up the new settings. Olly p.s. Also, is there a way to force nagios to update its settings from an SSH session without a server reboot ? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Oracle plugin
Can you post this either here or add it to nagios exchange (probably better!) Thanks. Greg On Fri, 2006-05-19 at 14:28 -0400, Janet Post wrote: > Az, > > Yes! I am very interested in this plug in!! > > Thank you. > Janet. > > -Original Message- > From: Az [mailto:[EMAIL PROTECTED] > Sent: May 19, 2006 6:42 AM > To: Janet Post > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Oracle plugin > > Hi Janet, > > >I am looking for a plug-in that will run a query against an oracle > >database and return the results. > > > >I have found plugins that search for specific things -- like > tablespace, > >and archives, but nothing that will run a sql statement. > > > >Surely this plugin exists somewhere?!?! > > > > > I never found anything like this either so I rolled my own stored > procedure type plugin for both Oracle and MSSQL. The guts of it was one > of the parameters you passed it was a valid command for that RDBMS (so > it could be a select or a stored proc, the latter is what we did). It > expects 1 row, 2 columns back. A result code (OK, WARN, etc), and a > message. I havent bothered with perf stats at this point. > > Our DBAs wrote some standard stored procs they deployed as they saw fit > to spit out the results. Thus, I could manage Nagios and they could > write whatever queries on their DB they wanted without having to fiddle > with scripts on the Nagios server. > > I've not put them on Nagios Exchange, but if you're interested in seeing > > them, let me know. > > Cheers. > > > > --- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > ___ > 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 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] [patch] Workaround for 'Host DOWN' false-positives
Am Montag 22 Mai 2006 12:10 schrieb Jan Kratochvil: > Hi, > > OK, that looks as it would work. WORKS4ME now, though. > Your solution would be nice hint on nagios website or so... I have the same problems on some Hosts behind WAN lines. I will test this solution in the next 2 weeks. In our test enviroment its still workring. I have written an small howto in the german nagios-wiki. But still in german ;-) http://www.nagios-wiki.de/doku.php/nagios/howtos/no_hostchecks Jörg pgp4DJERwFeBN.pgp Description: PGP signature
Re: [Nagios-users] [patch] Workaround for 'Host DOWN' false-positives
Hi, OK, that looks as it would work. WORKS4ME now, though. Your solution would be nice hint on nagios website or so... Regards, Lace On Mon, 22 May 2006 12:03:37 +0200, Joerg Linge wrote: > Am Montag 22 Mai 2006 11:39 schrieb Jan Kratochvil: > > > > This ist still a quick hack, but it works ;-) > > > This is IMHO the fastest way without parsing status.dat. > > > > Do you have it tested? I do not think it will work. The goal is to reflect > > the field "last_hard_state", not the field "current_state". > > "SERVICESTATEID" unfortunately corresponds to "current_state" while > > "last_hard_state" has no corresponding macro. > > This was only a quick example! > $SERVICESTATETYPE$ gets the state type ( HARD/SOFT ) > > So you can exit with a CRITICAL state if your service is CRITICAL/HARD. > > This is not a "ready to run" solution but i think its a possible way. > > Jörg --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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
Antwort: [Nagios-users] How to reduce a very high latency number
[EMAIL PROTECTED] schrieb am 17.05.2006 20:09:16: > I am still butting up against very high latency issues with my Nagios > setup. I feel like I must be missing something obvious because it > doesn't seem like I have so many services that the servers cannot keep > up. > > nag2: 193/1743 > > Machine hardware: > 1Us running Fedora Core 4 / P4 2.4GHz / 512MB RAM / 40GB ATA 8MB cache > 7200rpm drives To me this is obviously a performance issue related to hardware. Your machines have way too few RAM. It is totally not possible to run 1800 checks on a 512MB machine in a timely manner. Think about this: Everytime Nagios starts a check, it forks a child, which forks the check. Nagios usually uses up 26MB total memory per process, the check another 5MB maybe. When running 1800 checks, we are speaking of spreading out 55 GIGAbytes of needed Ram on 512 MB real Ram. Imagine how often that works without having the machines doing a shitload of swapping and io-wait. I really cannot imagine how such a machine can NOT swap when running Nagios. Are you totally sure that you did not make a mistake when checking the machine? Here's a lineup of our dedicated Nagios server, which is a minimal install of RHES4 with only Nagios/Apache running on it (and the HP Insightmanager tools and TSM backup client, but that should not reall matter that much ;)) : top - 11:48:52 up 69 days, 19:10, 1 user, load average: 0.75, 0.70, 0.67 Tasks: 53 total, 2 running, 51 sleeping, 0 stopped, 0 zombie Cpu(s): 9.3% us, 4.3% sy, 0.0% ni, 62.5% id, 23.9% wa, 0.0% hi, 0.0% si Mem: 3116384k total, 2341696k used, 774688k free,55188k buffers Swap: 6291448k total, 144k used, 6291304k free, 2148772k cached This is a HP DL380, 3,6Ghz Xeon with 3GB of Ram and a Raid5. It is currently running "only" 120 hosts with around 500 checks, but those are in a high frequency schedule - ~400 checks per minute - as those are the company-critical services. Therefor it is under real pressure as you can see from the 2.3GB Mem usage and the 0.75 load with only 500 checks. But I think it is kinda comparable to your triple amount of checks. You should really, really upgrade the ram in the machines. In my opinion that would solve most of your problems, as I imagine you have a lot of io-wait on this machine (which you can check with an uptodate top by the way ;)) regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:[EMAIL PROTECTED] http://www.abit.net http://www.abit-epos.net - Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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] [patch] Workaround for 'Host DOWN' false-positives
Am Montag 22 Mai 2006 11:39 schrieb Jan Kratochvil: > > This ist still a quick hack, but it works ;-) > > This is IMHO the fastest way without parsing status.dat. > > Do you have it tested? I do not think it will work. The goal is to reflect > the field "last_hard_state", not the field "current_state". > "SERVICESTATEID" unfortunately corresponds to "current_state" while > "last_hard_state" has no corresponding macro. This was only a quick example! $SERVICESTATETYPE$ gets the state type ( HARD/SOFT ) So you can exit with a CRITICAL state if your service is CRITICAL/HARD. This is not a "ready to run" solution but i think its a possible way. Jörg pgpaYcIeU9xpN.pgp Description: PGP signature
Re: [Nagios-users] [patch] Workaround for 'Host DOWN' false-positives
Hi Joerg, On Sun, 21 May 2006 16:08:40 +0200, Joerg Linge wrote: ... > command_line$USER1$/check_dummy $ARG1$ "$ARG2$" ... > check_command > check-host-adaptive!$SERVICESTATEID:server1:Connectivity$!$SERVICEOUTPUT:server1:Connectivity ... > In this way the host check_command produces the same state as the > "Connectivity" Service on the same Host. This looks very clever and it would be mostly the right workaround, still... ... > This ist still a quick hack, but it works ;-) > This is IMHO the fastest way without parsing status.dat. Do you have it tested? I do not think it will work. The goal is to reflect the field "last_hard_state", not the field "current_state". "SERVICESTATEID" unfortunately corresponds to "current_state" while "last_hard_state" has no corresponding macro. If you think about the problem, its goal was to delay the host-status-change after stabilizing the state in many attempts, this goal has no opportunity to use the immediately changing "current_state" field. In fact my first version of the Perl script was using "current_state" and IRL it just did not work. It would be fine to provide macro for "last_hard_state" in the next release. Regards, Lace --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ 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: Vedr.: [Nagios-users] Monitoring Windows servers
Thanks Thomas, Yep you are right about assessing the needs. There is a careful balancing act between costs and features and man-hours. I don't mind the people here learning more Linux skills, it's certainly no bad thing, but my general belief is that the time spent implementing a project shouldn't be more than the time gained by using it ! :) It would be good if Nagios released a pre-built virtual machine image, or even better a pre-created nagios disti which can install in one go and just start up, like IPCop or Smoothwall. I know there is a Nagios "Live" cd which boots from the cd, but you can't save any changes between reboots easily. Olly -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Jens Lauritsen Sent: 22 May 2006 10:39 To: nagios-users@lists.sourceforge.net Subject: Vedr.: [Nagios-users] Monitoring Windows servers Hello Oliver, When choosing a monitoring software one should look into what the needs are. How much time should be used on the project. What is the resources inside the company. If you don't have the resources for linux, then don't use Nagios. However if you want to use the time to build up a linux knowhow to be able to handle Nagios then it's fine. I use SNMP to check all kinds of things on our win boxes. CPU, DISKSPACE, TASKS, UPTIME, NETWORK I don't use any agent other then the SNMP-agent. Howerver it take sometime to get used to the SNMP-enviroment. Best regards Thomas "Oliver Marshall" <[EMAIL PROTECTED]> Sendt af: [EMAIL PROTECTED] 22-05-2006 11:01 Til: cc: Vedr.:[Nagios-users] Monitoring Windows servers I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? Olly --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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
Vedr.: [Nagios-users] Monitoring Windows servers
Hello Oliver, When choosing a monitoring software one should look into what the needs are. How much time should be used on the project. What is the resources inside the company. If you don't have the resources for linux, then don't use Nagios. However if you want to use the time to build up a linux knowhow to be able to handle Nagios then it's fine. I use SNMP to check all kinds of things on our win boxes. CPU, DISKSPACE, TASKS, UPTIME, NETWORK I don't use any agent other then the SNMP-agent. Howerver it take sometime to get used to the SNMP-enviroment. Best regards Thomas "Oliver Marshall" <[EMAIL PROTECTED]> Sendt af: [EMAIL PROTECTED] 22-05-2006 11:01 Til: cc: Vedr.: [Nagios-users] Monitoring Windows servers I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? Olly --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] Monitoring Windows servers
I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? Olly --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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] large text in nagios.cmd
Hello, I have a problem with nagios I use a lot of passive services and I have some scripts that write a process_service_check_result into the nagios.cmd file and also log before writing into the cmd file. The length of the written line is variable, and sometimes it can be verry verry long. All the passive services are volatile. Usually after the line is written in the cmd file nagios logs an external_command_process_service_check_result, then aservice_alert and then a service_notification. A few days ago something strange happened: -For one specific passive service that has one specific script writing Nagios stopped logging the external command, the service alert and the service notification for one specific service only. -The script keeps writing data into nagios.cmd and log files (as I did a manual debug) -All other passive services that have scripts writing lines into nagios.cmd work fine. -The status data is shown in the web interface but I receive no email alert. I use Nagios 1.2 Thank you for your help Stephane --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ 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