<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:923999716;
        mso-list-type:hybrid;
        mso-list-template-ids:-284801620 1221651040 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</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-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Hi Alen, Hi list,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Your issue is related to the
knowledge about configuring and using sudo commands, not with Nagios.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Although, this knowledge is
required for every Nagios plugins containing commands that need root permissions
to be allowed to get executed.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I know the “check_mem.pl” plugin
requires the same kind of configuration.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Setting up a sudo command means
editing a user alias, a command alias, and then allow your user alias to run
your command alias with some other user permission, ie the root user.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The file you want to edit is
/etc/sudoers, edit it with your vi editor by typing as root :    visudo<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>(should be located in /usr/sbin/
) <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>On AIX, you need the “rpm.rte”
AIX package, and the sudo rpm coming from your “AIX toolbox for Linux
Applications” CD or <a
href="ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/">ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/</a><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Edit this file as follow : Be
carefull about the syntax, it has to be strictly respected :<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Add a user alias such as :<o:p></o:p></span></p>

<p class=MsoNormal><span lang=FR>User_Alias          SU_TO_NAGIOS_PLUGINS_USER
= nagios</span><span lang=FR style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Make sure you are using a
tabulation between User_Alias and the alias name, also make sure the U and A of
User_Alias are uppercase.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Add a command alias such as :<o:p></o:p></span></p>

<p class=MsoNormal>Cmnd_Alias        SU_TO_NAGIOS_PLUGINS = /usr/local/nagios/current/libexec/<span
lang=SL>tsmonitor db</span><o:p></o:p></p>

<p class=MsoNormal>(seems your path uses nagios instead of “nagios-plugins”)<span
style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Again, make sure you are using a
tabulation between Cmnd_Alias and the alias name, and that the C and A of
Cmnd_Alias are uppercase.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Then add the authorization such
as :<o:p></o:p></span></p>

<p class=MsoNormal>SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD:
SU_TO_NAGIOS_PLUGINS<span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>This line will let the command “</span>/usr/local/nagios/current/libexec/<span
lang=SL>tsmonitor db</span><span lang=SL style='color:#1F497D'> </span><span
style='color:#1F497D'>“ run with root permissions.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Save and exit, AIX will let you
know if you have a syntax issue in your /etc/sudoers file, if this is the case,
edit the file again to fix it.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Now you can check user Nagios gained
this permission by entering :<o:p></o:p></span></p>

<p class=MsoNormal><span lang=FR style='color:#1F497D'>su – nagios –c sudo –l<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>         
</span></span></span><![endif]><span style='color:#1F497D'>sudo –l    (Lower L
option to list your configured sudo commands)<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>         
</span></span></span><![endif]><span style='color:#1F497D'>su – nagios –c   (to
run the following command using nagios identity)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>you should see something like :<o:p></o:p></span></p>

<p class=MsoNormal>User nagios may run the following commands on this host:<o:p></o:p></p>

<p class=MsoNormal>    (root) NOPASSWD: /usr/local/nagios/current/libexec/<span
lang=SL>tsmonitor db</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Which means user nagios may run :<o:p></o:p></span></p>

<p class=MsoNormal>sudo /usr/local/nagios/current/libexec/<span lang=SL>tsmonitor
db</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Now you have to use this sudo
command in your nrpe.cfg such as :<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL>command[tsmonitor_db]=<b>sudo</b>
/usr/local/nagios/libexec/tsmonitor db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Hope this helps!!<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=FR style='color:#1F497D'>Quentin Marquez<o:p></o:p></span></p>

<p class=MsoNormal><span lang=FR style='color:#1F497D'>Unix / linux admin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=FR style='color:#1F497D'>Global Technology
Services<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Experian - Monaco<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Tel : (377) 97 98 54 27<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Grizonic Alen
[mailto:Alen.Grizonic@comparex.si] <br>
<b>Sent:</b> 29 March 2010 09:48<br>
<b>To:</b> Marquez, Quentin<br>
<b>Subject:</b> RE: [Nagios-users] Nagios NRPE: Unable to read output<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>Thank you very much!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>I changed the command in
my nrpe.cfg file, but now looks like there is something else blocking the
response.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>Even with a log timeout
I get ... CHECK_NRPE: Socket timeout after XY seconds.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>I would think of a
firewall blocking, but the other commands work and run very fast ... and
apparently there is no firewall on that AIX machine.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>p.s. Maybe I missed
something out ... what did you mean with »</span><span style='color:#1F497D'>you
would need to setup a sudo command</span><span lang=SL style='color:#1F497D'>«?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>Just change the command
to ...<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>command[tsmonitor_db]=<b>sudo</b>
/usr/local/nagios/libexec/tsmonitor db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>... or something else?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>If you have any idea I
wuold be more than thankful!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>But really </span><span
lang=SL style='font-family:Wingdings;color:#1F497D'>J</span><span lang=SL
style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>Best regards, <o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>Alen<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

</div>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Marquez, Quentin
[mailto:Quentin.Marquez@experian.com] <br>
<b>Sent:</b> Friday, March 26, 2010 3:57 PM<br>
<b>To:</b> Nagios Users List<br>
<b>Subject:</b> Re: [Nagios-users] Nagios NRPE: Unable to read output<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Hi Alen,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I don’t know much about this
plugin, but it looks like your command requires root permission.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Thus you would need to setup a
sudo command to run /usr/local/nagios/libexec/tsmonitor db<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Then use your new sudo command
in your nrpe.cfg :<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL>command[tsmonitor_db]=sudo
/usr/local/nagios/libexec/tsmonitor db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>Quentin<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Grizonic Alen
[mailto:Alen.Grizonic@comparex.si] <br>
<b>Sent:</b> 26 March 2010 15:17<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> [Nagios-users] Nagios NRPE: Unable to read output<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=SL>Hello!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>I know that this post is nothing new, but I
still didn't find any solution for it.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>I am working on a AIX 5.3 machine with NRPE
running under inetd.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>On the local AIX machine the command for TSM
works fine ...<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'># ./tsmonitor db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>db - database
utilization 0%, OK<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>But when I start if from the Nagios server ...
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'># ./check_nrpe -n -t 60
-H 172.21.100.121 -c tsmonitor_db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>NRPE: Unable to read
output<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>or from the AIX machine with the NRPE I get
...<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'># ./check_nrpe -n -t 60
-H localhost -c tsmonitor_db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='color:#1F497D'>NRPE: Unable to read
output<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>The nrpe.cfg file is properly configured with
the commands<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor
db<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL>command[check_disk/]=/usr/local/nagios/libexec/check_disk
-w 20 -c 10 -p /<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>Where check_disk/ works fine, but tsmonitor_db
NOT!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL>Any suggestions?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Best
regards, <o:p></o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=SL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Alen<o:p></o:p></span></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>This e-mail
has come from Experian, the only business to have been twice named the UK's
'Business of the Year’ </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>===================================================================================</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Information
in this e-mail and any attachments is confidential, and may not be copied or
used by anyone other than the addressee, nor disclosed to any third party
without our permission. There is no intention to create any legally binding
contract or other binding commitment through the use of this electronic
communication unless it is issued in accordance with the Experian Limited
standard terms and conditions of purchase or other express written agreement
between Experian Limited and the recipient. </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Although
Experian has taken reasonable steps to ensure that this communication and any
attachments are free from computer virus, you are advised to take your own
steps to ensure that they are actually virus free. </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Companies Act
information:</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Registered
name: Experian Limited </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Registered office:
Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United
Kingdom</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Place of
registration: England and Wales </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Registered
number: 653331</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p>

</div>

</body>

</html>