<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:OCIDKA+Arial;}
@font-face
{font-family:Bold;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Italic;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:BoldItalic;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
{margin:0in;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:OCIDKA+Arial;}
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;}
p.default, li.default, div.default
{margin:0in;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:OCIDKA+Arial;
color:black;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:807364664;
mso-list-type:hybrid;
mso-list-template-ids:957640332 -1 -1 -1 -1 -1 -1 -1 -1 -1;}
@list l0:level1
{mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level2
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level3
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level4
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level5
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level6
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level7
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level8
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l0:level9
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1
{mso-list-id:1462955312;
mso-list-type:hybrid;
mso-list-template-ids:921780835 -1 -1 -1 -1 -1 -1 -1 -1 -1;}
@list l1:level1
{mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level2
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level3
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level4
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level5
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level6
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level7
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level8
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l1:level9
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2
{mso-list-id:1561510579;
mso-list-type:hybrid;
mso-list-template-ids:1171694094 -1 -1 -1 -1 -1 -1 -1 -1 -1;}
@list l2:level1
{mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level2
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level3
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level4
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level5
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level6
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level7
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level8
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l2:level9
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3
{mso-list-id:1930048719;
mso-list-type:hybrid;
mso-list-template-ids:1887797808 -1 -1 -1 -1 -1 -1 -1 -1 -1;}
@list l3:level1
{mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level2
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level3
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level4
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level5
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level6
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level7
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level8
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
@list l3:level9
{mso-level-start-at:0;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0in;
text-indent:0in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi.<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 installed Nagios server on a linux machine successfully
and am able to monitor Linux, Solaris and windows clients.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Lastly I have to monitor HP-UX clients also but am unable to
do so.<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'>On the hp-ux machine I followed the following configuration
steps-<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=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>1. Create a shared (NFS) filesystem location for the depot
and plug-in files. Download the files from the Internet and save them to the
shared location. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>2. Prior to installing the nrpe client onto the HP-UX
machines, prepare a generic nrpe.cfg file that can be copied onto and
subsequently modified on each workstation. Have it located in the shared
filesystem mentioned in the previous step. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>3. Copy the appropriate depot, plug-in, and generic
nrpe.cfg files to the /tmp directory of the workstation. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>4. At the workstation console, log in as root or a sudoer
account. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>5. Invoke SAM. The pathname to the binary is /usr/sbin/sam <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>6. Select the </span></font><b><font color=black face=Bold><span
style='font-family:Bold;color:black;font-weight:bold'>Software Management </span></font></b><font
color=black><span style='color:black'>option. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face=Bold><span style='font-size:12.0pt;font-family:Bold;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>7. Select </span></font><b><font color=black face=Bold><span
style='font-family:Bold;color:black;font-weight:bold'>Install Software to Local
Host </span></font></b><font color=black face=Bold><span style='font-family:
Bold;color:black'><o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>8. Change the </span></font><b><font color=black face=Bold><span
style='font-family:Bold;color:black;font-weight:bold'>Source Depot Type </span></font></b><font
color=black><span style='color:black'>to Local Directory. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l3 level1 lfo1'><![if !supportLists]><font size=3 color=black
face="OCIDKA+Arial"><span style='font-size:12.0pt;color:black'><span
style='mso-list:Ignore'><font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font color=black><span
style='color:black'>9. Under </span></font><b><font color=black face=Bold><span
style='font-family:Bold;color:black;font-weight:bold'>Source Depot Path</span></font></b><font
color=black><span style='color:black'>, provide the full pathname to the depot
file. For <o:p></o:p></span></font></p>
<font size=3 color=black face="OCIDKA+Arial"><span style='font-size:12.0pt;
font-family:OCIDKA+Arial;color:black'><br clear=all style='page-break-before:
always'>
</span></font>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt'>example, if the depot file is in the /tmp directory,
the pathname would be /tmp/nrpe-1.8-B.</span></font><font face=Italic><span
style='font-family:Italic'>versionnumber</span></font>.depot <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>10. Mark the depot for
installation. SAM will first conduct an analysis of the file. Any errors or
warnings should be corrected before proceeding. If there are no problems
reported, the nrpe client can be installed onto the system. The location of the
program will be <b><font face=Bold><span style='font-family:Bold;font-weight:
bold'>/opt/nrpe</span></font></b>. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>11. Change to the /opt/nrpe
directory and create the libexec directory using the mkdir command. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>12. Move the plugin’s gzip
file from the /tmp directory to libexec. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>13. Run the gzip and tar commands
to uncompress and extract the plugins. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>14. Copy the generic nrpe.cfg file
to the /opt/nrpe directory, and modify it to accommodate the configuration and
services of the HP workstation. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>15. Change to the /sbin/init.d
directory. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>16. Run the vi, or comparable,
text editor utility to create a file called nrpe. The file will have the
following text: <b><font face=Bold><span style='font-family:Bold;font-weight:
bold'>/opt/nrpe/bin/nrpe –c /opt/nrpe/nrpe.cfg –daemon </span></font></b>The
above command will have the nrpe client run as a daemon on the workstation. The
–c option has the binary file reference the nrpe.cfg file in the
directory shown above. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>17. Change the permissions of the
newly created file to read and execute for all users via the <b><font
face=Bold><span style='font-family:Bold;font-weight:bold'>chmod 555 nrpe </span></font></b>command
syntax. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>18. Change the ownership of the
/sbin/init.d/nrpe file to user bin, group bin via the <b><font face=Bold><span
style='font-family:Bold;font-weight:bold'>chown bin:bin nrpe </span></font></b>command.
<o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>19. Change to the /sbin/rc2.d
directory. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2'><![if !supportLists]><font size=3 face=Bold><span
style='font-size:12.0pt;font-family:Bold'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>20. Create a symbolic link to the
/sbin/init.d/nrpe file using the following command: <b><font face=Bold><span
style='font-family:Bold;font-weight:bold'>ln –s /sbin/init.d/nrpe S</span></font></b><b><font
face=BoldItalic><span style='font-family:BoldItalic;font-weight:bold'>numbe</span></font></b><b><font
face=Bold><span style='font-family:Bold;font-weight:bold'>rnrpe </span></font></b><font
face=Bold><span style='font-family:Bold'><o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify'><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'>The number that is used can
be anyone that is currently available. <o:p></o:p></span></font></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l0 level1 lfo3'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>21. Manually start the nrpe client
program using the script that was created in the /sbin/init.d directory. <o:p></o:p></p>
<p class=MsoBodyText style='margin-left:.5in;text-align:justify;text-indent:
-.25in;mso-list:l1 level1 lfo4'><![if !supportLists]><font size=3
face="OCIDKA+Arial"><span style='font-size:12.0pt'><span style='mso-list:Ignore'><font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]>22. Modify the appropriate files
on the Nagios server to accommodate the new client, and restart the application
as necessary. <o:p></o:p></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'><o:p> </o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'>I have added the required entries on
my linux server.<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'>I start the daemon on hp-ux machine-<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'><o:p> </o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'>$ /opt/nrpe/bin/nrpe -c
/opt/nrpe/nrpe.cfg -d<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'>$ netstat -a|grep nrpe<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'>tcp
0 0 *.nrpe
*.*
LISTEN<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'>$ ps -ef|grep nrpe<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'> nagios
21853 1 0 May 25
? 0:55 bin/nrpe -n -c nrpe.cfg
-d<o:p></o:p></span></font></p>
<p class=default><font size=3 color=black face="OCIDKA+Arial"><span
style='font-size:12.0pt;color:windowtext'> nagios
950 929 1 12:36:05 pts/ta 0:00 grep nrpe<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'>the logs show-<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>May 29 12:38:42 srirama nrpe[968]: Starting up daemon<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>May 29 12:38:42 srirama nrpe[968]: Listening for connections
on port 5666<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>May 29 12:38:42 srirama nrpe[968]: Allowing connections
from: 127.0.0.1,172.22.56.40<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'>Where 172.22.56.40 is the IP address of nagios server.<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'>But when I try to run nrpe on hp-ux machine I get the
following error-<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>$ /opt/nrpe/libexec/check_nrpe -H localhost<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>CHECK_NRPE: Received 0 bytes. Are we allowed to
connect to the 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'>On the server I get the error-<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>CHECK_NRPE: Received 0 bytes from daemon.check the remote server
logs for error messages.<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 tried whatever was possible but am unable to
configure hp-ux for nagios. Only the ping check is working. Nrpe is not
working,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Kindly 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'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
<br>
Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.