Re: [Nagios-users] ldconfig
Hi, I have passed the command configure. With gcc, now I got this errors with make all: -solaris-64int/CORE /usr/perl5/5.8.4/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lm -lpthread -ldl -lrt -lglib-2.0 gcc: broker.o: No such file or directory gcc: nebmods.o: No such file or directory gcc: checks.o: No such file or directory gcc: config.o: No such file or directory gcc: commands.o: No such file or directory gcc: events.o: No such file or directory gcc: flapping.o: No such file or directory gcc: logging.o: No such file or directory gcc: macros-base.o: No such file or directory gcc: notifications.o: No such file or directory gcc: sehandlers.o: No such file or directory gcc: utils.o: No such file or directory gcc: retention-base.o: No such file or directory gcc: xretention-base.o: No such file or directory gcc: comments-base.o: No such file or directory gcc: xcomments-base.o: No such file or directory gcc: objects-base.o: No such file or directory gcc: xobjects-base.o: No such file or directory gcc: statusdata-base.o: No such file or directory gcc: xstatusdata-base.o: No such file or directory gcc: perfdata-base.o: No such file or directory gcc: xperfdata-base.o: No such file or directory gcc: downtime-base.o: No such file or directory gcc: xdowntime-base.o: No such file or directory gcc: ../common/snprintf.o: No such file or directory gcc: perlxsi.o: No such file or directory gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/SUN/nagios-cvs/base' make: *** [all] Error 2 Thanks Sam - Original Message From: Luc I. Suryo [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 3:22:42 PM Subject: Re: [Nagios-users] ldconfig Hi, here is attached config.log file. BTW, where can I download SUNWspro package? I don't have its CD. And it seems that the download of SUNWspro 9 is only a trial package. http://developers.sun.com/sunstudio/downloads/index.jsp memberschip is free :) or http://www.sun.com/download/index.jsp?cat=Application%20Developmenttab=3subcat=Development%20Tools will work with Sol 9+ no file attached... -ls - Original Message From: Luc I. Suryo [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 1:51:20 PM Subject: Re: [Nagios-users] ldconfig I put that in a file and execute the script using sh go.sh command. The content of the script look like the same as yours: #!/bin/sh CFLAGS=-I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib ./configure --prefix=/opt/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib ok that should work here what i use (also in a script file) I used Sun Studio 12 compiler == BASEDIR=/usr/local/etc/nagios PREFIX=/usr/local CC=/opt/SUNWspro/bin/cc CXX=/opt/SUNWspro/bin/CC CFLAGS=-O -I/usr/local/include -I/usr/sfw/include CXXFLAGS=-O -I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib CC=${CC} CXX=${CXX} CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} LDFLAGS=${LDFLAGS} \ ./configure\ --prefix=${BASEDIR} \ --bindir=${BINDIR} \ --sbindir=${SBINDIR}\ --libexecdir=${LIBEXECDIR} \ --localstatedir=${LOCALSTATEDIR}\ --libdir=${LIBDIR} \ --sysconfdir=${SYSCONFDIR} \ --with-configdir=${SYSCONFDIR} \ \ --with-nagios-user=nagios \ --with-nagios-grp=nagios\ \ --with-command-user=sys \ --with-command-grp=sys \ \ --with-gd-lib=${PREFIX}/lib \ --with-gd-inc=${PREFIX}/include \ --with-file-perfdata\ --enable-statusmap \ --enable-statuswrl == But I am still getting the same error. The reason I put it in a script file is because I the terminal I logon does not allow me to type such a long commandline in the shell. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events
[Nagios-users] Nagios package for Sparc.
Hi, Is there a downloadable nagios package for Sparc, that include jpeg, gd as well? I have downloaded a nagios-plugins for sparc few weeks ago.. I assumed there should be a nagios main package for sparc too. Your help is much appreciated. Thanks - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Tuesday, October 16, 2007 12:12:05 PM Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v /dev/null 5 ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gccconftest.c 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 15 configure:1836: $? = 137 What development packages I need to download in order to fix this error? Thanks S - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] Distributed monitoring Freshness checkingfailing then recovering
Hi Jonathan, Why not use check_by_ssh instead? Is there any pitfall (weakness) in using check_by_ssh compared agent like OCP? Thanks Sam - Original Message From: Jonathan Call [EMAIL PROTECTED] To: Sean McAvoy [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Sent: Wednesday, October 17, 2007 7:19:46 AM Subject: Re: [Nagios-users] Distributed monitoring Freshness checkingfailing then recovering Sean; I have a very large deployment so I use this tool: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon This daemon runs on each of the distributed servers while a normal ncsa daemon listens on the central server. Jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Sean McAvoy Sent: Monday, October 15, 2007 12:09 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Distributed monitoring Freshness checkingfailing then recovering On further investigations it looks as though the problem is with the time taken to submit the results back to nagios via send_nsca. I have read about a couple different options for getting results back quickly. One being a bulk system of transfer, a file containing the results is sent via a send_nsca bulk transfer executed via cron. The other being a system that makes use of the performance data output option on the remote nagios systems and submits the results using a custom daemon on both ends. Does anybody know of any other options? Also, is there any guides to setting up either of these options, most of what I have read is email threads.. Thanks. On 12-Oct-07, at 12:40 PM, Sean McAvoy wrote: Hello, I have 1 central nagios system with 5 distributed servers. I have enabled freshness checking on both central and remote systems. I am constantly seeing services go to unknown status for 1-3 minutes and then recover. on the remotes I have: check_service_freshness=1 service_freshness_check_interval=10 check_host_freshness=1 host_freshness_check_interval=60 service_inter_check_delay_method=s max_service_check_spread=10 service_interleave_factor=1 host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 It does appear as though checks are being run in parallel. I'm wonder how I can best determine where the problem is, with the execution of checks, submittal to the central system or other. Thanks. _sean -- --- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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 Sean McAvoy NOC Acting Team Lead Afilias Canada P. 416.673.4194 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users :::
Re: [Nagios-users] ldconfig
Hi, I still having this error: # CFLAGS=-I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib# # export CFLAGS # export LDFLAGS # echo $LDFLAGS -s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib # echo $CFLAGS -I/usr/local/include -I/usr/sfw/include # ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ --with-gd-lib=/usr/local/lib checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no ... Thanks Sam - Original Message From: Luc I. Suryo [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 1:31:10 PM Subject: Re: [Nagios-users] ldconfig try this CC=gcc \ CFLAGS=-I/usr/local/include -Ixxx \ LDFLAGS=-s -R/usr/local/lib:/ -L/usr/local/lib -L \ ./configure --your-option and i would advice to use Sun's compiler (studio 12) instead of GCC also replace the xxx with our location for the include files and yyy with the one for the libraries something like CFLAGS=-I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib make sense? my sparc systems are currently not available for 'testing', I do have a Solaris x86 server (Sun brand) that is use for compiling packages... good luck -ls Live Great [EMAIL PROTECTED] wrote at Mon, Oct 15, 2007 at 07:48:07PM -0700: Hi, I found that I don't have the libiconv and gd library. After I installed it, ./configure runs better, but still complain gd lib not found. I used --with-gd-lib and --with-gd-inc with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. Do I need to run ldconfig? and where can I download this tool for Sun 5.10? Thanks - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Tuesday, October 16, 2007 12:12:05 PM Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v /dev/null 5 ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gccconftest.c 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 15 configure:1836: $? = 137 What development packages I need to download in order to fix this error? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] ldconfig
I put that in a file and execute the script using sh go.sh command. The content of the script look like the same as yours: #!/bin/sh CFLAGS=-I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib ./configure --prefix=/opt/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib But I am still getting the same error. The reason I put it in a script file is because I the terminal I logon does not allow me to type such a long commandline in the shell. Thanks Sam - Original Message From: Luc I. Suryo [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED] Cc: Luc I. Suryo [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Sent: Wednesday, October 17, 2007 12:41:37 PM Subject: Re: [Nagios-users] ldconfig I still having this error: # CFLAGS=-I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib# # export CFLAGS # export LDFLAGS # echo $LDFLAGS -s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib # echo $CFLAGS -I/usr/local/include -I/usr/sfw/include # ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ --with-gd-lib=/usr/local/lib checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no ... nope not what i said :-) CFLAGS=-I/usr/local/include -I/usr/sfw/include\ LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib\ ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ --with-gd-lib=/usr/local/lib or CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure ... and check what the config.log file reports good luck -ls CC=gcc \ CFLAGS=-I/usr/local/include -Ixxx \ LDFLAGS=-s -R/usr/local/lib:/ -L/usr/local/lib -L \ ./configure --your-option and i would advice to use Sun's compiler (studio 12) instead of GCC also replace the xxx with our location for the include files and yyy with the one for the libraries something like CFLAGS=-I/usr/local/include -I/usr/sfw/include LDFLAGS=-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib make sense? my sparc systems are currently not available for 'testing', I do have a Solaris x86 server (Sun brand) that is use for compiling packages... Live Great [EMAIL PROTECTED] wrote at Mon, Oct 15, 2007 at 07:48:07PM -0700: Hi, I found that I don't have the libiconv and gd library. After I installed it, ./configure runs better, but still complain gd lib not found.. I used --with-gd-lib and --with-gd-inc with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. Do I need to run ldconfig? and where can I download this tool for Sun 5.10? Thanks - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Tuesday, October 16, 2007 12:12:05 PM Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v /dev/null 5 ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gccconftest.c 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 15 configure:1836: $? = 137 What development packages I need to download in order to fix this error? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser
Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem
Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gccconftest.c 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 15 configure:1836: $? = 137 What development packages I need to download in order to fix this error? Thanks S - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] ldconfig
Hi, I found that I don't have the libiconv and gd library. After I installed it, ./configure runs better, but still complain gd lib not found. I used --with-gd-lib and --with-gd-inc with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. Do I need to run ldconfig? and where can I download this tool for Sun 5.10? Thanks - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Tuesday, October 16, 2007 12:12:05 PM Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v /dev/null 5 ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V /dev/null 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gccconftest.c 5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 15 configure:1836: $? = 137 What development packages I need to download in order to fix this error? Thanks S - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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_by_ssh - please clarify.
Hi, Thank you for the explanation. I read through the Distributed Monitoring Document in the following link: http://nagios.sourceforge.net/docs/2_0/distributed.html In the last section Performing Host Checks, It mentions ochp command can be used for processing host check. Can I use check_by_ssh in the ochp command? The reason of using check_by_ssh is that my clients don't want to have an *Agent* installed in their server. If I can use check_by_ssh with ochp, my goal is accomplished. Thanks Sam - Original Message From: Marc Powell [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Thursday, October 4, 2007 11:02:17 PM Subject: Re: [Nagios-users] check_by_ssh - please clarify. -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Live Great Sent: Wednesday, October 03, 2007 2:02 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_by_ssh - please clarify. If I want to set Nagios distribution architecture, can I still use check_by_ssh with NSCA server? eg. Nagios central server -- NSCA ---execute ssh-- host 1 in this sense, NSCA will gather information from host 1 using check_by_ssh, and send back the collected data to the Nagios central server. Is this possible? how to setup the monitoring architecture like this? If you haven't guessed, what you're trying to accomplish isn't clear. The question, as you've put it, doesn't make sense. About the only case I can think of that you might need to use NSCA and check_by_ssh together were if you were checking a third host that was only accessible from a second host, neither of which are directly accessible by your nagios server (i.e. firewalled, or other). send_nsca can be run on a remote host to send check results executed by an external program (nagios on that remote host or your own script), back to another nagios machine running NSCA. This is a passive check for nagios. Nagios doesn't 'call' or 'run' nsca or send_nsca. The Distributed Monitoring documentation, while specific to running a distributed nagios instance, talks about how this is accomplished. check_by_ssh is a plugin that is actively run by your nagios machine that will ssh into a remote host, execute a nagios plugin installed there and return the results to nagios as an active check. If you have direct access to the monitored machine and don't mind setting up key-based authentication for this purpose, this is probably the easiest way to go. Another option might be NRPE. Both accomplish the pretty much the same thing, just in very different ways. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] Switching to passive checks instead of active ones?
Hello Ivan, I believe the host check can only be done via a Nagios agent installed in the remote host or via check_by_ssh. You said you want to replace check_by_ssh, why are you doing so? Most customer don't want a specific monitoring agent installed in their server (a remote host in Nagios' slang). Thanks Sam. - Original Message From: Ivan Fetch [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Friday, October 5, 2007 1:40:45 PM Subject: [Nagios-users] Switching to passive checks instead of active ones? Hello, I'm wondering whether anyone has used send_nsca as a primary transport for service checks, and has any experience and recommendations? We're looking at using send_nsca to submit passive service checks in place of check_by_ssh or NRPE for active checks and would like some feedback on the sanity for doing this. The plan is to 1. Run a script from cron, which iterates through a list of checks (plugins to run, with parameters), and runs each check. There would need to be a timeout mechanism, to reap checks which hang - does anyone have something they use for this with send_nsca (not all plugins have builtin timeouts)? 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs the plugin and passes the results to send_nsca. IF send_nsca returns an error, the wrapper script logs to the local syslog. I'm starting with a wrapper script from here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?tx_netnagext_pi1%5Bp_view%5D=980 3. Nagios' freshness checking will alert us if Nagios stops hearing from any of these passive checks. Some of the motivations for switching to this method for running checks are: * System logs are not cluttered with frequent SSH logins by Nagios * A new system service (NRPE) is not added to systems, some of which are particularly tightened and narrow in purpose * Thresholds for checks (disk space percentages, mail queue volume) are moved to the client, not defined in Nagios checks - some admins like the ability to adjust these locally I'm looking for folks doing something like this, or reasons why this might be a particularly bad idea. Perhaps Nagios triggering checks has so much sanity built in, that moving checks to the push-to-Nagios model is a bad idea? Thanks all, Ivan Fetch. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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_by_ssh - please clarify.
Hi, This is the follow up the previous question. For example, if I want to check disk info in a remote host, In the NSCA server, I will define the following config: define command{ command_namecheck_slash_free command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /' }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins? Thanks[ Sam - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net; nagios-users@lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:14:25 PM Subject: check_by_ssh - please clarify. Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_by_ssh - please clarify.
Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] live demo
Hi, I am looking for a live demo website for the introudction of nagios. Can anyone please point me to an available link? I 've been searched in google, can't find a link for that. The one at Nagios website is broken. Thanks Sam - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NSCA on readonly system
Hi, I planned to setup NSCA on customer site for remote monitoring. Can I configure the entire setup (NSCA + system) as a readonly device? NSCA give me an impression that it is just used to collect data from remote hosts and send it back to Nagios central server. Thanks Sam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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_by_ssh - please clarify.
If I want to set Nagios distribution architecture, can I still use check_by_ssh with NSCA server? eg. Nagios central server -- NSCA ---execute ssh-- host 1 in this sense, NSCA will gather information from host 1 using check_by_ssh, and send back the collected data to the Nagios central server. Is this possible? how to setup the monitoring architecture like this? Links, reference/guides are most welcome. Thanks Sam - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:22:48 PM Subject: Re: check_by_ssh - please clarify. Hi, This is the follow up the previous question. For example, if I want to check disk info in a remote host, In the NSCA server, I will define the following config: define command{ command_namecheck_slash_free command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /' }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins? Thanks[ Sam - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net; nagios-users@lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:14:25 PM Subject: check_by_ssh - please clarify. Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] apache(1.3) httpd.conf file with nagios cgi
Hi, I am stuck in having apache1.3 execute nagios cgi, can anyone please post your working httpd.conf here for reference? Thanks for your help SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios' cgi
HI, thanks for the replies. I m running the following version of Nagios and plugins: # pkg_info | grep -i nagios nagios-2.9_1Extremely powerful network monitoring system nagios-plugins-1.4.5,1 Plugins for Nagios nagios-snmp-plugins-1.0_5 Additional SNMP plugins for Nagios Thanks SW - Original Message From: Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Sent: Friday, September 28, 2007 10:41:06 PM Subject: RE: [Nagios-users] nagios' cgi !-- _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:Times New Roman;} a:link, span.MsoHyperlink {color:blue;text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple;text-decoration:underline;} span.EmailStyle17 {font-family:Arial;color:navy;} _filtered {margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {} -- You need to add support for cgi to your apache configuration. It may be worth you upgrading to Apache2, depending on what version of Nagios and the plugins you are running? Can you supply us with that information please? It may be beneficial to us in helping you solve this problem. Stephen From: Live Great [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 8:17 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios' cgi Hi, I have installed nagios and its plugins in freebsd. Restarted apache (1.3), and navigated to the nagios webpages of the website, it does display the main page correctly. However when I click any option in the left hand side of the main page, it popup a download screen and asked me whether I want to download the cgi program. The httpd.conf has the following nagios configuration lines written: Directory /usr/local/www/nagios Order allow,deny Allow from all /Directory Directory /usr/local/www/nagios/cgi-bin AddHandler cgi-script .cgi Options ExecCGI /Directory ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios/ /usr/local/www/nagios/ Note, the apache running in my system has embedded perl module built in. I also attached a screenshoot of the popup screen when I click on any option on the left hand side of the nagios main page. Your suggestion is much appreciated. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios' cgi
I could upgrade to apache2, but there is embperl built into apache as well, that make me a bit lazy to upgrade it. How do you add cgi to apache(1.3) support? Thanks SW - Original Message From: Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Sent: Friday, September 28, 2007 10:41:06 PM Subject: RE: [Nagios-users] nagios' cgi !-- _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:Times New Roman;} a:link, span.MsoHyperlink {color:blue;text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple;text-decoration:underline;} span.EmailStyle17 {font-family:Arial;color:navy;} _filtered {margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {} -- You need to add support for cgi to your apache configuration. It may be worth you upgrading to Apache2, depending on what version of Nagios and the plugins you are running? Can you supply us with that information please? It may be beneficial to us in helping you solve this problem. Stephen From: Live Great [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 8:17 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios' cgi Hi, I have installed nagios and its plugins in freebsd. Restarted apache (1.3), and navigated to the nagios webpages of the website, it does display the main page correctly. However when I click any option in the left hand side of the main page, it popup a download screen and asked me whether I want to download the cgi program. The httpd.conf has the following nagios configuration lines written: Directory /usr/local/www/nagios Order allow,deny Allow from all /Directory Directory /usr/local/www/nagios/cgi-bin AddHandler cgi-script .cgi Options ExecCGI /Directory ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios/ /usr/local/www/nagios/ Note, the apache running in my system has embedded perl module built in. I also attached a screenshoot of the popup screen when I click on any option on the left hand side of the nagios main page. Your suggestion is much appreciated. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios' cgi
Hi, I have installed nagios and its plugins in freebsd. Restarted apache (1.3), and navigated to the nagios webpages of the website, it does display the main page correctly. However when I click any option in the left hand side of the main page, it popup a download screen and asked me whether I want to download the cgi program. The httpd.conf has the following nagios configuration lines written: Directory /usr/local/www/nagios Order allow,deny Allow from all /Directory Directory /usr/local/www/nagios/cgi-bin AddHandler cgi-script .cgi Options ExecCGI /Directory ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios/ /usr/local/www/nagios/ Note, the apache running in my system has embedded perl module built in. I also attached a screenshoot of the popup screen when I click on any option on the left hand side of the nagios main page. Your suggestion is much appreciated. Thanks SW attachment: cgi.GIF- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] secure connection
I will probably instal NSCA in freebsd at client site if it get approval, or like you said, I will have to install it in Solaris. Thanks Sam - Original Message From: Thomas Stocking [EMAIL PROTECTED] To: Live Great [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Sent: Wednesday, September 26, 2007 4:03:00 PM Subject: Re: [Nagios-users] secure connection SW, You can use the NSCA encryption options. They are a bit slower than unencrypted, but they work well. On the sending side, match the encryption method in send_nsca.cfg to that specified in the nsca.cfg on the receiving (Nagios) server side. The tricky part is compiling nsca and send_nsca with Libmcrypt. That can be a pain, especially on Solaris. All this is documented in the NSCA docs. Thomas Live Great wrote: Hi, Can anyone tell me how to establish secure connection between a remote NSCA (at client site) and the centralized Nagios server? I basically after the solution of authentication and encryption like ssh/ssl. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] secure connection
Hi, Can anyone tell me how to establish secure connection between a remote NSCA (at client site) and the centralized Nagios server? I basically after the solution of authentication and encryption like ssh/ssl. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] bypass firewall
Hi, With Nagios and its plug-ins, what is the best way to avoid customer's firewall from blocking the data transfer between centralized Nagios server and the NRPE or Plug-ins installed in customer's servers? I basically don't want to change customer's security policies, but still allow the centralized remote monitoring to be in-placed with Nagios. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] plug-ins for AIX DB2
Hi, I want to install a nagios plug-ins for AIX DB2. Where can I download this plug-ins from the internet? or do I need to purchase that? Your suggestion is much appreciated. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] plug-ins for AIX DB2
The required configuration is to install a nagios client/plug-ins in AIX and have it monitor the DB2 database engine, I assumed it will periodically send status/summary to a remote centralized nagios server. The centralized nagios server is a freebsd system. Thanks SW - Original Message From: Live Great [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Monday, September 24, 2007 9:48:18 AM Subject: [Nagios-users] plug-ins for AIX DB2 Hi, I want to install a nagios plug-ins for AIX DB2. Where can I download this plug-ins from the internet? or do I need to purchase that? Your suggestion is much appreciated. Thanks SW - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null