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"
NRPE script:
# cat nrpe
#!/bin/bash
#
# Init file for Nagios NRPE
#
# Written by Dag Wieers <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