Page 3 of 3

Re: monitor PMON and listner

Posted: Mon Jul 07, 2014 7:28 am
by cyient
Hi,

I have modified the script and it's the same error. Below is the error.

Code: Select all

 /usr/local/nagios/libexec/check_nrpe -H 172.17.43.25 -c check_ora -t 30
CHECK_NRPE: Socket timeout after 30 seconds.

Re: monitor PMON and listner

Posted: Mon Jul 07, 2014 1:06 pm
by sreinhardt
Any chance I could get you to capture the traffic again, after disabling ssl on the remote system? Starting both the remote host and the check_nrpe with -n should allow you to avoid ssl entirely. I can see some strangeness happening with your connection between the two, but I can't tell what it is since it's encrypted.

Also if you could post the script after modifications please.

Re: monitor PMON and listner

Posted: Mon Jul 07, 2014 2:36 pm
by belvdr
Instead of monitoring the process itself, why not run a simple Oracle query over TNS such as:

SELECT COUNT(*)
FROM V$INSTANCE;

This would test both PMON and the listener in one step and can be a good template for many operating systems. You could likely get fancy in testing the HOST_NAME column to the $HOSTADDRESS$ field.

Re: monitor PMON and listner

Posted: Tue Jul 08, 2014 9:51 am
by tmcdonald
That would probably work fine for these specific checks, but if anything else would need to be monitored via NRPE we'd still need to troubleshoot it.