monitor PMON and listner
monitor PMON and listner
Hi,
We are looking to monitor PMON and listner in a Oracle server but unable to find the plugins.
Any idea about this ?
We are looking to monitor PMON and listner in a Oracle server but unable to find the plugins.
Any idea about this ?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: monitor PMON and listner
This listing says it can monitor the PMON process
http://exchange.nagios.org/directory/Pl ... 29/details
http://exchange.nagios.org/directory/Pl ... 29/details
Re: monitor PMON and listner
Hi i have written a bash script for monitoring the process which we are looking for but i get timed out error when calling the script from nagios server through nrpe but when i call other check_load or check_user commands i get the output easily.
Is there any modification to be done to the script, i have attached the script for reference.
Please suggest on this.
Is there any modification to be done to the script, i have attached the script for reference.
Please suggest on this.
You do not have the required permissions to view the files attached to this post.
Re: monitor PMON and listner
Can you post the service and command definition for the check, as well as the nrpe.cfg command from the remote host?
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.
"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.
Re: monitor PMON and listner
I'm executing the service through nrpe from nagios server as below
in nrpe.cfg file on remote server command definition is as below
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.3.4 -c check_oraCode: Select all
command[check_ora]=/usr/local/nagios/libexec/check_pid -p ora_pmon_pcontrolqqRe: monitor PMON and listner
You may have permission problems or timeout issues.
Run the following on the remote system:
Run the following on the remote system:
Code: Select all
su - nagios -c "time /usr/local/nagios/libexec/check_pid -p ora_pmon_pcontrolqq"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.
"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.
Re: monitor PMON and listner
Here is the output of the command
Code: Select all
su - nagios -c "time /usr/local/nagios/libexec/check_pid -p ora_pmon_pcontrolqq"
Password:
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
ora_pmon_pcontrolqq is running.
real 0m0.086s
user 0m0.005s
sys 0m0.026s
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: monitor PMON and listner
While I am not sure which one it is, as they are all valid, or so it seems one of your greps is failing. This may or may not cause the issue you are seeing, but should be resolved regardless. The standard error output may be causing the delay or pseudo delay that makes check_nrpe timeout. You might also try adding a -t 30 flag to extend the timeout even though it doesn't appear to need it.
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.
Re: monitor PMON and listner
I have tried using the timeout arg but it did not work.
Code: Select all
$ /usr/local/nagios/libexec/check_nrpe -H 192.168.3.4 -c check_ora -t 30
CHECK_NRPE: Socket timeout after 30 seconds.-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: monitor PMON and listner
Have you verified that you can make an actual connection via the NRPE socket to that host? What is the output of:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.3.4