Re: [Nagios-users] NRPE install vs. SSL
./configure -h will list the options which includes: --enable-ssl enables native SSL support --with-ssl=DIR sets location of the SSL installation --with-ssl-inc=DIR sets location of the SSL include files --with-ssl-lib=DIR sets location of the SSL libraries So you should be able to do something like ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl --with-ssl-lib=/usr/sfw/lib/openssl On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker gezin...@gmail.com wrote: Hi all, During my NRPE install on Solaris 10, I ran into the problem that the SSL libraries are not visible to the install process. The install process is looking for it in /usr but in effect there is a link in /usr/include/openssl that points to /usr/sfw/include/openssl. Some products allow you to specify parms when you install, can I do the same here to get past this hurdle? Regards Gezina -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Richard Quintin, DBA Database Application Administration Virginia Tech ~ http://www.familieslikeme.org/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 future?
On Wed, Jun 10, 2009 at 7:05 AM, Andreas Ericssona...@op5.se wrote: There's also the fact that we lack an oracle database to test against, so whoever adds oracle support to Merlin and Ninja will have to be someone else than me. I appreciate all the work that you guys are putting into Nagios. I'm looking forward to implementing Ninja. I just wanted to mention that anyone can run an Oracle database for free with Oracle Express Edition. It limits you to 4G of data but that should be more than sufficient for testing purposes. Oracle packages it both as an rpm and deb. It's fairly straightforward to get going. http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html -- Richard Quintin, DBA Database Application Administration Virginia Tech ~ http://www.familieslikeme.org/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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 checks instead of service checks
You could use check_dummy for the host check and just have it always return OK. Or perhaps the opposite you could add a check_dummy service check for all hosts. Which you choose will depend upon your personal preference and how you want dependencies to be handled. On Mon, Mar 16, 2009 at 11:06 AM, Deborah Martin deborah.mar...@kognitio.com wrote: Hi Folks, Currently, the main nagios box (running old version of SuSE) and Nagios 2.0b4 is running just with service checks, one of which is an ssh check (we don't allow ping) So in the web interface, I see all hosts as up. However, I've built a new box (which hopefully will replace the above) with SLES 10SP1 and Nagios 3.0.6. I've put the same config files (services.cfg and hosts.cfg) on the this new system. But now the hosts all show as Pending. So I then moved the ssh check from a service check to a host check and can see that the more hosts I move the less hosts are pending. That's good so far... But, when I run the pre-flight check (/usr/local/nagios/bin/nagios -v nagios.cfg), I now get warnings to say some hosts don't have any service checks associated with it! This is true as some nodes will only have ssh checks against them whilst others will have other checks against them. I'd rather it didn't warn me as I have hundreds of hosts appear in the pre-flight check warnings and it now looks incredibly untidy to see all this. How can I get rid of these warnings ? I'm probably missing something here so any help would be appreciated. I'm wondering for example, if I should force the initial state to be UP for hosts rather than moving the ssh service check to a host check. But then what would happen if the service check found a node was down - would it reflect that in the host problems ? regards, deborah *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *** -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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 -- Richard Quintin, DBA Database Application Administration Virginia Tech -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Installing and configuring Nagiosgraph
with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 -- Richard Quintin, DBA Database Application Administration Virginia Tech -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Problem with NRPE!!!
This probably means the ./configure step failed. Take a look at config.log. On Mon, Jan 12, 2009 at 12:24 PM, Sergio Ariel sergio.ar...@iris.uh.cuwrote: I'm triying to install NRPE but I have a big problem. All documents say that I must do next: tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 ./configure make all make install-plugin make install-daemon make install-daemon-config But when I try to run any make command I receive this error: make: *** No rule to make target `all'. Stop. What can I do? Thanks. -- Sergio Ariel de la Campa Saiz Administrador Red UH -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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 -- Richard Quintin, DBA Database Application Administration Virginia Tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ 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-plugins on Solaris 10 with Sun Studio 12
For what it's worth here's what we do for our Solaris SPARC boxes: Plugins ./configure --prefix=/apps/username --without-apt --without-mysql --without-smbclient --without-world-permissions --with-perl=/usr/bin/perl NRPE ./configure --prefix=/apps/username --enable-command-args --disable-ssl --with-nrpe-user=someuser --with-nrpe-group=somegroup --with-nrpe-port=1 --with-nagios-user=someuser --with-nagios-group=somegroup For NRPE we also apply this patch src/nrpe.c --- src/nrpe.c.old Mon Mar 10 17:04:43 2008 +++ src/nrpe.c Thu Apr 17 10:20:27 2008 @@ -613,10 +613,12 @@ log_facility=LOG_UUCP; else if(!strcmp(varvalue,cron)) log_facility=LOG_CRON; +/* Commented out because Solaris doesn't have these log options else if(!strcmp(varvalue,authpriv)) log_facility=LOG_AUTHPRIV; else if(!strcmp(varvalue,ftp)) log_facility=LOG_FTP; +*/ else if(!strcmp(varvalue,local0)) log_facility=LOG_LOCAL0; else if(!strcmp(varvalue,local1)) On Tue, Dec 16, 2008 at 4:42 PM, James Pratt jpr...@norwich.edu wrote: -Original Message- From: Brandon Munger [mailto:bmun...@edison.edu] Sent: Tuesday, December 16, 2008 3:46 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 Hello Nagios Users, I have been attempting to compile Nagios plugins and NRPE with Sun Studio so I can deploy the binaries to a number of machines. I have read the documentation available but I cannot get a successful compile. This command I am using is: CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args' --with-ps-format='%s %d %d %d %d %d %f %s %s %n' --with-ps-cols=10 --with-ps- varlist='procstat,;procuid,;procpid,;procppid,;procvsz,;procrss,;procpcpu,pr ocetime,procprog,pos' The make output I get is: Making all in plugins make[2]: Entering directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' source='check_apt.c' object='check_apt.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ cc -DLOCALEDIR=\/usr/local/nagios/share/locale\ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c check_apt.c, line 450: warning: dubious escape: \% /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl Undefined first referenced symbol in file alloca ../gl/libgnu.a(regex.o) ld: fatal: Symbol referencing errors. No output written to check_apt make[2]: *** [check_apt] Error 1 make[2]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13' make: *** [all] Error 2 Thank you for your help. Brandon Hi Brandon, If there is a configure switch to disable the check_apt plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) jamie -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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 -- Richard Quintin, DBA Database Application Administration Virginia Tech -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include
Re: [Nagios-users] Alerting on 100% cpu for a period of time
Anything is _possible_. :) The smart folks on this list can probably suggest something better, but one option would be to have a sar process logging cpu usage to a file and then an NRPE check to look at the values in that file. On Tue, Aug 5, 2008 at 4:19 AM, Lars Jørgensen [EMAIL PROTECTED] wrote: Hi. Is it possible to alert when a windows host has been running af 100% cpu for, say 20 minutes? -- Lars - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 -- Richard Quintin, DBA Database Application Administration Virginia Tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Dependency checking for services in downtime
I have a test configuration like so: define service{ use prod-nagios-service-template host_name localhost service_description test-master check_commandtcp!9898 } define service{ use prod-nagios-service-template host_name localhost service_description test-child check_command tcp!9897 } define servicedependency{ host_name localhost service_description test-master dependent_host_name localhost dependent_service_description test-child execution_failure_criteria c ; Don't bother checking logins if the listener is critical notification_failure_criteria w,c ; Don't bother notifying about logins if the listener is critical or warning } When test-master is in a period of scheduled downtime, I expect that test-child will be down. Nagios does not notify me about test-master (because it's in a scheduled downtime) but it does notify me about test-child. Is it possible to configure this so that I don't have to schedule downtime for all of the child dependencies? Thanks for your help! -- Richard Quintin, DBA Database Application Administration Virginia Tech - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ 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] Problem scheduling downtime externally
I had a similar problem and just switched to using the cmd.cgi to get it done. Attached is a simple daemon I wrote until I can get around to writing a proper one. You can take a look at it to get an example of how to use cmd.cgi. If you decide you want to use the script itself, you'll need to make modifications for your environment and be sure to heed the warning. On Wed, Jun 25, 2008 at 11:09 AM, Tony Rice (trice) [EMAIL PROTECTED] wrote: I'm trying to interface a database of upcoming downtimes to Nagios via the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. However, writing to the nagios.cmd file just sits there and never returns. I'm wondering if it's a problem with the way the named pipe is setup. My nagios.cmd file looks like this: % ls -la var/rw/nagios.cmd prw-rw-rw- 1 nagios nagios 0 Jun 25 08:03 var/rw/nagios.cmd I've tried writing to this file from perl and a borne shell script with similar results. An advice? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Richard Quintin, DBA Database Application Administration Virginia Tech #!/usr/bin/perl -w # WARNING WARNING WARNING WARNING WARNING WARNING WARNING # This is a hack. Not an acceptable long-term solution. # The only guarantee that comes with this script is that # it is definitely insecure. # WARNING WARNING WARNING WARNING WARNING WARNING WARNING #additional header for sockets handling use IO::Socket; #used for the function gethostbyaddr use Net::hostent; #you have to specify the port number after the perl command my $port=shift || die Usage server.pl port\n; my %CMD_CODES = ( 'SCHEDULE_SVC_CHECK' = 7, 'SCHEDULE_HOST_SVC_CHECKS' = 17, 'SCHEDULE_FORCED_HOST_SVC_CHECKS' = 53, 'SCHEDULE_FORCED_SVC_CHECK' = 54, 'SCHEDULE_HOST_DOWNTIME' = 55, 'SCHEDULE_SVC_DOWNTIME' = 56, 'SCHEDULE_HOSTGROUP_HOST_DOWNTIME' = 84, 'SCHEDULE_HOSTGROUP_SVC_DOWNTIME' = 85, 'SCHEDULE_HOST_SVC_DOWNTIME' = 86, 'SCHEDULE_HOST_CHECK' = 96, 'SCHEDULE_FORCED_HOST_CHECK' = 98, 'SCHEDULE_SERVICEGROUP_HOST_DOWNTIME' = 121, 'SCHEDULE_SERVICEGROUP_SVC_DOWNTIME' = 122, 'SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME' = 134, 'SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME' = 137, ); #creation of the socket called $server: #Proto= protocol to use #LocalPort = service name or port number to be the server #ports 1024 under linux are restricted to the superuser #Listen = number of pending connections, SOMAXCON is #a special symbol for the system maximum #Reuse = restart the server manually my $server = IO::Socket::INET-new( Proto = 'tcp', LocalPort = $port, Listen = SOMAXCONN, Reuse = 1); die can't setup server unless $server; print [Server $0 is running]\n; #the server waits for a client to connect #and accept it with $server-accept #you can telnet to the port you want to test it while ($client = $server-accept()) { $client-autoflush(1); # Only talk to 10.2.3.4 if ($client-peerhost ne '10.2.3.4') { print $client Sorry. I'm not supposed to talk to strangers.\n; printf [Reject connect from %s]\n, $client-peerhost; close($client); next; } #welcome print $client Welcome to $0\n; #get informations on the client #peeraddr = client name or IP $hostinfo = gethostbyaddr($client-peeraddr); #print this informations on the server side printf [Connect from %s]\n, $hostinfo-name || $client-peerhost; #ask the client for a command print $client [server]\$; while (my $request = $client) { next unless $request =~ /\S/; # blank line #quit/exit if ($request =~ /^quit/i) { last; } elsif ($request =~ /^date/i) { printf $client %s\n, scalar localtime; } else { if (handleRequest($request)) { print $client Done.\n; } else { print $client There was a problem.\n; } } } continue { print $client [server]\$ ; } close $client; } #the socket $client is closed #to close the socket $server: ctrl+c sub handleRequest { my ($request) = @_; chomp($request); my @request = split(';', $request); my $TYPE = $CMD_CODES{ $request[0] }; my $HOST = $request[1]; my $SERVICE = ; if ($request[0] eq 'SCHEDULE_SVC_DOWNTIME') { $SERVICE = service=$request[2]; shift(@request); } chomp(my $START=`/bin/date -d [EMAIL PROTECTED] '+%m-%d-%Y %H:%M:%S
Re: [Nagios-users] NRPE Install Error
Hi Scott, This can be an annoying problem with NRPE. First make sure NRPE works ok without ssl (using the -n switch): On the host running the NRPE daemon do: nrpe -n -d -c config file On the Nagios host do: check_nrpe -n -H IP -c command -a args After that works, you'll need to check to make sure that - NRPE is the same version on both hosts. - OpenSSL libraries are the same version on both hosts. After that, I don't know... For me the problem has been different SSL versions almost every time. It's annoying enough that I'm considering alternatives to NRPE. Good luck! :) On Fri, Jun 20, 2008 at 8:01 AM, Scott Ackerman [EMAIL PROTECTED] wrote: Shankar, thanks for the help. The nrpe daemon is running on the remote server. There were no ./configure problems on the remote server, and the only warning I received when I ran ./configure on the monitoring host was checking for Kerberos include files... could not find include files When I ran telnet from the monitoring host to the server I got the following: trying ip address connected to ip address escape character is '^}'. connection closed by foreign host. So it seems as if the ports are opened between the two. Firewall access is allowed between the two (obviously or telnet would not have worked). But I am still stuck in the same spot witht the CHECK NRPE: Error - Could not complete SSL handshake. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 1:25 AM To: Scott Ackerman Subject: Re: [Nagios-users] NRPE Install Error Please make sure ./configure went properly and complied nrpe without any errors. Also check if the nrpe daemon running, ps -ef | grep nrpe or ps -ef | grep 5666 from the nagios server, try telnet ip-of-the-monitoring-host 5666 you can also check if the firewall access allow between the two servers(nagios and remote host). Hope this helps -Shankar On 6/20/08, Scott Ackerman [EMAIL PROTECTED] wrote: I have successfully installed NRPE on the remote server (FC6 box). I have run the check_nrpe tests to verify that everything is working correctly. On the monitoring server however (CentOS 5.1 box) when I run /usr/local/nagios/libexec/check_nrpe -H (IP address of remote server), I get the following error: CHECK_NRPE: Error - Could not complete SSL handshake. the only negative reponse that I got when I ran ./configure was checking for Kerberos include files... could not find include files. Sorry but I am new at this, but I am stumped at this point. The only thing that the documentation says is what to check if you get a timeout error. Nagios v 3.02 Scott Ackerman 1212 Baker Street Fort Collins, Colorado 80524 Office - (970) 689-3999 Cell - (970) 231-9035 Fax - (888) 290-2131 www.us-able.com Design is not just what it looks like and feels like. Design is how it works - Steve Jobs - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Shankar Asam - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Richard Quintin, DBA Database Application Administration Virginia Tech - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http issues...
You're using -I and the command line and -H in your conf. This makes a difference. I haven't figured out all the details yet, but I believe it affects what gets sent in the header... On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza [EMAIL PROTECTED] wrote: I feel like this plugin hates me!... I get a critical status with a (Null) Status Information and I can't seem to figure out what I am doing wrong. My command looks like this: define command{ command_namecheck_http_arg command_line$USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ } And my service definition looks like this: define service{ use master-service host mdfbbsw01 service_description Web Interface check_command check_http_arg!admin:'12345' } However from the command line (with root and nagios users) I execute this: /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds |time=0.150422s;;;0.00 size=16447B;;;0 Can anyone see anything that I don't? Thanks, - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Richard Quintin, DBA Database Application Administration Virginia Tech - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http issues...
And the host address for mdfbbsw01 is defined as 10.10.4.10? If so, I would take a look at check_debug to figure out what's going on. http://www.nagios.org/faqs/viewfaq.php?faq_id=379 On Thu, Jun 5, 2008 at 1:06 PM, Victor Lanza [EMAIL PROTECTED] wrote: I've actually tried both the H and I interchangeably and it only works on the command line..regardless of H or I.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Quintin Sent: Thursday, June 05, 2008 12:58 PM To: Victor Lanza Cc: nagios Mailinglist Subject: Re: [Nagios-users] check_http issues... You're using -I and the command line and -H in your conf. This makes a difference. I haven't figured out all the details yet, but I believe it affects what gets sent in the header... On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza [EMAIL PROTECTED] wrote: I feel like this plugin hates me!... I get a critical status with a (Null) Status Information and I can't seem to figure out what I am doing wrong. My command looks like this: define command{ command_namecheck_http_arg command_line$USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$ } And my service definition looks like this: define service{ use master-service host mdfbbsw01 service_description Web Interface check_command check_http_arg!admin:'12345' } However from the command line (with root and nagios users) I execute this: /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345' HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds |time=0.150422s;;;0.00 size=16447B;;;0 Can anyone see anything that I don't? Thanks, - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Richard Quintin, DBA Database Application Administration Virginia Tech -- Richard Quintin, DBA Database Application Administration Virginia Tech - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null