<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Success with minor issues: AIX 4.3, check_ldaps, Perl syntax</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">This probably doesn’t too many people, but I'm reporting it anyway in accordance with the note at </FONT><A HREF="http://nagiosplug.sourceforge.net/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://nagiosplug.sourceforge.net/</FONT></U></A><FONT SIZE=2 FACE="Arial">.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I successfully built nagios-plugins 1.4 on an AIX 4.3 machine using gcc 3.3 from Bull Freeware (for the archives: others with similar setups will also need gettext from Bull Freeware in order to get gcc to work, otherwise gcc will fail with something like "dependent module libintl.a(shr.o) could not be loaded").</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Most of the plugins built successfully. There were some minor issues:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">1) The generated Makefiles include -R/usr/local/lib </FONT>

<BR><FONT SIZE=2 FACE="Arial">   Workaround: vi `find . -name Makefile`, remove -R/usr/local/lib</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">2) The link check_ldaps->check_ldap was generated despite the fact that check_ldap itself wasn't built.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">3) The "use lib" line in many of the generated Perl scripts wasn't syntactically correct -- it read:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   use lib "/usr/local/nagios/libexec" /libexec</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   The line should probably have read:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   use lib "/usr/local/nagios/libexec", "/libexec";</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   Note the added quotes and semicolon. Since /libexec doesn't exist on this system anyways, I just edited the line to read:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">   use lib "/usr/local/nagios/libexec";</FONT>

<BR><FONT SIZE=2 FACE="Arial">   </FONT>

<BR><FONT SIZE=2 FACE="Arial">4) Line 50 of check_breeze reads:</FONT>

<BR><FONT SIZE=2 FACE="Arial">   $sig = `snmpgetuser/local/bin/snmpget</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   Based on the successfully built copy on my Red Hat machine, it should read (with possible path adjustments):</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   $sig = `/usr/bin/snmpget $host $opc_C .1.3.6.1.4.1.710.3.2.3.1.3.0`;</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">   Although since snmpget doesn't exist on this system the plugin should probably not have been build/installed at all.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">5) I had to make check_load setuid root. When run without root permissions, it returns '0 0 0' as the load average.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">These are easy to work around with rm and vi, so please consider this a report of success.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Chet</FONT>
</P>

</BODY>
</HTML>