Monitor stunnel or binary?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bkelly
Posts: 10
Joined: Thu Mar 21, 2013 9:27 am

Monitor stunnel or binary?

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitor stunnel or binary?

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bkelly
Posts: 10
Joined: Thu Mar 21, 2013 9:27 am

Re: Monitor stunnel or binary?

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitor stunnel or binary?

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked