[Nagiosplug-devel] Success with minor issues: AIX 4.3, check_ldaps, Perl syntax

Ton Voon tonvoon at mac.com
Wed Sep 14 05:49:03 CEST 2005


Chester,

I know this is terribly late, but thanks for your report. I've fixed  
(2). Not sure how to fix (1) - I'd be grateful for any ideas from  
anyone.

Not sure why (3) is happening. Unfortunately, I don't know enough  
about (4) to sort out.

For (5), I'd be interested in how coreutils does this (http:// 
www.gnu.org/software/coreutils/) because we use their routines to get  
the load average and I doubt if they insist on setuid root to allow  
this to happen.

Can I get access to an AIX server to test on?

1 out of 5 - pretty bad showing :(

Ton


On 4 Aug 2005, at 15:05, Hosey, Chester wrote:

> This probably doesn’t too many people, but I'm reporting it anyway  
> in accordance with the note at http://nagiosplug.sourceforge.net/.
>
> 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").
>
> Most of the plugins built successfully. There were some minor issues:
>
> 1) The generated Makefiles include -R/usr/local/lib
>    Workaround: vi `find . -name Makefile`, remove -R/usr/local/lib
>
> 2) The link check_ldaps->check_ldap was generated despite the fact  
> that check_ldap itself wasn't built.
>
> 3) The "use lib" line in many of the generated Perl scripts wasn't  
> syntactically correct -- it read:
>
>    use lib "/usr/local/nagios/libexec" /libexec
>
>    The line should probably have read:
>
>    use lib "/usr/local/nagios/libexec", "/libexec";
>
>    Note the added quotes and semicolon. Since /libexec doesn't  
> exist on this system anyways, I just edited the line to read:
>
>    use lib "/usr/local/nagios/libexec";
>
> 4) Line 50 of check_breeze reads:
>    $sig = `snmpgetuser/local/bin/snmpget
>
>    Based on the successfully built copy on my Red Hat machine, it  
> should read (with possible path adjustments):
>
>    $sig = `/usr/bin/snmpget $host $opc_C . 
> 1.3.6.1.4.1.710.3.2.3.1.3.0`;
>
>    Although since snmpget doesn't exist on this system the plugin  
> should probably not have been build/installed at all.
>
> 5) I had to make check_load setuid root. When run without root  
> permissions, it returns '0 0 0' as the load average.
>
> These are easy to work around with rm and vi, so please consider  
> this a report of success.
>
> Chet
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20050914/949c694d/attachment.html>


More information about the Devel mailing list