monitor PMON and listner

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cyient
Posts: 116
Joined: Thu May 08, 2014 4:45 am

Re: monitor PMON and listner

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: monitor PMON and listner

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
belvdr
Posts: 81
Joined: Tue Oct 08, 2013 9:17 pm

Re: monitor PMON and listner

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: monitor PMON and listner

Post 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.
Former Nagios employee
Locked