<html 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=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C4FA64.4495AD30">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:\5B8B\4F53;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.EmailStyle17
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1766607922;
mso-list-type:hybrid;
mso-list-template-ids:-1950843654 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1
{mso-list-id:1835804564;
mso-list-type:hybrid;
mso-list-template-ids:1656654008 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2
{mso-list-id:1967197222;
mso-list-type:hybrid;
mso-list-template-ids:-373759892 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l2:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello,<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'>I have a really odd one here.<span
style='mso-spacerun:yes'> </span>I can't get the status of a <span
class=SpellE>check_disk</span> from a remote host. The commands seem to work
with I run them manually but <span class=SpellE>Nagios</span> can't seem
to make out that response from the remote host.<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'>Facts:<o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I can
manually run <span class=SpellE>check_disk</span> on my client box(<span
class=SpellE>hosta</span>) to get an answer <o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[<span class=SpellE>root@hosta</span>]#
/<span class=SpellE>usr/local/nagios/libexec/check_disk</span> 80 90 /<span
class=SpellE>var</span><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>DISK OK - [6142028 <span
class=SpellE>kB</span> (73%) free on /dev/sdb1]<o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=2 type=1>
<li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>manually
run <span class=SpellE>check_nrpe</span> on my <span class=SpellE>Nagios</span>
server(<span class=SpellE>hostb</span>) as <span class=SpellE>Nagios</span>
user and successfully retrieve a <span class=SpellE>responsys</span> from <span
class=SpellE>hosta</span> <o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[<span class=SpellE>nagios@hostb</span>]#
/<span class=SpellE>usr/local/nagios/libexec/check_nrpe</span> <span
class=SpellE>hosta</span> -c check_disk1<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>DISK OK [4490880 <span class=SpellE>kB</span>
(53%) free on /dev/sdb1]<o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=3 type=1>
<li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>both my
<span class=SpellE>check_nrpe</span> and <span class=SpellE>nrpe</span> are:<o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Version: 1.5<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Last Modified: </span></font><st1:date
Month="6" Day="3" Year="2002"><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>06-03-2002</span></font></st1:date><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>License: GPL<o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=4 type=1>
<li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>command
in my <span class=SpellE>nrpe.cfg</span>: command[check_disk1]=/<span
class=SpellE>usr/local/nagios/libexec/check_disk</span> 80 90 /<span
class=SpellE>var</span><o:p></o:p></span></font></li>
</ol>
<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'>Issue:<o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'><span
class=SpellE><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Nagios</span></font></span><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> Service Details page shows "Unable
to read output"<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I want <span
class=SpellE>Nagios</span> to be able to check disk space on the remote
hosts<o:p></o:p></span></font></li>
</ol>
<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=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>What I have done so far to try to resolve this without
success:<o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I have
tried changing the syntax of the <span class=SpellE>check_disk</span>
command to <o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='margin-left:.5in'><span class=GramE><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>command[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>check_disk1]=/<span
class=SpellE>usr/local/nagios/libexec/check_disk</span> -w 20 -c 10 -p /<span
class=SpellE>var</span><o:p></o:p></span></font></p>
<ol style='mso-margin-top-alt:0in' start=2 type=1>
<li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>check
permission of user on server and remote host running <span class=SpellE>check_nrpe</span>
and <span class=SpellE>nrpe</span><o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='margin-left:.25in'><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=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Has anymore experience with this?<span
style='mso-spacerun:yes'> </span><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'>Thanks in advance for your help.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Tom<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>