[Pkg-nagios-devel] package: nagios-nrpe-server 32 vs 64 bit?

johnnym johnnym at fnf.hu
Mon Jun 27 07:13:33 UTC 2011


Hi all!

At my workplace we are using nagios, nrpe monitoring. Mainly on x86_64 
arch, but there are some 32 bit systems too. We have found an 
interesting bug, that we beleive, has some connection with the 32bit 
nagios-nrpe-server package.

mtsearch:/var/cache/apt/archives# dpkg -I nagios-nrpe-server_2.5.1-3_i386.deb
  new debian package, version 2.0.
  size 33362 bytes: control archive= 1894 bytes.
      111 bytes,     4 lines      conffiles
      799 bytes,    20 lines      control
      822 bytes,    11 lines      md5sums
      356 bytes,    12 lines   *  postinst             #!/bin/sh
      184 bytes,     7 lines   *  postrm               #!/bin/sh
     1189 bytes,    54 lines   *  preinst              #!/bin/sh
      302 bytes,    11 lines   *  prerm                #!/bin/sh
  Package: nagios-nrpe-server
  Version: 2.5.1-3
  Section: net
  Priority: optional
  Architecture: i386
  Pre-Depends: adduser
  Depends: libc6 (>= 2.3.6-6), libssl0.9.8 (>= 0.9.8c-1), lsb-base (>= 3.0-3)
  Recommends: nagios-plugins | nagios-plugins-basic
  Conflicts: nagios-nrpe-doc
  Installed-Size: 160
  Maintainer: Debian Nagios Maintainer Group<pkg-nagios-devel at lists.alioth.debian.org>
  Source: nagios-nrpe
  Description: Nagios Remote Plugin Exectutor Server
   Nagios is a host/service/network monitoring and management system.
   .
   The purpose of this addon is to allow you to execute Nagios plugins on a
   remote host in as transparent a manner as possible.
   .
   This program runs as a background process on the remote host and processes
   command execution requests from the check_nrpe plugin on the Nagios host.


There is a script gives back 2 lines.

#!/bin/bash

echo alma
echo korte
exit


And the nrpe daemon configured to execute this on command /resolvconf/. 
If I execute (as nagios user) on the local machine (mtsearch) it gices 
back the 2 lines. But if I execute from a remote machine (nagios01a) it 
gives back only 1 line.

nagios at nagios01a:~$ /usr/lib/nagios/plugins/check_nrpe -n -H mtsearch -c resolvconf
alma
$

On all 32 bit debian machines the result is the same. Unfortunately we 
cannot use the amd64 package/binary. I am expecting, that 
compile/configure option(s) differs in the 2 packages (i686-amd64).

Best regards,
Balint Csikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20110627/db501ac8/attachment.html>


More information about the Pkg-nagios-devel mailing list