<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I can run the check_oracle plugin as user nagios but when I run it with
nrpe I get Cannot determine ORACLE_HOME for sid 172.20.n.n <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I added these lines to the script to no avail<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>ORACLE_BASE=/u01/app/oracle/oracle; export ORACLE_BASE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_2; export ORACLE_HOME<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>PATH=$ORACLE_HOME/bin:$PATH; export PATH<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>What am I doing wrong<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Thanks<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Bob<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Is there anyway to get nrpe to log? I don’t see any errors in /var/log/messages<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=320
style='width:240.0pt;border:solid windowtext 1.0pt'>
<tr>
<td style='border:none;padding:0in 0in 0in 0in'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=right
width=320 style='width:240.0pt'>
<tr>
<td style='padding:0in 0in 0in 0in'>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=320
style='width:240.0pt;border:solid #666666 1.0pt'>
<tr height=1 style='height:.75pt'>
<td width="100%" height=1 bgcolor=white style='width:100.0%;border:none;
background:white;padding:.75pt .75pt .75pt .75pt;height:.75pt'>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
width=347 bgcolor=white style='width:260.25pt;background:black;
border:solid black 1.0pt'>
<tr>
<td width="100%" style='width:100.0%;border:solid black 1.0pt;
padding:.75pt .75pt .75pt 3.75pt'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><img width=338 height=69 id="_x0000_i1025"
src="cid:image001.jpg@01C67FFC.F72B1600"><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p></o:p></span></font></p>
</td>
<td height=1 bgcolor=white style='border:none;background:white;
padding:.75pt .75pt .75pt .75pt;height:.75pt'>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p> </o:p></span></font></p>
</td>
</tr>
<tr>
<td colspan=2 style='border:none;padding:.75pt .75pt .75pt .75pt'>
<table class=MsoNormalTable border=1 cellpadding=0 align=right
width="100%" style='width:100.0%;border:solid windowtext 1.0pt'
height="100%">
<tr height=1 style='height:.75pt'>
<td height=1 valign=top style='border:none;padding:.75pt .75pt 3.0pt 3.0pt;
height:.75pt'>
<p class=MsoNormal><b><font size=1 color=black face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:black;font-weight:
bold'>Robert R. Jaques</span></font></b><font size=1 color=black
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:black'><br>
<i><span style='font-style:italic'>Director Technical Operations</span></i>
<o:p></o:p></span></font></p>
</td>
<td height=1 valign=top style='border:none;padding:.75pt 3.0pt 3.0pt .75pt;
height:.75pt'>
<p class=MsoNormal align=right style='text-align:right'><b><font
size=1 color=black face=Verdana><span style='font-size:8.0pt;
font-family:Verdana;color:black;font-weight:bold'>HedgeFleX Inc </span></font></b><font
size=1 color=black face=Verdana><span style='font-size:8.0pt;
font-family:Verdana;color:black'><br>
<a
href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=100+Pine+Street&csz=San+Francisco%2C+CA++94111&country=us"
target="_blank"
title="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=100+Pine+Street&csz=San+Francisco,+CA++94111&country=us"><font
color=black><span style='color:black;text-decoration:none'><span
title="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=100+Pine+Street&csz=San+Francisco,+CA++94111&country=us">490
2<sup>nd</sup> Street<br>
Suite 100<br
title="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=100+Pine+Street&csz=San+Francisco,+CA++94111&country=us">
San Francisco, CA 94107</span></span></font></a> <o:p></o:p></span></font></p>
</td>
</tr>
<tr height=1 style='height:.75pt'>
<td height=1 valign=bottom style='border:none;padding:.75pt .75pt 3.0pt 3.0pt;
height:.75pt'>
<p class=MsoNormal><st1:PersonName
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
tabIndex="0" w:st="on"><font size=1 color=black face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:black'>bjaques@hedgeflex.com</span></font></st1:PersonName><font
size=1 color=black face=Verdana><span style='font-size:8.0pt;
font-family:Verdana;color:black'> <o:p></o:p></span></font></p>
</td>
<td height=1 valign=bottom style='border:none;padding:.75pt 3.0pt 3.0pt .75pt;
height:.75pt'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
align=right>
<tr>
<td nowrap style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:black'>tel: <br>
fax: <br>
mobile:<o:p></o:p></span></font></p>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:black'>Skype<o:p></o:p></span></font></p>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:black'>Yahoo IM <o:p></o:p></span></font></p>
</td>
<td nowrap style='padding:.75pt .75pt .75pt 3.0pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:black'>415.357.1177 ext 203<br>
415.357.9897 <br>
415.595.7496<o:p></o:p></span></font></p>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:black'>415.578.4490<o:p></o:p></span></font></p>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:black'>bobjaques <o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=black face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:black'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p></o:p></span></font></p>
</td>
<td style='padding:0in 0in 0in 0in'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p></o:p></span></font></p>
</td>
</tr>
<tr height=5 style='height:4.0pt'>
<td height=5 style='border:none;padding:0in 0in 0in 0in;height:4.0pt'>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p> </o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>