Page 1 of 1

Monitor stunnel or binary?

Posted: Fri Mar 22, 2013 10:35 am
by bkelly
Hi

I'm trying to set up monitoring for stunnel which runs as a binary as the below shows

root 1037 1 0 Mar06 ? 00:00:40 /usr/bin/stunnel4 /etc/stunnel/user.conf

when trying to monitor this as a process or service it doesn't work - any ideas?

Re: Monitor stunnel or binary?

Posted: Fri Mar 22, 2013 1:00 pm
by lmiltchev
when trying to monitor this as a process or service it doesn't work - any ideas?
Can you show the actual command that you are running from the command line, and the output of it?

Re: Monitor stunnel or binary?

Posted: Mon Mar 25, 2013 12:11 pm
by bkelly
Testing check from command line...


COMMAND: /usr/local/nagios/libexec/check_nrpe -H address -t 30 -c check_services -a \\'stunnel4\\'
OUTPUT: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

Re: Monitor stunnel or binary?

Posted: Mon Mar 25, 2013 12:28 pm
by abrist
You may want to run through the possible fixes for this error found in the following document:
http://assets.nagios.com/downloads/nagi ... utions.pdf