<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>I am monitoring a
Redhat enterprise Linux 4 server running oracle using Nagios and
NRPE.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>When I monitor
Oracle PMON process (ora_pmon_orcldb) on the server I get the message that
'PROCS CRITICAL: 0 processes with command name
'ora_pmon_orcldb''.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>I have confirmed
that process 'ora_pmon_orcldb' is actually running on the remote server. The
same type of monitoring works for other processes such as
'httpd'.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>Nagios command
definition:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>define command
{<BR> command_name
nrpe_check_procs3<BR> command_line
$USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$
$ARG3$<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>NRPE
configuration:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Courier">dont_blame_nrpe=1</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Courier">command[check_procs3]=/usr/lib/nagios/plugins/check_procs
-w $ARG1$ -c $ARG2$ -C $ARG3$</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Courier"></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Courier">From the command
line I see the following message:</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Courier"></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Courier">[nagios@nagiosserver
~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3
-a 1:4 1:8 ora_pmon_orcldb<BR>PROCS CRITICAL: 0 processes with command name
'ora_pmon_orcldb'<BR></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=105512816-23052007>Any idea what is
wrong?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007>Ajay</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=105512816-23052007></SPAN></FONT> </DIV><font size="1" face="Arial">
<br>
<hr>
Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail.
<hr>
</font></BODY></HTML>