<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR><!--[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]-->
<STYLE>@font-face {
font-family: Verdana;
}
@font-face {
font-family: Century Gothic;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Comic Sans MS;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
P.TableStyle {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Verdana
}
LI.TableStyle {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Verdana
}
DIV.TableStyle {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Verdana
}
P.Myheading1 {
FONT-WEIGHT: bold; FONT-SIZE: 14pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Century Gothic"
}
LI.Myheading1 {
FONT-WEIGHT: bold; FONT-SIZE: 14pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Century Gothic"
}
DIV.Myheading1 {
FONT-WEIGHT: bold; FONT-SIZE: 14pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Century Gothic"
}
SPAN.EmailStyle20 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: "Comic Sans MS"; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle21 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
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 vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=516241721-25112005></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>O<SPAN class=516241721-25112005>kay
with this fixed I get the following</SPAN></FONT></FONT></FONT><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=516241721-25112005></SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=516241721-25112005></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT><FONT color=#ff0000 size=2><SPAN
class=516241721-25112005># /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/hd2<BR>INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (0.0) and
both should be between zero and 100 percent, inclusive for
/dev/hd2<BR>check_disk: Could not parse arguments<BR>Usage: check_disk -w limit
-c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v]
[-q]</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=516241721-25112005>Thanks
for any help you can provide,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=516241721-25112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=516241721-25112005>Daniel</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Daniel Jimenez <BR><B>Sent:</B> Friday,
November 25, 2005 3:06 PM<BR><B>To:</B> Ayotunde Itayemi;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users] nrpe
ver. 2 on AIX 5.2<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=974100521-25112005></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>A<SPAN class=974100521-25112005>hh a
quick google showed me that I need to run on CVS for this issue to be
repaired.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=974100521-25112005></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=974100521-25112005>Thanks!</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=974100521-25112005>Daniel</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Daniel Jimenez <BR><B>Sent:</B> Friday,
November 25, 2005 12:48 PM<BR><B>To:</B> Ayotunde Itayemi;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users] nrpe
ver. 2 on AIX 5.2<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=489304618-25112005>I'm trying to compile the Nagios plugins. I get the
following on both the stable and the alpha versions during
make:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=489304618-25112005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#ff0000 size=2><SPAN
class=489304618-25112005>Making all in
plugins<BR> if gcc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../lib -I../intl -g -O2 -MT check_disk.o
-MD -MP -MF ".deps/check_disk.Tpo" -c -o check_disk.o `test -f
'check_disk.c' || echo './'`check_disk.c; then mv -f
".deps/check_disk.Tpo" ".deps/check_disk.Po"; else rm -f
".deps/check_disk.Tpo"; exit 1;
fi<BR> if gcc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../lib -I../intl -g -O2 -MT utils.o -MD
-MP -MF ".deps/utils.Tpo" -c -o utils.o `test -f 'utils.c' || echo
'./'`utils.c; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm
-f ".deps/utils.Tpo"; exit 1;
fi<BR> if gcc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../lib -I../intl -g -O2 -MT popen.o -MD
-MP -MF ".deps/popen.Tpo" -c -o popen.o `test -f 'popen.c' || echo
'./'`popen.c; then mv -f ".deps/popen.Tpo" ".deps/popen.Po"; else rm
-f ".deps/popen.Tpo"; exit 1;
fi<BR> gcc -g -O2 -L. -o
check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o
../intl/libintl.a -liconv <BR>ld: 0711-317 ERROR: Undefined symbol:
.VA_COPY<BR>ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.<BR>collect2: ld returned 8 exit status<BR>make: 1254-004 The error
code from the last command is 1.</SPAN></FONT></DIV>
<DIV><FONT color=#ff0000></FONT> </DIV><FONT size=+0><SPAN
class=489304618-25112005>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#ff0000 size=2>Stop.<BR>make:
1254-004 The error code from the last command is 1.</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT> </DIV>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#ff0000 size=2>Stop.<BR>make:
1254-004 The error code from the last command is 2.</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT> </DIV>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#ff0000
size=2>Stop.</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#ff0000
size=2></FONT> </DIV>
<DIV dir=ltr align=left></SPAN></FONT><SPAN class=489304618-25112005><FONT
face=Arial color=#ff0000 size=2>Any ideas?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=489304618-25112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=489304618-25112005><FONT face=Arial
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=489304618-25112005><FONT face=Arial
color=#0000ff size=2>Daniel</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ayotunde Itayemi
[mailto:aitayemi@vmobile-nigeria.com] <BR><B>Sent:</B> Friday, November 04, 2005
2:40 PM<BR><B>To:</B> Rudy Montemayor;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users] nrpe
ver. 2 on AIX 5.2<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Did you compile it
yourself?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I was getting the same
message yesterday and for the life of me I can’t remember how I solved
it.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">But let me just take
you through my compile<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Running as user/group
nagios/nagios<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I installed under
/nagios but you can modify to suit yourself<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">installing NRPE and
nagios plugin (without ssl)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">extract nrpe archive
nrpe-2.0b4.tar.gz<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">gunzip
nrpe-2.0b4.tar.gz<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">tar -xvf
nrpe-2.0b4.tar<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">cd
nrpe-2.0b4<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">install NRPE
by:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">./configure
--enable-command-args --disable-ssl<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">make
all<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">mkdir -p
/nagios/sbin<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">cp src/nrpe
src/check_nrpe /nagios/sbin<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">mkdir -p
/nagios/etc<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">cp -p nrpe.cfg
/nagios/etc/<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">edit nrpe.cfg as
required<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Installing NAGIOS
plugins<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">-------------------------------------<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Unarchive
nagios-plugins-HEAD-200510261647.tar.gz<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">gunzip
nagios-plugins-HEAD-200510261647.tar.gz<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">tar -xvf
nagios-plugins-HEAD-200510261647.tar<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">cd
nagios-plugins-HEAD-200510261647<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">./configure
--without-ssl<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">make<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">copy all executables to
your preferred directory e.g., /nagios/libexec<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">cd
plugins<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">find ./ -type f –perm
644 -exec cp {} /nagios/libexec \;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">start nrpe with command
similar to<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">/nagios/sbin/nrpe -d -c
/nagios/etc/nrpe.cfg<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">You may have to edit
nrpe.cfg especially if running it standalone<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">allowed_hosts=127.0.0.1,ip-address-of-other-hosts-that-will-talk-to-nrpe<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Sample commands that
you may put in your nrpe.cfg to test with<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_disk1]=/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd4<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_disk2]=/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd2<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_disk3]=/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd9var<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_disk4]=/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd3<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_disk5]=/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd1<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_disk6]=/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd10opt<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_users]=/nagios/libexec/check_users
-w 5 -c 10<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_load]=/nagios/libexec/check_load
-w 15,10,5 -c 30,25,20<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_zombie_procs]=/nagios/libexec/check_procs
-w 5 -c 10 -s Z<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">command[check_total_procs]=/nagios/libexec/check_procs
-w 150 -c 200<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">(remember to restart
nrpe if you edit its config file)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Test from the command
line after starting nrpe (you should get replies):<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">/nagios/libexec/check_disk
-w 20 -c 10 -p /dev/hd4<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">/nagios/libexec/check_load
-w 15,10,5 -c 30,25,20<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Let me know if there
are any issues. Wrote all these in a hurry :-)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Rudy Montemayor<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 04 November 2005 18:20<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B>
nagios-users@lists.sourceforge.net<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [Nagios-users] nrpe ver. 2 on AIX
5.2</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">I have Nagios and nrpe
running on both HP and Sun systems; however I can not get the nrpe daemon on AIX
to work at all. Here is a little info on what I’m
using:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">AIX oslevel
5.2.0.0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">NRPE Version:
2.0b5<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">On AIX
system:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">netstat -a | grep
5666<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">tcp4
0 0
*.5666
*.*
LISTEN<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">When I try the check_nrpe from my HP system where I have
Nagios running to the AIX system I get the
following:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">I have nrpe ruuning as a standalone daemon on the AIX
system:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">ps -ef | grep nrpe<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> www
258078 1 0
10:39:44 - 0:00
/usr/local/nagios/nrpe-2.0/bin/nrpe.old -c /usr/local/nagios/nrpe-2.0/nrpe.cfg
–d<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Any help to get this going would be appreciated.
Thanks.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P><FONT face="Comic Sans MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">Rudy Montemayor <BR>Sr.
Unix System Admin <BR>Hunt Oil Company
<BR>214-978-8357</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>