On 24.09.2013 19:10, Kenny Noe wrote: > Michael, > > "and the daemon runs with ssl enabled then?" > > How to I verify this? > > > Process: > ps-aux shows "icinga 24461 0.0 0.0 40988 1212 ? Ss > Sep23 0:02 nrpe -c /usr/local/nagios/etc/nrpe.cfg -d"
there's an option for disabling ssl '-n' (invoke 'nrpe --help' for details). looks like it's actually running with ssl enabled so the error must be somewhere else. try the troubleshooting sections in http://docs.icinga.org/latest/en/nrpe.html since log_facility is set to 'daemon', you should look for the nrpe.log and possible errors. likewise, don't daemonize with -d but run it in foreground. could be allowed_hosts, or some other problem on check execution. tcpdump helps reducing possible error locations as well. > > > NRPE script: > > # cat nrpe > > #!/bin/bash > # > # Init file for Nagios NRPE > # > # Written by Dag Wieers <d...@wieers.com <mailto:d...@wieers.com>>. > # > # chkconfig: - 80 20 > # description: Nagios NRPE daemon > # > # processname: nrpe > # config: /usr/local/nagios/etc/nrpe.cfg > # pidfile: /var/run/nrpe > > source /etc/rc.d/init.d/functions > > ### Default variables > CONFIG="/usr/local/nagios/etc/nrpe.cfg" > > [ -x /usr/sbin/nrpe ] || exit 1 > [ -r "$CONFIG" ] || exit 1 > > RETVAL=0 > prog="nrpe" > desc="Nagios NRPE daemon" > > start() { > echo -n $"Starting $desc ($prog): " > daemon $prog -c "$CONFIG" -d > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog > return $RETVAL > } > > stop() { > echo -n $"Shutting down $desc ($prog): " > killproc $prog > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog > return $RETVAL > } > > restart() { > stop > start > } > > reload() { > echo -n $"Reloading $desc ($prog): " > killproc $prog -HUP > RETVAL=$? > echo > return $RETVAL > } > > case "$1" in > start) > start > ;; > stop) > stop > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register> > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/icinga-users -- DI (FH) Michael Friedrich mail: michael.friedr...@gmail.com twitter: https://twitter.com/dnsmichi jabber: dnsmi...@jabber.ccc.de irc: irc.freenode.net/icinga dnsmichi icinga open source monitoring position: lead core developer url: https://www.icinga.org ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users