<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all!<br>
<br>
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.<br>
<br>
<pre>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 <a class="moz-txt-link-rfc2396E" href="mailto:pkg-nagios-devel@lists.alioth.debian.org"><pkg-nagios-devel@lists.alioth.debian.org></a>
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.
</pre>
There is a script gives back 2 lines.<br>
<pre>#!/bin/bash
echo alma
echo korte
exit
</pre>
And the nrpe daemon configured to execute this on command <i>resolvconf</i>.
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.<br>
<br>
<pre>nagios@nagios01a:~$ /usr/lib/nagios/plugins/check_nrpe -n -H mtsearch -c resolvconf
alma
$
</pre>
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).<br>
<br>
Best regards,<br>
Balint Csikos<br>
</body>
</html>